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.167s
<1…9101112131415…34>
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ... a
    ld (activeparticles),a

    ; Remove
    ld b,(ix+0) ; b = xpos
    ld c ... ld a,(de) ; Get graphic
    xor (hl) ; xor with screen
    ld (hl),a ...
    robpearmain robpearmain September 2006 Development
  • Adventure A,B,C,D,E,etcDoes anyone have any info on how this whole "Adventure A,B,etc" series came about? One of the first games I ever played on the ol' speccy was Planet…

    ... on how this whole "Adventure A,B,etc" series came about?
    A) with me mate. I ... knew they done an Adventure B, but was never that ... fussed as they were both a bit pants.

    ... actually used to scare me a bit - lots to do ...
    Tobo Tobo August 2007 Games
  • Bresenhams circle algorithmI post here my final circle code to replace, if you want, the one in the ROM. It only uses integer math and runs very fast and is very compact. It is…

    ... ld l,b ;L is y


    Loop:

    ld A ... ,D ;Point #1

    add A ... ld c,A

    ld A,E

    add A,L

    ld b,A ...
    jp Loop ;end While
    ...
    rtunes rtunes September 2008 Development
  • So... you want to format your 3.5" as 720K eh?Well, i've been trying to get hold of an application to make proper use of my 3.5" +3 floppy disks but i haven't been able to find any. I stumbled up…

    ...
    SUB 65
    LD B,0
    LD C,A ; B holds the RAM page ... /> LD BC,32765
    LD A,(23388)
    XOR %10111
    LD (23388),A
    OUT (C),A ...
    NaMcO NaMcO December 2008 Development
  • IN 255 behaviour not emulated in Spectaculator and ZXSpinI'm not speaking about "normal" IN 255 behaviour. All of you know what I'm taking about: IN 255 can be used to "read" screen data as it's retrieved f…

    ... /> [code]Loop in a,(c)
    jp m,Loop[/code]
    ld a,b
    call PrintHex
    ld a,' '
    rst #10
    ld a ...
    mcleod_ideafix mcleod_ideafix January 2009 Hardware
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... /> di ;Disable interrupts

    ld a,c ;On entering from BASIC, BC ... ; 014t
    ld a,b ;04t => 018t
    or c ;04t => 022t ... ,interrupt_delay_loop ;10t => 032t per loop, 7 loops per 224t line ...
    joefish joefish May 2009 Development
  • Another machine code problem, sorry[CODE] OPCODE HEX ADD LD A,00 3E00 F000 PUSH AF F5 F002 LD B,05 0605 F003 LD C,06 0E06 LOOP F005 POP AF F1 ADD A,C 80 DEC B 05 …

    ... F002
    LD B,05 0605 F003
    LD C,06 0E06 LOOP F005
    POP AF F1
    ADD A,C 80 ...
    DEC B 05
    PUSH AF F5
    LD A,B ... 78
    CP A,0 FE00
    JP NZ(LOOP) C205F0 ...
    Robin Robin September 2010 Sinclair Basic
  • Cobra (improved BUGFIX)This is an improved BUGFIX for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0000996"]Cobra[/URL], please replace the "known errors" de…

    ... infinite loop:
    [CODE]
    95fe: ld bc,$3f28
    9601: ld a,c
    9602: in a,($ff) ; register 'A' always set to ... $FF in +2A/+3
    9604: cp b ... bc
    9602: ld a,b
    9603: or c
    9604: nop
    Einar Saukas Einar Saukas June 2011 Infoseek database
  • Invalid combination of operands and opcodesIt says the error in the title, why is this?? [CODE] ORG 0000 LD HL, 63000 ;LOAD HL WITH STACK LOCATION LD SP, HL ;SET STACK POINTER TO HL LD A, …

    ... LOOP
    ;===============================================================================================


    ;===============================================================================================
    ;NEW
    NEW
    LD A ...
    Robin Robin December 2011 Sinclair Miscellaneous
  • Optimize this: Distance CalculationBased on a taylor series expansion, suggested by NA_TH_AN, I've got this so far, which is far far faster than SQR(X^2+y^2) Formula is: in a right an…

    ... .

    LD A,B ; get original
    CP C ; compare with C
    JR ... NC, distance_Cbigger
    LD C,A ; B was smaller ... />

    SRL C ; C=C/2

    XOR A
    LD B,A
    SBC HL ...
    Gedlion Gedlion April 2012 Development
  • Graph Plothi! please, help with code: [PHP]For x=-100 To 100 For y=-100 To 100 If (x/2-25)*(x/2-25)+(y-50)*(y-50)<200 Or (x/2+25)*(x/2+25)+(y-50)*(y-50)<200 th…

    hi! please, help with code:
    [PHP]For x=-100 To 100
    For y=-100 To 100
    If (x/2-25)*(x/2-25)+(y-50)*(y-50)
    g0blinish g0blinish November 2012 Development
  • Idk>le me browsing through some game's code >..... [code]61A8 F5 push af 61A9 3EFF ld a,FF 61AB D37F out (7F),a 61AD D33F ou…

    ...
    622E 78 ld a,b
    622F B1 or c
    6230 20F6 ... 7A ld a,d
    626C EE41 xor 41
    626E 57 ld d,a ...
    626F 7E ld a,(hl ...
    Hikaru Hikaru June 2013 Development
  • Cobra (improved again BUGFIX)This is an improved BUGFIX for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0000996"]Cobra[/URL], that works better than the fix curre…

    ... loop:
    [CODE]95fe: ld bc,$3f28
    9601: ld a,c
    9602: in a ... 'A' always set to $FF in +2A/+3
    9604: cp b ... ]95fe: ld bc,$0300
    9601: dec bc
    9602: ld a,b
    9603: or c
    9604: nop
    Einar Saukas Einar Saukas July 2013 Infoseek database
  • 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…

    ... LD A,B ; MPR IS B'C'AC
    1070 LET A=17 : REM LD B,33 ; INITIALIZE LOOP ... /> FN b$(V)+FN b$(X)+FN b$(B)+FN b$(C)
    1392 FOR a=1 ... TO 32: IF a$(a ...
    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…

    ... = LD A,A
    78 = LD A,B
    79 = LD A,C
    7A = LD A,D
    7B = LD A,E ...
    7C = LD A ... ,H
    7D = LD A,L
    47 = LD B,A
    40 = LD B,B
    wibble wibble August 2013 Development
  • RCS HelpThis plea for HELP is related to the RCS screen handling routines thread. To further save space in the current crop of routines its looking like the …

    ... ]78 ld a,b
    A9 lp1 xor c
    E6F8 and $f8
    A9 xor c ...
    57 ld d,a ...
    A8 xor b
    A9 xor c
    07 ...
    jamorski jamorski September 2013 Development
  • Ghosts n' Goblins loaderI'm trying to put Ghosts n' Goblins onto a +3 disk but struggling to understand the mc loader. Basic loader [code] ink 7 : clear 25000 : load "" cod…

    ... : XOR 3
    65117: LD C, A
    65118: LD H, 0
    65120: LD B, 176 ... : XOR 3
    65360: LD C, A
    65361: LD H, 0
    65363: LD B, 176 ...
    65488: XOR (HL)
    65489: LD B, (HL)
    65490: LD C, A
    65491 ...
    Speccy_James Speccy_James February 2014 Development
  • Venturespeak Helplooking at the code from ZX Computing, October, November & December 1986. How do I make the code do more then 3 letters say 5. and could it be made …

    ... WAIT XOR A
    60025 32085C LD (23560),A
    60028 3A795C WAIT2 LD A,(23673 ... 329BEB LD (COUNT),A
    60306 0600 LD B,000
    60308 4F LD C,A
    ardentcrest ardentcrest February 2014 Development
  • Scrolling Bi-Colour Engine for 4-Player GamesJust putting this code up for people to have a look at. Far from finished. Should simply compile and run a bit of a demo. Only good for 128K and +…

    ... /> ;Use an unrolled multicolour processing loop for speed.
    ;Use wrap ... /> ld e,b ;de = x
    ld b,0
    ld a,c
    add a,a
    add a,a ...
    add a,a
    add a,a ;a ...
    joefish joefish March 2014 Development
  • Unusual custom turbo loaders - with sourcesI have always been fascinated by turbo loaders; my games all feature a TZX version with one of such schemes implemented, and I have been experimentin…

    ...
    LD A,C
    XOR 003
    LD C,A
    LD H,000
    LD B,208
    LD A, C
    XOR 3
    LD C, A
    LD H, 0
    LD B, 208
    LD A, Alessandro Grussu Alessandro Grussu May 2014 Development
  • Currah ?Speech channelIt seems to me that it would be nice to be able to send words to the ?Speech with PRINT #5;"Speak English to me, Jimmy" or some such. There really i…

    ...

    speak_2:
    ld a, b ; get A back

    cp ' ' ; space ... /> cp 65 ; less than 'A'?
    jr c, done ; nothing to do ...

    xor a
    ld (65362), a ; mark
    ld (65363), a ; done

    chev chev June 2014 Development
  • They Stole a MillionI noticed that the tzx on the site is missing a Speedlock Block for Part 2. I don't own the original so cant make a perfect tzx, but I did recreate t…

    ... the site is missing a Speedlock Block for ... interesting to learn how a simple Speedlock 2 block ... LD A,69 XOR (HL) ADD A,239 so I did SUB 239 LD B,A LD A,69 XOR B ... block, anyway I put a second gap between them ... /> Maybe someone could make a perfect TZX but in the ...
    nuggetreggae nuggetreggae June 2014 MIA/STP/SDP
  • Better arrangement for video memory?While doing some documentation work for the ZX-Uno project, I compared the advantages of the weird layout of the ZX Spectrum against a linear layout.…

    ... A
    RRA
    XOR B
    AND $F8
    XOR B
    LD H,A
    LD A,C ...
    RLCA
    RLCA
    RLCA
    XOR B ...
    mcleod_ideafix mcleod_ideafix September 2014 Development
  • Z88DK NOOB cplot INK colorHi I am a complete NOOB with Z88DK, I am trying to draw colored circles. How does ink, paper and border work with Z88DK. I started trying to wo…

    ... )
    POP BC ; C = x, and remove x ... ld a,7
    and d
    ld b,a
    inc b
    ld a, ... a
    xor e
    and 248
    xor e
    ld h,a
    ld a ...
    andydansby andydansby June 2016 Development
  • Flicker-free animationTrying to create flicker-free screen update, but... Where I'm wrong? [url="https://dl.dropboxusercontent.com/s/pfywhfejfmwt2zq/test_128.sna"]Snaps…

    ...
    start:
    ei
    loop:
    halt
    call swap_video ... /> call draw_keep

    jr loop

    ; --------------
    keeper ... /> xor %0010
    ld (swap_video+1), a
    ld bc, BANKS
    out (c), a
    Bedazzle Bedazzle October 2016 Development
  • Flood Fill IssueHi Folks, Came across the following Flood Fill routine by John Metcalf: [code]; scanline fill by John Metcalf ; call with d=x-coord, e=y-coo…

    ... 10 FD
    ld c,b 60017 48
    ld b,a 60018 47
    ... 1F
    ld l,a 60067 6F
    xor e 60068 ... xor e 60071 AB
    ld h,a 60072 67
    ld a,l ... 60073 7D
    xor d ...
    Paddy Coleman Paddy Coleman August 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 …

    ... /> gameLoop
    jp gameLoop ; loop indefinitely

    ; ... ld a, b ; x position.
    rst 16 ; print it.
    ld a, c ...
    Scorpion_Realities Scorpion_Realities October 2017 Development
  • Printing text, part MMXIIXI'm pretty sure there's been a zillion threads about this already, and I don't think it's the first one by myself either, but here goes. Proportiona…

    ...
    ld a, c
    sub a, e
    ld c, a
    ld a, d
    ; Loop for glyph ... c
    ld a,b
    add a,a
    add a,a
    add a,a
    add a,a
    Sol_HSA Sol_HSA December 2018 Development
<1…9101112131415…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