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.161s
<1…22232425262728…34>
  • Compiling Lisp to Z80.I am doing some thought experiments on this. Here is an example of a Lisp program. It adds two numbers together. [code] (define (add x y) (if (= …

    ... ld a,b ; endvalue to testregister
    or a ; the test on zero
    ld a,c ... original registers
    dec b ; counter 1 down
    B and C?
    And ... is this closer to what a ...
    wilsonsamm wilsonsamm January 2013 Chit chat
  • Checksum routine wantedI wish to make a program that verify integrity of a Multiface 1 ROM. It is possible to compare each byte of the ROM against a binary dump, but this i…

    ...
    xor h ; XOR with memory content
    ld h,a
    ld b,8
    ld a,h ; XOR with polynomial $1021
    xor $10
    ld h,a
    ld a,l ...
    Einar Saukas Einar Saukas February 2013 Development
  • Thinking of modding an Atari paddle controller for games like Arkanoid...Hello, Was thinking of trying out a controller mod using an Atari 2600 paddle controller to use with games like arkanoid, Batty, etc... The paddle c…

    ... a,c
    ld h,Table/256
    ld l,a
    ld a,b
    ld (OldValue),a
    ld b ...
    mcleod_ideafix mcleod_ideafix May 2013 Hardware
  • CODE SCREEN$ in MCIs there any way of determining what character is displayed at a certain co-ordinate from machine code like the 'IF CODE SCREEN$=' arrangement in bas…

    ... ;fetch string from stack
    ld a,b ;string length in BC. DE ... do:
    [code]
    ld c,12
    ld b,15
    call Screens ...
    mcleod_ideafix mcleod_ideafix June 2013 Development
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... ] ld b,l
    ld a,b
    srl b
    srl b
    xor b
    srl b
    xor b ...
    Einar Saukas Einar Saukas July 2013 Sinclair Basic
  • Hardware description - DivIDE interface[B][U]DIVIDE interface / DivIDE 2k11[/U][/B] [B][U]The main description[/U][/B] DIVIDE is IDE interface with own external memory. Thanks to very goo…

    ... /> ld a,b
    out ($ab),a
    ld a,e
    out ($af),a
    ld a,d ...
    out ($b3),a
    ld a,c
    out ($b7),a
    ld a ...
    velesoft velesoft August 2013 Hardware
  • RND cyclical behaviourGood evening. I'm playing with RND function to show its cyclical behaviour, i.e. after 65536 calls to it, the next one will return the same value of …

    ... c,RNDFUN
    ld (23677),bc ;(COORDS)
    call $22aa ;PIXEL_ADD
    ld b,a ... nz
    ld a,b
    or (hl)
    ld (hl),a ;update display byte ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • 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…

    ... for blue
    xor a
    ld (.border_instruction),a
    endm
    ld a,0xa1 ; AND C
    ld (.border_instruction),a
    ld a,7 ; ...
    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…

    ... Z and NZ
    ld a,(ms_cmp) ;13T
    xor $08 ; 8T Swap ... jp nz opcodes
    ld (ms_cmp),a ;13T
    ld a,b ; 4T
    ret ...
    GoingDigital GoingDigital August 2013 Development
  • melbourne drawIt could be said I am easly pleased,:grin: Very nice peice of software. I was realy impressed by its ease of use. I think a lot of time and effort w…

    ... using DJNZ for the loop so the screens display ... s a little bit of setup needed before the loop starts ... /> LOOP1: push bc
    ld a,b
    cp $0d ;screen 13 ... this number
    LD ($7F77), A
    LD L, (IX+$01 ...
    Battle Bunny Battle Bunny 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 c,l
    ld b,h
    lp dec l
    ld a,(bc)
    ld b ... ,(hl)
    ld (hl),a
    ld a,b
    ld b,h
    ld (bc),a
    inc c ...
    bit 4,c ...
    jamorski jamorski September 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 a,(de)
    ld b,(hl)
    ld (hl),a
    ld a,b
    ld (de),a
    ld c,a
    ld a,(bc)
    ld c,(hl)
    ld (hl),a
    ld a,(bc)
    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 ld a,h
    xor l
    and $F8
    xor l
    ld d,a ... )

    ld bc,offset
    loop ld a,h
    xor l
    and ... $F8
    xor l
    ld d,a ...
    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 ld bc,offset
    ld a,h
    xor l
    and $F8
    xor ... l
    ld d,a ...
    xor h
    xor l
    ld a,d
    cp $58
    jr nz,loop
    ld bc ...
    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…

    ... ,$4000
    loop ld bc,rcs_source_addr-$4000
    ld a,h
    xor l
    and $F8
    xor l
    ld d,a ...
    xor h
    xor l
    ld a,d
    cp $58
    jr nz,loop
    ...
    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…

    ... ,$4000
    loop ld bc,rcs_source_addr-$4000
    ld a,h
    xor l
    and $F8
    xor l
    ld d,a ...
    xor h
    xor l
    ld a,d
    cp $58
    jr nz,loop
    ...
    Einar Saukas Einar Saukas September 2013 Development
  • Copying data between memory banks in USR0 modeI am experimenting with Funky Fungus to load the majority of its data (levels, screens, music etc.) into memory banks 1, 3, 4, 6 and (partly) 7 by sw…

    ... destination
    LD HL,49152

    LOOP: OUT (C),D ;reads from ... source bank
    LD A,(HL)

    OUT (C),E ;writes to ...
    Alessandro Grussu Alessandro Grussu 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…

    [QUOTE=Einar Saukas;722758]Good work! But I suppose label "loop" should be at instruction "inc hl" instead of "ld a,b"?[/QUOTE]

    Yes, just noticed that and its been corrected as such. Thanks Mr S.
    jamorski jamorski September 2013 Development
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... ld h,a ;H =010ssppp
    1005 LET a=b: REM ld a,b
    1006 LET a=a ... LET a=a+c: REM or c ;C =column
    1011 LET l=a: REM ld l,a ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... ;(HL)=ATTR(B,C)
    ld b,a
    ret

    GETDISP:ld a,%01000000 ;calculate ... /> ld b,8
    PRINTAB:ld a,(hl) ;copy graphic to display AT B,C
    ld ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • filled shape creating codeDevelopment is continuing well on a resurrected project of mine from about 20 years ago. Speed and size optimizations are going well along with displ…

    ... /> ld a, d
    sub c
    ld d, a

    REPT 7
    ld a ... drcs_next_row_or_col
    ld b, 32
    ld e, 0
    ld a, d
    cp ...
    Einar Saukas Einar Saukas October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... ]

    You could US A'F' as well as AF ... , use I: pop bc, ld A,B, LD I,A, LD A,C, pop BC to make flag ...
    Gedlion Gedlion October 2013 Development
  • filled shape creating codeDevelopment is continuing well on a resurrected project of mine from about 20 years ago. Speed and size optimizations are going well along with displ…

    ... with XOR.

    Drawing line in linear buffer, inner loop:
    add hl,bc
    ld d,h
    ld a,(de)
    xor ... pixel
    ld (de),a
    xor e
    ld (hl),a
    inc h
    xor d
    ld (hl),a ...
    Alone Coder Alone Coder October 2013 Development
  • Troublesome routine, help needed!Having problems with this routine, it basically fires a rocket up the screen, but refuses to detect collisions. I'm using attribute blocks for detect…

    ... /> ld b,17 ;countdown from 17
    loop
    ld a,b ;load a with value of b ...
    dec a ;decrease by ...
    Jerri Jerri November 2013 Development
  • Z80: ABS(HL) functionI must be very tired but I cannot get my head around whether this function provides a correct implementation of a ABS function for a signed 16-bit va…

    ... nz, loop
    rst 0

    ABS ld a, h
    xor $ff ...
    ret m
    ld h, a
    xor a
    antoniovillena antoniovillena January 2014 Development
  • Code to test if a rectangle is in a rectangle[SIZE=3][FONT=Calibri]I am looking to write some code that will check if a rectangular shape is outside or overlapping a second rectangle. If the sma…

    ... )
    ;d b
    ld a,b
    cp h
    jr c,no_coll0 ;too ... left

    ld a ... /> no_coll1
    ld hl,(rect2_yy)
    ;e c
    ld a,c
    cp h ...
    Jerri Jerri January 2014 Development
  • Help with File Compressor by Mladen PopovicHi, I'm trying to compress BombJack (MCM) and transfer it to a +3 disk (Yes I own the original game :) ). I'm unsure about the addresses to enter in…

    ... inc b
    jr m1
    x6 add a,c
    n2 ld bc ... c
    rl b
    add a,a
    jr nz,n6
    ld a ... /> ld l,c
    ld h,b
    add hl,de
    ld c,a
    ld b,0 ...
    FrankT FrankT January 2014 Development
  • Help with File Compressor by Mladen PopovicHi, I'm trying to compress BombJack (MCM) and transfer it to a +3 disk (Yes I own the original game :) ). I'm unsure about the addresses to enter in…

    ... inc b
    jr m1
    x6 add a,c
    n2 ld bc ... c
    rl b
    add a,a
    jr nz,n6
    ld a ... /> ld l,c
    ld h,b
    add hl,de
    ld c,a
    ld b,0 ...
    Speccy_James Speccy_James January 2014 Development
<1…22232425262728…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
ld 6.3K 67.3K
a 589.5K 1.7M
b 55.2K 190K
xor 1.9K 4.8K
c 20.3K 48.8K
loop 4.8K 8.5K

Related Threads

  • 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…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • can someone make manic miner in b.a.s.i.c (oh, the horrors!)can someone make manic miner (or it's first level) in b.a.s.i.c . yes i know this is stupid, but i would like to know what would happen! from matthew
  • jet set willy in b.a.s.i.c (oh, even more horrors!!!!!!!!)what about jet set willy in b.a.s.i.c ? is anyone doing that? i think it's a really bad idea, but it's sure is a funny one! oh yes, i do know a littl…
  • ant attack in b.a.s.i.ccan someone make ant attack in b.a.s.i.c . it may be impossible!<br /> from a 14 year old kid.
  • who do you use 1 key b.a.s.i.c?well how do you. is there a web site about it. i do not have the original instruction book.<br /> from a 14 year old kid (named matthew.......)<br />…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • 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…
  • Adventure A,B,C,D,E,etcDoes anyone have any info on how this whole "Adventure A,B,etc" series came about?<br /> <br /> One of the first games I ever played on the ol' specc…

Related Searches

  • ld a r
  • d a w b
  • ld r a
  • xor c
  • xor c loop
  • ld a b or c loop
  • play a b c
  • b c bill
  • a m c
  • t a c
  • ld i a
  • ld a 3fh
  • ld a 0 call 5633
  • spectrum 2 a b rgb cables
  • out c a
  • ay out c a
  • screen address c b l
  • ld a 5b5c
  • ld bc 65533 a 254 out c
  • cpi ld a b or c

Copyright © 2024 World of Spectrum