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.007s
<1234567…34>
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... the fastest way is no loop at all. A slightly ... is to unroll the loop enough that you need ... iterations, allowing you to loop with DJNZ (or DEC ... can possibly optimise the loop code by storing the low ... an inner loop that uses DJNZ and an outer loop that uses ...
    gasman gasman April 2005 Development
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... of the LD BC, 192 outer loop completely.

    All you ... br /> LD BC,192
    loop:
    PUSH BC
    ...
    POP BC
    DJNZ loop
    [/code]

    do ... this
    [code]

    loop:

    ...
    CALL IncY ...
    BloodBaz BloodBaz April 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…

    ... g
    h
    i outer loop counter for searching potentially valid ... move currently being tested inside outer loop 'i'.
    [/quote]
    ... br /> And enter the outer loop, which tests all possible moves ... Enter the inner loop. The inner loop checks all of ...
    Digital Prawn Digital Prawn September 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…

    ... all four pieces, (using FOR loop variable 'l') I need to ... different from those in the outer loop. So I haven't put ...
    Digital Prawn Digital Prawn November 2007 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... indeed saved by converting the outer loop back to positive values, making ...
    Digital Prawn Digital Prawn February 2008 Development
  • Russian Translations...As i have once again been reminded (by the "Homebrew games" thread), there are some funky looking Russian games that I can't play due to not understa…

    ... />
    print_6x6_outer
    ; Save the "Outer loop" Counter
    PUSH BC
    INC DE

    ; Restore Outer Counter
    POP BC
    Digital Prawn Digital Prawn June 2009 Games
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... register as the inner loop and DJNZ to ... /> LD BC, 14h ' Sets outer loop C with 24 and inner ... dec to 255 and loop 256 times)
    ... HL,4000h

    Loop:
    LD(HL),FFh
    DJNZ Loop ' Inner loop , decrements B and ...
    BloodBaz BloodBaz August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... . However, when I add the outer loop all hell breaks loose and ... /> LD D,00
    [/INDENT]LOOP LD (HL),A
    [INDENT ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... 15
    JR NZ,LOOP ; Loop back -6 bytes 20FA ... 0D
    JR NZ,LOOP ; Loop back 20F1
    PUSH ... 05
    JR NZ,LOOP ; Loop back 20E5
    RET ... you always jump to LOOP label but you have ... sou your jump of most outer loop must point to instruction LD ...
    Fikee Fikee August 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…

    ... to use another FOR loop for the outer loop. It might save a ...
    JamesD JamesD October 2010 Sinclair Basic
  • Assembler intricaciesHi all, I've been looking at the internals of a game to see how it all works and I've found some things that I don't understand and can't find any i…

    ...
    djnz .inner_loop

    ;outer loop code
    dec c
    Hikaru Hikaru January 2011 Development
  • Assembler intricaciesHi all, I've been looking at the internals of a game to see how it all works and I've found some things that I don't understand and can't find any i…

    ...
    djnz .inner_loop

    ;outer loop code
    dec c
    rich_chandler rich_chandler January 2011 Development
  • MCODE problem...Hi Folks, Trying to write a simple machine code program to hatch the screen. So far I have the following but even this is not working - it does not…

    ... br /> [*]That clashes with the outer loop counter, but since that's ... and C usage means the loop counter is B, so ... later.
    [*]Change the loop of 256 in DE to ... the address (L) with the loop counter of 256 (currently E ... to be set at the loop we need to switch ...
    obo obo October 2011 Development
  • which zx-spectrum games uses 1bit sound samples?hi! I'm looking for zx-spectrum games using 1bit sound samples. Compairing with msx, which has far less games available than zx-spectrum, there are f…

    ... that is needed is a loop which reads two bits from ... sample data, then an inner-loop repeatedly sets the beeper to ... chosen sample-length, then the outer-loop grabs the next two bits ...
    PrinceGaz PrinceGaz October 2011 Games
  • Loading the display with data from memoryTrying to load part of the screen(4k's worth) with data from memory location 53000, I've written this routine, but it doesnt work... [I]ld b,4000 ld…

    ...
    ld c,20 ; outer loop counter
    outer: ld b,200 ; inner ... ; loop until b = 0
    dec c ; decrement outer loop
    jr nz, outer ; loop ... that inner loop of 200 20 ...
    spud spud January 2012 Development
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... each other. Realising that the outer loop need only be half the ... I needed an extra inner loop to handle the additions (because ... any Carry set during the loop, as 'I' gets reset at ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…

    ... tasks in parallel. A tight loop might use one register set ... , the loop around that may use the ... few instructions run in the outer loop, the time for push/pops ... communicating state from the inner loop) may speed things up a ...
    Alcoholics Anonymous Alcoholics Anonymous September 2013 Development
  • Assembly - Loops bigger than 255Hi, It looks like it's a bit difficult to make loops with more than 255 cycles on Z80 machine code, since the 16-bit decrements (DEC) do not alter a…

    ... LD BC,1024 ; Loop length = 1024
    loop:
    LD (HL ... DEC C
    JR NZ,loop ; outer loop repeats 4 times
    RET ... the inner loop using B and the outer loop using C, ... CP H
    JR NZ,loop ; repeat until HL=16384+ ...
    Einar Saukas Einar Saukas October 2013 Development
  • Hornby 00I never had a train set as a nipper but i had always lusted after one, so a few days ago i had a cheeky bid on one on ebay. Well it arrived today a…

    ... up with an inner and outer loop and sidings coming of the ... inner loop but the track keeps losing ...
    1980-20.. 1980-20.. April 2014 Chit chat
  • Hornby 00I never had a train set as a nipper but i had always lusted after one, so a few days ago i had a cheeky bid on one on ebay. Well it arrived today a…

    ... up with an inner and outer loop and sidings coming of the ... inner loop but the track keeps losing ...
    1980-20.. 1980-20.. April 2014 Chit chat
  • Hornby 00I never had a train set as a nipper but i had always lusted after one, so a few days ago i had a cheeky bid on one on ebay. Well it arrived today a…

    ... train drove out onto the outer loop it would lose power the ...
    guesser guesser April 2014 Chit chat
  • Hornby 00I never had a train set as a nipper but i had always lusted after one, so a few days ago i had a cheeky bid on one on ebay. Well it arrived today a…

    ... train drove out onto the outer loop it would lose power the ...
    Scottie_uk Scottie_uk April 2014 Chit chat
  • Hornby 00I never had a train set as a nipper but i had always lusted after one, so a few days ago i had a cheeky bid on one on ebay. Well it arrived today a…

    ... had as kids - the outer loop has a point that uses ... to cross the inner loop to sidings on the ... to drive onto the inner loop. Then you can run ... sidings. Our outer loop also had a passing loop round the outside ... train, whereas the inner loop had a second set of ...
    joefish joefish April 2014 Chit chat
  • Hornby 00I never had a train set as a nipper but i had always lusted after one, so a few days ago i had a cheeky bid on one on ebay. Well it arrived today a…

    ... train drove out onto the outer loop it would lose power the ... to power half of the outer loop with one psu.
    1980-20.. 1980-20.. April 2014 Chit chat
  • Hornby 00I never had a train set as a nipper but i had always lusted after one, so a few days ago i had a cheeky bid on one on ebay. Well it arrived today a…

    ... to power half of the outer loop with one psu.[/QUOTE]< ... to cross out onto the outer loop, then back in onto ... the inner loop you could run trains ... the final part of the outer loop though that track is ... not connected to the inner loop and needs its own ...
    guesser guesser April 2014 Chit chat
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ... (usually) 13 states, and the outer loop is only executed every 256 ...
    Metalbrain Metalbrain September 2015 Development
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ... (usually) 13 states, and the outer loop is only executed every 256 ... ), approximately. Every 256 iterations, the outer loop control takes 14T, but the ... inner loop control takes 5T less than ...
    Einar Saukas Einar Saukas September 2015 Development
  • Must be missing the point - machine code... Hi Folks, Trying my hand at machine code again but falling at the first hurdle. I hand crafted the following to run at address 62000 and the co…

    ... Using $18 (24) as one loop counter will work 24 times ... FF (255) as the other loop counter will only work 255 ... in the inner loop then the inner loop can only count ... up to 24 and the outer loop (that does INC L) ... through memory then do one loop and INC HL. Or ...
    joefish joefish September 2016 Development
  • Copying a single character from one place to another?[code] ORG 33000 LD A,8 LD HL,16384 LD BC,256 LD DE, 18432 LOOP: PUSH AF LD A,(HL) LD (DE),A ADD HL, BC POP AF DEC A JR NZ,LOOP REST […

    From a quick skim, reset B at the top of the outer loop? First time round it starts at 8 and decrements down to 0. Second and subsequent times round it starts at 0 (because you're not setting it back to 8) and will decrement 256 times back to 0.
    thricenightly thricenightly March 2017 Assembler
<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
outer 833 1K
loop 4.8K 8.5K

Related Threads

  • Tau Ceti Outer BoxDoes anybody have the original outer box for the Pete Cooke game Tau Ceti. I believe its coned or hexagonal shaped, but i have never seen it myself s…
  • 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…
  • plan 9 from outer spacewhat about a game based on plan 9 from outer space. i think it's so bad it's good! so a game might be a good idea.<br /> from a 14 year old kid.
  • 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…
  • game where you pushed others off the 2D playing field into outer space?hello there! this is my first post -- hope it's in the right place!<br /> <br /> the view point of this monochromatic game was from above. you contro…
  • Cannibals From Outer SpaceHi,<br /> <br /> Probably, one more proof that 'Cannibals' has published by Summit (not Alternative). Has found this text fragment in a Crash magazi…
  • 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 ...

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 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
  • video ground loop

Copyright © 2024 World of Spectrum