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.014s
<1…14151617181920…34>
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... variables, and can keep growing until it fills the memory.

    Note that your FOR loop runs to one too many ...
    joefish joefish September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... a FOR-NEXT loop. It simply repeats itself until BC counts down ...
    joefish joefish September 2016 Sinclair Basic
  • Calculate if two segments cross in assemblerHello, Im developing a little game and I need something that I cant archieve. I have two lines (segment of a line). Line one: X11=coord X of …

    ... where distance d < D. Loop until they are the same point ... be only 4 or 5 loop iterations to find a crossing ...
    tstih tstih September 2016 Development
  • New next door neighboursWell, the my Polish neighbours left last month and the flat downstairs has been empty. New neighbours moved in yesterday, a young couple. Spoke to …

    ... don't think anyone understands until they find themselves in the ... "Shaddapayerface" playing full blast on loop for a couple of weeks ...
    briscaF1 briscaF1 October 2016 Chit chat
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    ... /> In your code, in the loop you push HL 100 hundred ... if you stick to it until you understand it fully.
    Ralf Ralf November 2016 Assembler
  • bizarre error on a grey ZX Spectrum+2 - the long search for a small problemHi, I got a ZX Spectrum+2 that worked a bit but crashed while loading or running 128k games. I installed a 128k-test-ROM that told me about RAM fa…

    ... problems in the voltage controll loop of the 12V line.
    until now) obviously only one program ...
    ingo ingo November 2016 Hardware
  • Interrupt routineI have been trying to create an interrupt routine for playing AY music in the background but cant seem to get anything working. I have a music rou…

    ... functionality in your main program loop. (Note that EI immediately followed ... of EI is actually delayed until the following instruction occurs).
    joefish joefish November 2016 Development
  • 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…

    ... setting up a for/next loop incrementing POKE's from the ... aspect of programming by myself until I can make sense of ...
    mik3d3nch mik3d3nch December 2016 Sinclair Miscellaneous
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... just playing using the sidSynth loop until an interrupt occurs? So you ...
    Alcoholics Anonymous Alcoholics Anonymous February 2017 Announcements
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... just playing using the sidSynth loop until an interrupt occurs? So you ...
    Geco Geco February 2017 Announcements
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... a counter in the inner loop to execute it a fixed ... data
    - (and so on until it's fully done)
    Hikaru Hikaru February 2017 Announcements
  • Jump AlgorithmAfternoon all, trying my hand at a liitle basic coding ( it's a quiet work day :) ) and wondered if anyone has coded a platformer type jumping routin…

    ...
    handle_horizontal_motion
    redraw_sprites
    LOOP UNTIL landed
    [/code]

    GReW GReW March 2017 Sinclair Basic
  • Why don't the variables print where I told them too?I wrote the following program to experiment with creating sounds using 3 notes of BEEP and having the ability to change the notes up or down one at a…

    ... would have to press "S" until it drops below 100 to ... incremented by "1" and will loop back to "0" when it ...
    ASH-II ASH-II May 2017 BASIC
  • How much can you get into 48k?Todays experiment was to see how long, how much text, a PRINT statement will hold. I filled it up with * and counted them and got 689 chrs. Almost 22…

    ... remains L=0. The NEXT loop ends when the control variable ... , and more lines are printed... until something happens... ; )
    IvanBasic IvanBasic June 2017 BASIC
  • I live and learnThanks to Einar's ZXDB link I found under the Books folder and English sub directory a PDF file named 'The Century Computer Programming Course for Z…

    ... , or perhaps you can loop endlessly until the user enters a special ...
    Arjun Arjun June 2017 BASIC
  • 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…

    ... ; shuffle along
    DJNZ loop170 ; loop B until zero

    ; B ... ; recall counter
    DJNZ blipscreen ; loop
    RET ; done and dusted ...
    MatGubbins MatGubbins August 2017 Development
  • Need help from people with a +2A/+3Started a topic [url="https://www.worldofspectrum.org/forums/discussion/55141/need-help-from-people-with-a-2a-3"]here[/url] to get a broader reach, b…

    ... and continue being triggered [u]until[/u] they reach the screen ... it’s a fixed-length loop.)
    Ast_A_Moore Ast_A_Moore September 2017 Development
  • Need help from people with a +2A/+3Started a topic [url="https://www.worldofspectrum.org/forums/discussion/55141/need-help-from-people-with-a-2a-3"]here[/url] to get a broader reach, b…

    ... and continue being triggered [u]until[/u] they reach the screen ... it’s a fixed-length loop.)[/quote]

    Okay, thanks ...
    Woody Woody September 2017 Development
  • Need help from people with a +2A/+3Started a topic [url="https://www.worldofspectrum.org/forums/discussion/55141/need-help-from-people-with-a-2a-3"]here[/url] to get a broader reach, b…

    ... the execution of the sync loop fits entirely into side border ... A,(#4000) instruction before the loop, this sets the fb value ... read back twice and the loop exits immediately. Then the ground ... are scrolled, which delays execution until the lower border. This is ...
    Hikaru Hikaru September 2017 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... =PEEK 23560[/code]

    Until now I assumed that the ... both lines inside a FOR loop of 1000 iterations the INKEY ...
    Paddy Coleman Paddy Coleman September 2017 Sinclair Basic
  • 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…

    ... bytes rather than an array/loop. Is this the correct approach ...
    ret
    ; ------------------------------------------------------------------------------
    ; Waits until a key is pressed
    Paddy Coleman Paddy Coleman September 2017 Development
  • 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…

    ... seems to loop forever.

    [code]; ------------------------------------------------------------------------------
    ; Waits until a key ...
    Paddy Coleman Paddy Coleman September 2017 Development
  • 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…

    ... bytes
    ld b,8 ; Loop for 8 bytes
    MAIN_LOOP5 ...
    ret
    ; ------------------------------------------------------------------------------
    ; Waits until a key is pressed
    Paddy Coleman Paddy Coleman September 2017 Development
  • Can't Get My Simple Code To RunHello again, I'm trying to run the following simple code: [code] org 32768 main ld b, 21 ; x coordinate is …

    ... a string
    [code]
    loop ld de,string ; address of ... our string
    jp loop ; repeat until screen is full
    [/code ...
    Scorpion_Realities Scorpion_Realities October 2017 Development
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... />
    My check for controls loop looks like this:

    djnz 1$ ;until we get to our row ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... go on; else, we wait until no key is pressed
    djnz 1$ ;until we get to our row ... not to mess up the loop
    ld b,a ;place ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • 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…

    ... seems to loop forever.

    [code]; ------------------------------------------------------------------------------
    ; Waits until a key ...
    Paddy Coleman Paddy Coleman October 2017 Development
  • 1k Chess (was the 924 bytes thing!)Hi, I've decided to do a major rewrite of large parts of the code for the isometric Chess thing that I've been messing with. It got to the point, …

    ... addl_ovr1:
    djnz addl_lp1 ;loop
    draw_line:
    ... calc_no_inc:
    djnz calc_lp0 ;loop
    calc_exit:
    ... a 1 bit until C=00, then ...
    Arkannoyed Arkannoyed October 2017 Development
  • 1k Chess (was the 924 bytes thing!)Hi, I've decided to do a major rewrite of large parts of the code for the isometric Chess thing that I've been messing with. It got to the point, …

    ... 2
    djnz csa_lp1 ;loop
    ld e,c ... addl_ovr1:
    djnz addl_lp1 ;loop
    draw_line:
    add ... is a 1 bit until C=00, then inverts ...
    Arkannoyed Arkannoyed November 2017 Development
<1…14151617181920…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
until 21K 23K
loop 4.8K 8.5K

Related Threads

  • Game loop design?Having some thoughts on how to design the game loop and could do with some hints and tips from folks who have done it before!<br /> <br /> It's all a…
  • Wanted: Code to wait until Border has been drawnWhen my IM2 interrupt fires, I want to wait until the ULA is past the first line of display before drawing.<br /> <br /> I know I need to wait about …
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code]<br /> <br /> dec bc<br /> ld a, b<br /> or c<br /> jp nz, loop<br /> <br /> can be replaced (bc starts &gt;255, sho…
  • TZX Loop 0The original Road Blasters TZX has a decryption tone loop with a counter of zero. I'm coding TZX handling in my emulator and I'm wondering the best w…
  • Do these games loop forever?Hi chaps :)<br /> <br /> Right, after what... n=n+1 years of not getting to the switch on Firefly, I decided to have a go at it last night and with j…
  • Another infinite death loop strikes!Oh, blinkin' bother and similar expressions of extreme exhasperation!<br /> <br /> Roller Coaster. Was doing very well on it, cleared 14 screens, wh…
  • Reggie Watts (?his loop machine?)So ... just wondering what the name/type of that green loop machine he always uses is.<br /> <br /> Enjoying his muzak so far ...
  • Portal is free!! until May 24th..[url]http://store.steampowered.com/freeportal/[/url]
  • Frank Sidebottom for No.1 !! Only have until 1.30pm Saturday !!I've only just noticed that the "Make Frank No.1" group have been aiming to make him No.1 in the charts this week! Apparently they need as many peopl…
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? <br /> Is it to do with how DEC HL affects the flags? <br /> <br /> [code]<br /> ; Read 32k b…

Related Searches

  • play drum loop
  • play 128 drum loop
  • nested loop
  • xor c loop
  • ld a b xor c loop
  • ld a b or c loop
  • until
  • outer loop
  • delay routine loop
  • delay loop
  • feedback loop
  • while loop basic
  • one line per loop
  • inke game loop
  • inkey loop
  • loop delay
  • timing loop
  • replacing this routine with a fixed loop
  • time loop
  • stuck in a time loop

Copyright © 2024 World of Spectrum