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.016s
<1234567…34>
  • Kiwi OS for z80 computerHi everyone, Nearly made my z80 computer with 2K ROM 32K RAM. It has an OS im still writing called Kiwi (apple, blackberry, you get the idea ;D) he…

    ... CURRENT DATA VALUE)
    XOR C ;XOR THE CURRENT VALUE (TOGGLE)
    XOR C ;XOR THE CURRENT VALUE (TOGGLE)
    XOR C ;XOR THE CURRENT VALUE (TOGGLE)
    JP NZ, SAVE_LOOP ;LOOP AGAIN IF NOT 0
    Robin Robin August 2011 Announcements
  • AZIMUT / Frecuency spectrum[code]start DI LD HL,#7F40 LD D,#58 loop LD B,#00 bucle1 LD A,H IN A,[#FE] XOR A,C AND A,L J…

    ... LD D,#58
    loop LD B,#00
    ... IN A,[#FE]
    XOR A,C
    AND A,L ... IN A,[#FE]
    XOR A,C
    AND A,L ... ]
    RRA
    JR C,loop
    EI
    RET ...
    Z80user Z80user February 2012 Development
  • Adding a pause key to ArkanoidHaving rediscovered the simple pleasure of playing 1980s games on genuine 1980s hardware, I've also remembered that emulation can provide a feature m…

    ... then spinning in a loop until the same key ... (bit 0)
    in a,(c) ; read it
    rra ... ,(0xfe)
    rra
    xor c
    and 0x20
    ... recognize a tape loader sampling loop when I see one! ...
    stephenw32768 stephenw32768 August 2013 Games
  • A sped up pixel-shift routine for 1-byte–wide spritesHere’s an optimized (for speed) real-time sprite shifting routine for sprites that are one byte wide. It uses no memory variables for storage of inte…

    ... sprite data is aligned)
    xor a ;clear A and Carry ... screen into A
    xor c ;merge it with C
    ld (hl ...
    ld a,(hl)
    xor b
    ld (hl),a ... ; HL
    pop bc ;restore loop counter
    djnz msl_draw_loop ;rinse ...
    Ast_A_Moore Ast_A_Moore February 2017 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ...
    inc c
    inc c
    jp .loop
    .epilogue ...
    .toomanylines
    xor a
    inc a
    .only1halflinepressed
    xor a ; zero A
    ... /> .onlysymshiftpressed
    inc c
    xor a
    ret
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • Programming MC challengeIn the 80-ies I got the following assignment for a programming course. 2 16-bit values stored in #8000 and #8002 must be added together and stored i…

    ... ,(hl)
    jr c loop
    jmp loop1
    loop ld a,0 ... ld a,0 should be xor a
    as it is ...
    mestor mestor August 2005 Development
  • finding largest value (z80 assembly)suppose we have to write z80 program which requires to find the biggest value in a block of memory starts from the address 101h until address stored …

    ...

    loop: jp c,even ; when cf=1 ... )

    djnz loop ; decrement b until b=0 ... happens the first time the loop is entered:

    xor a

    loop:

    jr c, even ... cp (hl)
    djnz loop

    ld ($ ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • Loading schemes18 years ago I hated loading schemes like Alcatraz and Speedlock because they were a b*tch to copy and became unreliable when the tape got older. Now…

    ...
    ld bc,$300
    loop ld a,(hl)
    rra ... a,b
    or c
    jp nz,loop
    pop de ... a,($fe)
    rra
    xor c
    and $20
    jr ...
    Tom-Cat Tom-Cat July 2006 Games
  • Jetpac questionHi all, I just bought a copy of Jetpac off of Ebay and I'm having problems. To start, I'm trying to play it on an issue 2 Speccy with Interface 1, 2 …

    ... /> LD A,H ; Exit loop if we have wrapped around ...
    LD B,NUMPATTERNS ; Loop for each pattern

    XOR C
    LD (FailedBits),A< ... /> String3
    DB "LOOP $0000 - Test Passed",0 ... /> String4
    DB "LOOP $0000 - Failed at $0000 ...
    Digital Prawn Digital Prawn January 2009 Games
  • Sprite RotatingI was looking (actually at Everyone's a Wally), and noticed that all the graphics for the main characters are left facing, and two characters wide. …

    ... sprite is unmirrored
    xor a
    loop
    ld (de), a ... /> ld d, mirror_table
    xor a
    loop
    ld e, (hl ... /> ld (bc), a
    inc c

    ....
    [/CODE]
    Fikee Fikee June 2010 Development
  • Sprites masterclassHi All, You guys are probably tired of explaining sprites but I'd like to clarify a few things if possible. I've sorted the vertical aspect of scro…

    ... are in the table
    loop call sprite ;moves through the ... a,(hl)
    xor c
    ld (hl),c ;hl, the screen address ...
    inc ix
    djnz loop ;repeat 8 times
    ld ... a,(hl)
    xor c
    ld (hl),c ;hl, the screen address ...
    R-Tape R-Tape February 2011 Development
  • Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…

    ... bit. if done in a loop it is unpredictable because it ... off
    7) it will loop until start bits stop coming ...

    stop_bit:
    ;; invert c to get real value to ... =0xff | 7 t-states
    xor c ; 0xff xor anything = !anything | 4 t ...
    tstih tstih May 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... the code accordingly

    xor c ; compare BIT 0 from character ... br /> ld b, 8 ; execute loop 8 times
    INIT_RLC:
    djnz INIT_RLC ; repeat loop 8 times
    END_LOOP:
    Einar Saukas Einar Saukas July 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... the code accordingly

    xor c ; compare BIT 0 from character ... br /> ld b, 8 ; execute loop 8 times
    INIT_RLC:
    djnz INIT_RLC ; repeat loop 8 times
    END_LOOP:
    Einar Saukas Einar Saukas August 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... the code accordingly

    xor c ; compare BIT 0 from character ... br /> ld b, 8 ; execute loop 8 times
    INIT_RLC:
    djnz INIT_RLC ; repeat loop 8 times
    END_LOOP:
    Einar Saukas Einar Saukas August 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... , 32 or 48
    ; jr LOOP ; repeat otherwise
    ;
    ; ... the code accordingly

    xor c ; compare BIT 0 from character ...
    Einar Saukas Einar Saukas August 2011 Development
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... ;0d6b ; CLS

    xor a
    ld de,& ... ld b,revtab/256
    loop:
    scf
    ex ... ,af'
    loop2:
    xor a
    rrd
    ...
    cp d
    jr c,loop

    halt
    ...
    obo obo October 2011 Development
  • Another BUG play tapes, in ALL EMULATORs when press STOP1 FOR n=1 TO 20 : PRINT IN 254 : NEXT n : PRINT AT 0,0 : GOTO 1 RUN Type this simple code, load a TZX, pres PLAY, when ear input change between 191 …

    ... br />
    Use XOR A,#FF or XOR A,#00 work with ... add extra code in main loop to fix it.
    < ... read a edge
    [CODE]loop INC B
    RET Z ... /> XOR C ; it is the inverter
    AND +20
    JR Z,loop ...
    LD A,C
    CPL
    Z80user Z80user March 2012 Emulators
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... 256*(FIRST_THIRD*8+64)
    loop:
    ld h, d ... A = c2r2r3p3r1c3c4c5
    xor c
    and $67
    xor c ; A = r1r2r3c1c2c3c4c5
    jr nz, loop
    djnz next
    ...
    Einar Saukas Einar Saukas January 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... *8+64)-1
    loop:
    inc de ; ... = c2r2r3p3r1c3c4c5
    xor c
    and $67
    xor c ; A = r1r2r3c1c2c3c4c5< ... DE ?
    jr nc, loop ; skip otherwise
    add ...
    antoniovillena antoniovillena January 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... = c2r2r3p3r1c3c4c5
    xor c
    and $67
    xor c ; A = r1r2r3c1c2c3c4c5 ... $58
    jr nz, loop
    ELSE
    dec ... d
    jr z, loop
    ENDIF
    ...
    antoniovillena antoniovillena January 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... FIRST_THIRD*8+64)+1
    loop:
    ld h, d ... A = c2r2r3p3r1c3c4c5
    xor c
    and $67
    xor c ; A = r1r2r3c1c2c3c4c5
    jr nz, loop ; process next address
    ...
    Einar Saukas Einar Saukas January 2013 Development
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ...
    ;; B: .read_edge loop counter
    ;; C: during searching, the number ... ld a,b ; place loop counter into accumulator
    ... checksum into accumulator
    xor c ; XOR with byte just read< ...
    stephenw32768 stephenw32768 August 2013 Development
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ...
    ;; B: .read_edge loop counter
    ;; C: during searching, the number ... ld a,16 ; prepare delay loop (7T)
    dec a ... into accumulator
    xor c ; XOR with byte just read< ...
    stephenw32768 stephenw32768 August 2013 Development
  • Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…

    ... /> ld b,#1f 061F
    loop ld a,(de) 1A
    xor c A9
    and #AA E6AA
    xor c A9
    ld c,a ... /> xor c A9
    and #AA E6AA
    xor c A9
    ld c,a ... /> dec e 1D
    djnz,loop 10D6
    ld bc,#0010 ...
    jamorski jamorski August 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ...
    loop ld bc,$5703
    ld a,d
    xor e ... /> ld h,a
    xor d
    xor e
    rlca
    sub b
    jr c,loop
    cp c
    jr nz,endloop ...
    jamorski jamorski September 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... loop inc hl
    78 ld a,b
    A9 xor c
    E6F8 and $f8
    A9 xor c
    57 ... ld d,a
    A8 xor b
    A9 xor c ... $58
    20EC jr nz,loop
    0603 ld b,$03 ...
    jamorski jamorski September 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... br /> 78 loop ld a,b
    A9 xor c
    E6F8 ... and $f8
    A9 xor c
    ... 57 ld d,a
    A8 xor b
    A9 xor c ...
    20EC jr nz,loop
    0603 ld b,$03 ... ! But I suppose label "loop" should be at instruction " ...
    Einar Saukas Einar Saukas September 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... ld bc,$3FFF
    23 loop inc hl
    03. inc ...
    A9 xor c
    E6F8 and $f8
    A9 xor c
    57 ... ld d,a
    A8 xor b
    A9 xor c ... $58
    20EC jr nz,loop
    0603 ld b,$03 ...
    jamorski jamorski September 2013 Development
  • RCS (Reverse Computer Screen)[B]RCS[/B] ("Reverse Computer Screen", or simply SCR written backwards) is a small utility I'm about to release, that reorders bytes from the ZX-Spec…

    ... c,e
    loop: ld a,b
    xor c
    and $f8
    xor c ...
    ld d,a
    xor b
    xor c
    rlca ...
    Einar Saukas Einar Saukas September 2013 Development
<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
xor 1.9K 4.8K
c 20.3K 48.8K
loop 4.8K 8.5K

Related Threads

  • comp.sys.sinclair Crap Games Competition (C.S.S.C.G.C. 2022) is here!Welcome one and all!<br /> <br /> [img]https://i.postimg.cc/3yYpjjbH/cropped-CCG2022.png[/img]<br /> <br /> I am proud to announce the opening of…
  • 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…
  • Arrays in C and C++ from a Java Programmer.I have been looking arround the web and found many conflicting answers to this question so I thaught I'd ask you folkes.<br /> <br /> What is the C a…
  • Z80 disassembler C/C++ source codeHello,<br /> <br /> I just thought I might share the [URL="http://zxds.raxoft.cz/docs/z80d.cpp"]source code[/URL] of the Z80 disassembler I have writ…
  • c & c red alert 2 freeanother day.. another freebie<br /> <br /> http://www.pcgamer.com/command-conquer-red-alert-2-is-free-on-origin/
  • C CompilerIs there an IDE based C compiler for the 128. I've heard rumours...
  • C&VG magsI have quite a number of these for sale ranging from Aug.1982 to Jan 1988 and am open to offers. Also the C&amp;VG Book of Games III.<br /> …
  • .$b and .$c format helpHi, i have downloaded agame of lemmings (it took ages to find one that might work) i have downloaded about 5 and none of them worked.<br /> I have fo…
  • Quiz V - the revenge of D`n`COk, 50 quick fire questions.. some cryptic - you`ll have un unravel the clues to get the game name, while others are description of the game. <br /> …

Related Searches

  • xor sprite
  • hisoft c manual
  • play drum loop
  • play 128 drum loop
  • xor erase
  • xor and or
  • xor sprites
  • xor masked sprite erase
  • sprite xor and
  • masked xor
  • xor sprite mask
  • speccy c
  • developing in c
  • nested loop
  • divmmc c
  • xor c
  • ld a b xor c loop
  • ld a b or c loop
  • pacmen c
  • nirvana xor

Copyright © 2024 World of Spectrum