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.211s
<1234567…34>
  • 140 characters Basic game contestHey there, I've announced a new micro contest on my blog (in Czech language only). However, it might be interesting also for the non-Czech/Slovak …

    ... "]Dunno if this fits the criteria.

    1 LET B=0

    7 IF SCREEN$ ()="O" THEN STOP
    [/quote]

    0). If you collide with one of the O's then you ... AT 20,RND*30;"O"''': IF SCREEN$(0,B)"O" THEN GO TO 2[/code]
    leespoons leespoons June 2016 Sinclair Basic
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... />
    1 BORDER 1: PAPER 0: INK 7: CLS : LET h ... =15: LET s=0: POKE 23692,-1: FOR t ... " AND h0): IF SCREEN$ (0,h)"*" THEN PRINT INK 4;AT 0,h;"V": BEEP ...
    wilko0070 wilko0070 July 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... />
    1 BORDER 1: PAPER 0: INK 7: CLS : LET h ... =15: LET s=0: POKE 23692,-1: FOR t ... " AND h0): IF SCREEN$ (0,h)"*" THEN PRINT INK 4;AT 0,h;"V": BEEP ... ; FLASH 1; INK 4;AT 0,h;"V": PRINT AT 1 ...
    wilko0070 wilko0070 July 2007 Development
  • Anybody fancy coding this?blah de blah de blah Please ignore, poting error.

    ... set the org low in screen RAM, but lower would be ... b = 0 to 255 :rem setup loop2
    poke a, b
    if peek ... a b then print “Error at “; a ... :rem display error address, if ...
    DEATH DEATH March 2007 Development
  • New Game and HelloHi All, Long, long time lurker and contributor (hardware index, PiMan files etc..) but having been quiet for a few years I thought I might register. …

    ... /> [code]
    IF TYPE 1 ; horizontal baddies
    IF SCREEN = 0
    LET DIRECTION ... too. You can then use A and B to store the co ... the screen or whatever ;)

    Your baddies movement routine would then ...
    mulder mulder April 2010 Development
  • Type-in BASIC contest on Reddit.Not sure how WOS-legal it is to mention/link to other forums, but Reddit is having a contest on r/retrobattlestations, asking readers to type a speci…

    ... REM ----
    200 REM Clear screen and setup variables
    210 ... ,LEN p$): LET d$(0+1)=p$: LET b$=e$: LET bc ... =y+y(i): LET p$=b$: GO SUB 2010
    710 ... wx=-2
    760 IF wx>=0 THEN LET p$=x$: LET ... +sb-1
    2030 IF se=0 THEN LET se=LEN p$+1 ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Pixel level collision detection[SIZE=3][FONT=Calibri]I need to do some pixel level collision detection. Assuming I have a byte of my ?player? sprite in DE and a byte of screen to t…

    ... empty background. If it collides with another object then the sprite becomes ... disappear as [B]1 XOR 1=0[/B].

    -then I read sprite ... graphics on screen. If XOR and OR methods give different result then the ...
    Ralf Ralf November 2014 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... jr nz,nxt_block ;if not 0-7 then skip to next
    ld b,(hl) ;B=left mask
    ... ld d,a ;DE = stored screen address
    mlp1:
    ... ;get byte
    and b ;mask LHS
    ex ...
    Arkannoyed Arkannoyed November 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... jr nz,nxt_block ;if not 0-7 then skip to next
    inc b
    tst_l0:
    sll ... d,a ;DE = stored screen address
    mlp1:
    ... ;get byte
    and b ;mask LHS
    ex ...
    Arkannoyed Arkannoyed November 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... jr nz,nxt_block ;if not 0-7 then skip to next
    ld b,a
    inc b
    ld a, ... ;get byte
    and b ;mask LHS
    ex ... 7,d ;point DE to screen

    ld ...
    Arkannoyed Arkannoyed November 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... table
    ;fade in the screen display file
    ;
    if not 0-7 then skip to next

    ld b,(hl) ;counter in B
    mask_l:
    ... ;get byte
    and b ;mask LHS
    ex ...
    Arkannoyed Arkannoyed December 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... 48960 just below the stored screen
    ;stored picture must ... jr nz,nxt_block ;if not 0-7 then skip to next
    ld b,h ;B=left hand mask
    and b ;mask LHS
    ex ...
    Arkannoyed Arkannoyed December 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... jr nz,nxt_block ;if not 0-7 then skip to next
    ld b,h ;B=left hand mask
    and b ;mask LHS
    ex ... 7,d ;point DE to screen

    ld ...
    Arkannoyed Arkannoyed December 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... 48960 just below the stored screen
    ;stored picture must ... jr nz,nxt_block ;if not 0-7 then skip to next

    ld b,h ;B=left hand mask
    ... ;get byte
    and b ;mask LHS
    ex ...
    Arkannoyed Arkannoyed December 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... 48960 just below the stored screen
    ;stored picture must ... jr nz,nxt_block ;if not 0-7 then skip to next

    ld b,h ;B=left hand mask
    ... br /> ld h,b
    ld b,c
    jr ...
    Arkannoyed Arkannoyed December 2017 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... a,(de) ;get byte from SCReen buffer
    a2s_b:
    ... a,(de) ;get SCReen buffer byte
    and b ;mask
    sla ... /> jr c,a2s_addr ;if ='1' then loop again, if '0' then we're finished
    Arkannoyed Arkannoyed August 2018 Development
  • Evaluation of IF?I am wondering how the "run-time compiler" (i.e. running the basic program) does evaluate IF statements, that is: does the statement get checked firs…

    ... the basic program) does evaluate IF statements, that is: does ... get checked first and if true the rest of ... if a=0?

    [B]IF a=1 THEN something
    IF a=1 THEN ... something: something more[/B]
    Rickard Rickard May 2007 Sinclair Basic
  • How to write a simple BASIC* horizontal scrolling game (Tutorial) [b]How to write a simple BASIC* horizontal scrolling game[/b] In this tutorial, we will be talking about how to write a simple BASIC* horizont…

    ... />


    [b]B) Adding a player[/b]

    First, we ... />
    [code]
    700 IF SCREEN$ (y,4)="*" THEN STOP
    [/code]
    200 PRINT AT 21,0;"score : ";s;
    300 PRINT ...
    Timmy Timmy September 2020 Development
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    ... Leave some space for shadow screen buffer
    20 GO SUB ... pattern
    310 IF RND>0.8 THEN GO TO 370
    0}";a$
    9030 IF a$="" THEN CLS: RETURN
    9100 LET s=0
    9110 IF s$(1)>="0" AND s ...
    Volker Volker February 2021 Software
  • Question about CP Z80 instructionSorry if this is the wrong folder, but it seems the most appropriate. When performing a CP instruction, is the P flag set when the compared values …

    ... ; If ab then ...
    Z => If a=b then ...
    NC => If a>b then ... ...
    C => If a If ... a>=b then ...
    cyborg cyborg March 2003 Emulators
  • ADCI'm a little confused about how the Z80 manages the ADC instruction. I'm assuming two ADD instructions are performed (am I wrong?!) I can think of 3 …

    ... carry is either 0 or 1. Obviously if A + B + Carry > ... ; 255 carry remains set. If A = 0, B = 0 and ... Carry = 1 then ... ADC A,B leaves A ...
    cyborg cyborg February 2005 Development
  • Problem with loopingHi all, I'm looking for a way to code a loop into my program and then allow the computer to come out of that loop by itself. Is such a thing possibl…

    ... loop into my program and then allow the computer to come ... "what is the [B][I]condition[/I][/B] that makes the computer ... PRINT ".";
    20 IF RND < 0.01 THEN GO TO 100
    B][I]condition[/I][/B] that makes the computer ...
    BloodBaz BloodBaz August 2009 Sinclair Basic
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    You could, if all else fails, use CAT to look for the file...
    [code]
    CLS
    CAT "filename"
    IF SCREEN$(0,1) "o" THEN PRINT "Found."
    [/code]
    John Elliott John Elliott May 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    [B]STEP 3 -[/B] Now let's take a ... /> [CODE]
    QUICKSORT(a,b) {
    v=PARTITION(a,b)
    IF a
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ... it seem so implausible then to have a routine ... A & B
    2 ) If A=0 & B=0 Then Stop, ELSE...
    then mirrored into another grid matrix ... resulting two grids are then merged to produce the ... UDG...
    8 ) If B>0 Then Go To Step 4, ...
    kgmcneil kgmcneil October 2011 Development
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    ... LET WON=0: LET DEAD=0
    1089 REM set up screen with ... a \` note target on the screen$
    1100 GO SUB status ... .
    1150 IF DEAD THEN LET WORMS=WORMS-1: IF WORMS0 THEN GO TO ... /> 1189 REM remove target from screen and update score line.
    wibble wibble August 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... a ; and
    ld b, a ; then
    call stk_store ; put ... br /> dec a ; if A 0
    rla ; then
    sbc a, ... 0, b ; even pass through loop?
    jr z, pf_all_9 ; jump if ... digits
    ld a, b ; B to A
    cp 9 ...
    chev chev October 2013 Development
  • Double-Buffer ScreenFor my Alien Breed Speccy re-write I decided to use a Double Buffer (DB) or 'Back Screen' to draw all the game action onto, before shuffling the whol…

    ... 128, always treating the screen memory as being at $ ... always ensuring that the screen that's on display is ... ram at $C000 (ie. if screen 0 is on display, ram 7 ... be paged into $C000; if screen 1 is on display, ram ... the screen bit (bit 3) on port $7FFD. It's then ...
    Marko Marko April 2014 Development
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... den>9):
    IF den THEN LET den=INT (65536*den ... AT 0,0;"Generation: ";gen'p$:
    LET bc=USR GenPG: IF INKEY$=" " THEN ... /> 20 IF den THEN GO TO 29
    21 PRINT AT 0,0;"move ... SPC; done:ENT": PAUSE 0:
    PRINT AT 0,0; PAPER 1,,: LET ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
if 215.2K 333.5K
screen 45.8K 73.8K
0 940.2K 1M
b 55.2K 190K
then 118.7K 165.3K

Related Threads

  • ANNOUNCE: Fuse 0.6.1, libspectrum 0.2.0, fuse-utils 0.6.1I'm pleased to announce the release of the Free Unix Spectrum Emulator (Fuse) 0.6.1, which is now available from its [url="http://www.srcf.ucam.org/~…
  • Fuse 0.5.1 and libspectrum 0.1.0 releasedVersion 0.5.1 of Fuse, the Free Unix Spectrum Emulator, is now available from its homepage, [url="http://www.srcf.ucam.org/~pak21/spectrum/fuse.html"…
  • ANNOUNCE: Fuse 0.6.1.1, libspectrum 0.2.0.1Hi all.<br /> <br /> The recently released Fuse 0.6.1 and libspectrum 0.2.0 contained a couple of moderately serious bugs:<br /> <br /> * The SVGAlib…
  • Release candidates for Fuse 0.7.0 and libspectrum 0.2.2Hi all.<br /> <br /> Release candidates for [url="http://fuse-emulator.sourceforge.net/fuse-0.7.0pre1.tar.gz"]Fuse 0.7.0[/url] (and [url="http://fuse…
  • (Belated) ANNOUNCE: Fuse 0.7.0 and libspectrum 0.2.2 releasedThe Fuse team is pleased to announce that release of Fuse 0.7.0, the associated utilities and version 0.2.2 of the Spectrum emulator support library,…
  • ANNOUNCE: Fuse 0.6.0 and friendsThe Fuse team announce the release of version 0.6.0 of Fuse, along with version 0.6.0 of the Fuse utilities and version 0.1.1 of libspectrum, the Spe…
  • ANNOUNCE: Fuse 0.6.0 for Mac OS XHot on the heels of the UNIX release of Fuse 0.6.0, the native Mac OS X port is now released.<br /> <br /> It has all the great features of Fuse 0.6.…
  • ANNOUNCE: Fuse 0.6.0.1 (security fix)Fuse 0.6.0 has been found to contain a small security hole in the TRDOS disk handling code. Due to multiple race conditions, it is (in theory) possib…
  • ANNOUNCE: Fuse For Mac OS X 0.6.0.1 (security fix)The Mac OS X version of the Fuse 0.6.0.1 security patch release is complete and should be available shortly from WoS and the Fuse homepage:<br /> <br…
  • ANNOUNCE: Manic Miner Screen Editor 1.0.1I have just released a minor new version of my Manic Miner Screen Editor. It no longer allows the user to specify an amount of air which causes the S…

Related Searches

  • screen breaks if
  • screen if
  • if then colon basic
  • if now sysdate sleep 6 0 xor or
  • if now sysdate sleep 4 0 xor or
  • if now sysdate sleep 0 xor or
  • if now sysdate sleep 15 0 xor or
  • if now sysdate sleep 10 0 xor or
  • if now sysdate sleep 14 0 xor or
  • if now sysdate sleep 8 0 xor or
  • if now sysdate sleep 27 0 xor or
  • if now sysdate sleep 18 0 xor or
  • if now sysdate sleep 30 0 xor or
  • if now sysdate sleep 22 0 xor or
  • if now sysdate sleep 7 0 xor or
  • if now sysdate sleep 36 0 xor or
  • if now sysdate sleep 39 0 xor or
  • if now sysdate sleep 21 0 xor or
  • if now sysdate sleep 48 0 xor or
  • if now sysdate sleep 17 0 xor or

Copyright © 2024 World of Spectrum