World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.013s
<1…15161718192021…34>
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... do something".

    The line:
    [code]
    PRINT #2 ... 'd want to use an INT operator around the RND functions ... ]nearest[/i] whole number; while INT always rounds [i]towards zero ...
    GReW GReW October 2016 Sinclair Basic
  • So where is the random number in the Speccy ?So I am messing around with ZX Spectrum Assembler and I want a random number. I looked up previous posts and one of the links said that random number…

    ... ;53626"]So there's a line in the listing says
    INT routine in the BASIC interpreter ...
    GReW GReW November 2016 Assembler
  • how to load machine codeI'm reading Jon Caldwell's how to write Spectrum games but can't enter the code! Here's an example:_ LD BC, (score) Call 6683 I tried putting…

    ... very much a throw-away line of "There is no assembler ... "}
    4 LET A$=A$(INT PI TO )
    5 GOTO ...
    GReW GReW November 2016 Sinclair Miscellaneous
  • Any interest in this?So before I went back to AGD I was working on this: [img]https://s21.postimg.org/4mljnbf1j/Image2.png[/img] It's a new editor for SpecBAS. Allo…

    ... /> next f
    60 a=INT(POLAR(MOUSEy-s(1,2 ...
    ASH-II ASH-II November 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... FN r(N): LET Z=INT (rv*R+N): LET i ... references to 'Z' in this line should be 'k'.

    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • Database model ZXDBRecently, I have been trying to figure out how to provide my contribution to whoever takes over WoS archive rework next... So I came up with this: …

    ... -replace '(?\w+)\s+(?\w+)?int\((?\w+)\)\s*(?unsigned)?\s+','${name ... } ${type}int '

    # ... *\(.*\)),')
    {
    $text = $Matches['line'] + '; -- reached insert limit'
    ...
    AndyC AndyC February 2017 Announcements
  • Database model ZXDBRecently, I have been trying to figure out how to provide my contribution to whoever takes over WoS archive rework next... So I came up with this: …

    ... br /> line = line.replace(r"\'","''")
    # change collation
    line = line.replace(' ... an integer
    line = re.sub('int\s*\(\d+\)\s+unsigned ... ','INTEGER',line, flags=re ...
    AndyC AndyC February 2017 Announcements
  • ZX Spectrum border and sound problemAfter recap stange problem with ZX Spectrum (issue 3b) with sound and border. See video at: https://drive.google.com/file/d/0BwhYHKW6xjI-aVdMcEY4ajVk…

    ... between the Z80 CPU /INT circuit and another line. Very carefully visually ...
    1024MAK 1024MAK March 2017 Hardware
  • im looking for a horizontal scroll routinehi, im looking for a horizontal scroll routine. i read somewhere that you can do it with at 'to' statement, somewhere in a print routine. althoug…

    ... /> LET r=CODE a$(560)+INT (RND*3)-1: LET r ... can be disabled by changing line 41 to "GO TO 30 ...
    Battle Bunny Battle Bunny June 2017 Sinclair Basic
  • Beginner's z88dk help rqdI'm struggling to get my first z88dk C program to compile. My program is this: #include <spectrum.h> int main() { zx_border(INK_BLACK); } …

    ... /> int main()
    {
    zx_border(INK_BLACK);
    }

    What compile line ... first.bin" since that compile line is going to generate a ... of some of the command line switches.
    Alcoholics Anonymous Alcoholics Anonymous June 2017 Development
  • Finished with my dice rolling programTook me all day but I'm rather proud of it, simple though it is. Its up at Dropbox if anyones interested https://www.dropbox.com/s/qdgtfc0zyy94hxm…

    ... "10*FN b(INT (a/2))+" in line 2
    to ("10 ... /2))+")
    * change "BIN" in line 40
    to CHR$ 196 ... DEF FN b(a)=(a-INT (a/2)*2)+VAL (("10 ... *FN b(INT (a/2))+" AND a)+("0 ...
    Battle Bunny Battle Bunny July 2017 BASIC
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ... "10*FN b(INT (a/2))+" in line 2
    to ("10 ... /2))+")
    * change "BIN" in line 40
    to CHR$ 196 ... DEF FN b(a)=(a-INT (a/2)*2)+VAL (("10 ... *FN b(INT (a/2))+" AND a)+("0 ...
    Battle Bunny Battle Bunny July 2017 BASIC
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ... $ c instead of c in line 60 and check the clue ... +x
    30 POKE 23681, INT (f/256)
    40 POKE ... 23680, f-256*INT (f/256)
    50 LPRINT ...
    IvanBasic IvanBasic July 2017 BASIC
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ... $ c instead of c in line 60 and check the clue ... +x
    30 POKE 23681, INT (f/256)
    40 POKE ... 23680, f-256*INT (f/256)
    50 LPRINT ...
    ivanb303 ivanb303 July 2017 BASIC
  • z88dk terminalsto set up a terminal a bunch of numbers are needed: m4_zx_01_output_fzx(_window_1, 0x2330, 0, 0, 1, 14, 1, 19, 0, _ff_ao_Prefect, 14, 0, 14, 8, 1…

    ... br /> {
    static int fd;
    static struct r_Rect16 ... *font;
    static unsigned int width;

    ... unsigned char *p;
    unsigned int len;

    // ... you may see weird line breaks. I am ...
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Development
  • z88dk terminalsto set up a terminal a bunch of numbers are needed: m4_zx_01_output_fzx(_window_1, 0x2330, 0, 0, 1, 14, 1, 19, 0, _ff_ao_Prefect, 14, 0, 14, 8, 1…

    ... br /> {
    static int fd;
    static struct r_Rect16 ... *font;
    static unsigned int width;

    ... unsigned char *p;
    unsigned int len;

    // ... a portion of a line is printed, any trailing ...
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Development
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... from basic with a command line. A zx7 compressor as ... esxdos error report

    int error(char *fmt, ...)
    {< ...
    return (int)ebuf;
    }

    int main(int argc, char **argv ... /7.0f); // get an int from 0 to 7 for ...
    Alcoholics Anonymous Alcoholics Anonymous August 2017 Brand new software
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    The C equivalent, using Z88DK, would be this:

    [code]/* zcc +zx -vn -lndos plots.c -o plots -create-app */

    #include

    int main()
    {
    register unsigned char i;

    for(i=1; i
    thricenightly thricenightly August 2017 Development
  • SkoolKit 6.0SkoolKit 6.0 has been released. SkoolKit is a set of command line utilities for disassembling Spectrum software, into assembler-friendly ASM forma…

    ... words : FOR, NEXT, SIN, EXP, INT etc, and need qualifying with ... the writer by tracking each line, and that would allow me ...
    colonel32 colonel32 September 2017 Announcements
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... /> #include
    #include

    int main()
    {
    unsigned char ... away the data at each line and replace with 0xFF. */
    thricenightly thricenightly September 2017 Development
  • Is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of fileHi, is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of file. E.g.: I have a Tape-Code-File Start f…

    ... v: POKE stack+a,v-INT (v/256)*256: POKE stack ... +a+1,INT (v/256):
    NEXT a ...
    Battle Bunny Battle Bunny October 2017 Sinclair Basic
  • ZX Spectrum +3 repairI have my first +3 here, and it needs repairs. Hoping someone here can help me out. When I power it on I get this screen with black and white line…

    ... state of the HALT, WAIT, INT, NMI Z80 inputs?
    Are ... there any address or data line permanently low or high?
    1024MAK 1024MAK October 2017 Hardware
  • BREAK key on 128k SpectrumWhat happens when BREAK is pressed on a 128k Spectrum? Why is it different from what happens on a 48k Spectrum. Is there a way to disable it or to …

    ... "INT (v/256)":
    DEF FN c()=FN p(23621): REM line ...
    Battle Bunny Battle Bunny February 2018 Sinclair Basic
  • Is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of fileHi, is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of file. E.g.: I have a Tape-Code-File Start f…

    [quote="Battle Bunny;924039"]Line 30 restores the normal error ... ´t continue "behind line 30".

    In Line 4 I set ... v: POKE stack+a,v-INT (v/256)*256: POKE stack ... +a+1,INT (v/256): NEXT a: DATA ...
    Luzie Luzie March 2018 Sinclair Basic
  • Need Some Basic HelpHi all, I’ve decided to give programming in Spectrum Basic a go again (bit of nostalgia trip!) and I’m trying to develop a CYOA style game. How…

    ... -240] ";rows: LET rows=ABS INT rows:
    IF rows> ... -";(hirow);"] ";arow: LET arow=ABS INT arow:
    IF arow> ... -240] ";arow: LET arow=ABS INT arow:
    IF arow> ... LET rows=1: INPUT (arow)' LINE m$:
    IF m$(1 ...
    Battle Bunny Battle Bunny April 2018 Sinclair Basic
  • Loading Images/Screens mid-gameHi all, Looking to get back into a bit of coding and I couldn't figure out a way to do the following: I have an image/SCREEN that I'd like to b…

    ... the start of the program (line 93 both resets 'c' (when ... the first statement on a line; otherwise, minimise the number of ... tZ
    2007 LET s8=INT (r/8)*8: POKE d4 ...
    Battle Bunny Battle Bunny April 2018 Sinclair Basic
  • Loading Images/Screens mid-gameHi all, Looking to get back into a bit of coding and I couldn't figure out a way to do the following: I have an image/SCREEN that I'd like to b…

    ... so (2.2 seconds for line 93).
    [code]
    93 ... 8:
    2007 LET s8=INT (r/8)*8: POKE d4 ...
    Battle Bunny Battle Bunny April 2018 Sinclair Basic
<1…15161718192021…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
int 2.2K 6K
line 19.4K 33.7K

Related Threads

  • SpecBAS INT function vs Spectrum INT functionDunny's SpecOS (SpecBas) vs Normal Spectrum Basic.<br /> <br /> INT function<br /> <br /> The Spectrum rounds -ve INT values down (e.g. INT -2.2 = -3…
  • Utility to create long REM Line for storing M/C program - Maximum BASIC Line LengthHi,<br /> <br /> I think there was a Utlity or Toolkit to create a long REM-Line under 48k BASIC<br /> to store some MCode in it. <br /> <br /> …
  • Line - a one line arcade gameHi,<br /> <br /> I have published Line, a game written in a single line of BASIC. Thanks to Einar Saukas for additional optimisations, suggestions,…
  • Are line numbers considered the first statement in the line?I'm trying to understand how BASIC variables are stored in memory using the BASIC Programming manual and am puzzled by the results of the control var…
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • On-line magazineswell we've got all crash scans online thanks to Mort, WoS and others. YS has a great site in YSRNRY. There is Crash online and Sinclair User online t…
  • On-line chatY'know, I've noticed on many occasions in the chat logs that when an anonymous person enters the chatroom, it's always presumed to be me! Why is that…
  • Printing at line 22...The last legal line in BASIC is line 21. Using Print #0 allows you to print on line 23, but how does one get access to line 22? Anyone?
  • How can I scroll a line of text and wrap perfectlyI know this is easy for most of you but for some reason I am messing it up.<br /> <br /> In Assembly Language I want to do the following:<br /> <br /…

Related Searches

  • betadisk rom line
  • scroll line
  • edit line
  • save line
  • draw line
  • delete line
  • remove line 128
  • line in
  • line draw
  • int test
  • scroll screen down one line
  • poke 24 line
  • fill screen line at a time
  • plot a straight line
  • fill a line
  • print one line
  • bad address line 0
  • spin assembler command line
  • pixel line
  • line

Copyright © 2024 World of Spectrum