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.012s
<1…45678910…34>
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... /> ld hl,tad_asc
    ld de,#4000
    filltab push de
    ld (hl),e ...
    inc hl
    ld (hl),d
    inc ... hl
    inc d
    ld a ...
    Mikie Mikie November 2001 Sinclair Miscellaneous
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... /> ld hl,PtsTab
    ld a,#80
    lp_mpt1 ld (hl),a< ... /> and #1f
    ld (hl),a
    inc l< ... ld b,#c0
    lp_mpt3 ld (hl),e
    inc h
    ld (hl ...
    SerzhSoft SerzhSoft January 2002 Sinclair Miscellaneous
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders. All I want to do is print my…

    ... 50000

    LD HL,message
    loop: LD A,(HL)
    OR A ... br /> RST 16
    INC HL
    JR LOOP
    ...
    (main screen) with LD A,2 CALL #1602
    Dr BEEP Dr BEEP August 2001 Sinclair Miscellaneous
  • Calling all coding munkeez...Having spent the last 8 years as a Windows application developer I thought I'd try my hand at a bit of Z80 speccy coding - something I missed out on …

    ... /> Like

    LD HL,16384
    LD A,(HL)

    must work ... like this:

    LD HL,16384
    LD ... A,(HL+higherload)[/quote]

    cyborg cyborg March 2002 Sinclair Miscellaneous
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either) HL addresses the …

    ... />
    ......dec hl
    searchfor0: inc hl
    ......ld a,(hl)
    ......inc a ... 8 bits at once
    ......ld (hl),a
    nextbyte: dec b ... 8 bits at once
    ......ld (hl),a
    ......jp nextbyte ;jump ...
    Mikie Mikie July 2002 Sinclair Miscellaneous
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either) HL addresses the …

    ... LD C,E
    LD HL,TABLE-1
    PRINT LD B,(HL)
    INC HL ...
    LD A,(HL)< ... br /> RST #10
    LD A,(HL ... br /> CALL #22B1
    LD A,(HL)
    RST #10
    Dr BEEP Dr BEEP July 2002 Sinclair Miscellaneous
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either) HL addresses the …

    ...
    ........LD HL,TABLE-1 ; esc.code table
    PRINT...LD B,(HL) ; B ... HL ; and HI returnbyte
    ........LD A,(HL)
    ........RST #10
    ........LD A,(HL ...
    Dr BEEP Dr BEEP July 2002 Sinclair Miscellaneous
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either) HL addresses the …

    ... .

    LD (HL_Store),HL ; Store HL in Store.
    LD D,B ; Store ... in HL' and restore original HL.
    POP HL
    EXX
    LD HL,(HL_Store ... )

    LD B ...
    Fraser Fraser July 2002 Sinclair Miscellaneous
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either) HL addresses the …

    ...
    .....dec hl
    searchfor0: inc hl
    .....ld a,(hl)
    .....inc ... was 0 originally)
    .....ld a,(hl)
    .....and c ; ... once
    .....ld (hl),a
    .....inc hl ;move onto next ... (in cy)
    .....ld a,(hl)
    .....djnz nextbyte
    Mikie Mikie July 2002 Sinclair Miscellaneous
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either) HL addresses the …

    ... 20 LD (HL_Store),HL ; Store HL.
    800B 50 4 LD D ... LD HL,(HL_Store) ; Restore original HL.
    8025 7E 7 Next_byte LD A,(HL ... br /> 803A 77 7 LD (HL),A ; Store byte ...
    Fraser Fraser July 2002 Sinclair Miscellaneous
  • Machine CodeOk i had a spectrum when i was younger and only used it for playin games and typing simple BASIC programs - i mean really simple! Things like 10 Pri…

    ... 50000

    LD HL,message
    LOOP LD A,(HL)
    OR A ...
    RST 16
    INC HL
    JR LOOP
    message ...
    Dr BEEP Dr BEEP July 2002 Sinclair Miscellaneous
  • Spectrum ROMI downloaded some text files (they are actually the spectrum ROM files but in text) which can be compiled using TASM (or soemthing). I read on WOS th…

    ... />
    LD HL,GRAPHIC
    LD B,10
    LOOP LD A,(HL)
    RST ... 16
    INC HL
    DJNZ ...
    Dr BEEP Dr BEEP August 2002 Sinclair Miscellaneous
  • Merry ChrysanthenumTHE COMPUTERS FIRST CHRISTMAS CARD jollymerry hollyberry jollyberry merryholly happyholly jollyjelly jellybelly bellymerry hollyheppy jol…

    ... #8000

    LD HL,text
    loop LD A,(HL)
    CP #FF ...
    RST #10
    INC HL
    JR loop
    text ...
    secarica secarica December 2002 Sinclair Miscellaneous
  • Run BASIC program by R. USR xxxxxGuys, please help. Suppose I have BASIC program in my Spectrum 48K starting with line 10. I'd like to start it by RANDOMIZE USR xxxxx. Which paramete…

    ... />
    [code]
    LD HL,ERRORMESSAGE
    LD A,(HL)
    OR A
    LD HL,(.....) ; IN BASIC LAST LINE EXECUTED 23621????
    LD (23618),HL
    LD A ... ,(23623) ; LAST STATEMENTNR EXECUTED (23623????)
    LD (23620 ...
    Dr BEEP Dr BEEP March 2003 Sinclair Miscellaneous
  • Run BASIC program by R. USR xxxxxGuys, please help. Suppose I have BASIC program in my Spectrum 48K starting with line 10. I'd like to start it by RANDOMIZE USR xxxxx. Which paramete…

    ... />
    [code]
    LD HL,ERRORMESSAGE
    LD A,(HL)
    OR A
    LD HL,(.....) ; IN BASIC LAST LINE EXECUTED 23621????
    LD (23618),HL
    LD A ... ,(23623) ; LAST STATEMENTNR EXECUTED (23623????)
    LD (23620 ...
    MrShhh MrShhh March 2003 Sinclair Miscellaneous
  • Run BASIC program by R. USR xxxxxGuys, please help. Suppose I have BASIC program in my Spectrum 48K starting with line 10. I'd like to start it by RANDOMIZE USR xxxxx. Which paramete…

    ... />
    [code]
    LD HL,ERRORMESSAGE
    LD A,(HL)
    OR A
    LD HL,(.....) ; IN BASIC LAST LINE EXECUTED 23621????
    LD (23618),HL
    LD A ... ,(23623) ; LAST STATEMENTNR EXECUTED (23623????)
    LD (23620 ...
    Dr BEEP Dr BEEP March 2003 Sinclair Miscellaneous
  • Horizontal scrollDoes anyone know how to do a 2 or 4 pixel left or right horizontal scroll of the spectrum screen. I can make a 1 one pixel scroll with: ... rl (hl…

    ... do something like:

    LD L,shiftreg ; thing we're ... a 256 boundary table
    LD A,(HL) ; get shifted value from ...
    cyborg cyborg March 2003 Sinclair Miscellaneous
  • Horizontal scrollDoes anyone know how to do a 2 or 4 pixel left or right horizontal scroll of the spectrum screen. I can make a 1 one pixel scroll with: ... rl (hl…

    ... to the screen location POP HL, you can shift (well ... left at least) with ADC HL,HL, using the previous carry from ... the rightmost bit and PUSHing HL back onto the screen ... BC, IX, IY, BC',DE',HL' and rotate all in sucession ... 50h SUB A,16 LD L,A LD SP,HL using A to ...
    cyborg cyborg March 2003 Sinclair Miscellaneous
  • Horizontal scrollDoes anyone know how to do a 2 or 4 pixel left or right horizontal scroll of the spectrum screen. I can make a 1 one pixel scroll with: ... rl (hl…

    ... : di
    ld (temp_sp),sp
    ld sp,hl

    ld sp,ScrAddr2 ... lscrsp10

    ld hl,(temp_sp)
    ld sp,hl
    ei

    rtunes rtunes March 2003 Sinclair Miscellaneous
  • Horizontal scrollDoes anyone know how to do a 2 or 4 pixel left or right horizontal scroll of the spectrum screen. I can make a 1 one pixel scroll with: ... rl (hl…

    ... first.

    rl(hl)
    rl(hl)
    dec l

    ld a,(hl)
    rla
    rla
    ld (hl),a
    cyborg cyborg March 2003 Sinclair Miscellaneous
  • Advice about drawing sprites on spectrum I've coded sprite drawing before and know all the theory about masks from a long time ago (microhobby rules! ;), but since I did it on Amiga with ha…

    ... , along these lines:

    ; hl is base of shifting table ... />
    pop l
    ld a,(hl)
    and (ix+0)
    pop l
    or (hl)
    ld (ix+0),a
    inc ...
    windenNTW windenNTW July 2003 Games
  • Advice about drawing sprites on spectrum I've coded sprite drawing before and know all the theory about masks from a long time ago (microhobby rules! ;), but since I did it on Amiga with ha…

    ... , along these lines:

    ; hl is base of shifting table ... />
    pop l
    ld a,(hl)
    and (ix+0)
    pop l
    or (hl)
    ld (ix+0),a
    inc ...
    cyborg cyborg July 2003 Games
  • Advice about drawing sprites on spectrum I've coded sprite drawing before and know all the theory about masks from a long time ago (microhobby rules! ;), but since I did it on Amiga with ha…

    ... /> pop l
    ld a,(hl)
    and (ix+0 ... l
    or (hl)
    ld (ix+0),a
    ld l,c
    ld a,(hl)
    and ... (ix+0)
    ld l,b
    or (hl)
    ld ...
    Alcoholics Anonymous Alcoholics Anonymous July 2003 Games
  • compatibility between ZX computers?Hey all, I'm new here :) I was wondering about compatibility between ZX computers. Is it possible to run a game made for ZX80 on a ZX Spectrum? Or a …

    ... to 'error'routines like
    LD A,(HL)
    RST 8 etc ... ...

    If HL is i.e. #4000 then ...
    Dr BEEP Dr BEEP July 2003 Sinclair Miscellaneous
  • Who want to remake Double Dragon?Seeing as the Speccy version was crap (see my review: [url="http://www.gamestyle.net/retro.php?article=31"]http://www.gamestyle.net/retro.php?article…

    ... hl
    ld (nnnn), hl 6144/2 times
    pop hl
    ld (nnnn-2), hl ...
    ...

    pop hl
    ld (nnnn-6142), hl ...

    ld sp, 0
    Fikee Fikee July 2003 Games
  • AssemblersOk, two quick questions for you guys: 1) Can anyone give me a link to the Prometheus Assembler ? 2) Does anyone know of an assembler that satisfies …

    ... 50000

    ld hl,text
    loop ld a,(hl) ; fetch data
    inc hl
    rst 16
    jr ...
    Dr BEEP Dr BEEP August 2003 Sinclair Miscellaneous
  • Anyone for a hacking challenge ?I have to get the DSK version of Tomahawk to work. It uses the well-known Digital Integration "SECURITY CODE" lock just like in Bobsled, ATF, etc. Th…

    ... Load Accumulator with 3
    LD (40000),A ; Store contents ... of lives:-

    LD A, (40000) ; Load Accumulator ... to game over routine
    LD (40000),A ;
    < ... /> 8E71 21 E0 D7 LD HL, D7E0
    8E74 22 ... EF AD LD (ADEF),HL

    At ...
    BadBeard BadBeard August 2003 Sinclair Miscellaneous
  • Anyone for a hacking challenge ?I have to get the DSK version of Tomahawk to work. It uses the well-known Digital Integration "SECURITY CODE" lock just like in Bobsled, ATF, etc. Th…

    ... />
    E8EB 2A 7A E9 LD HL, (E97A) ;the code you see ...
    E907 21 E7 03 LD HL,03E7 ;make sure
    no ... /> EA24 E5 PUSH HL
    EA25 2A 44 EA LD HL, (EA44) ;take ... change the first instruction LD HL, (E97A) to LD HL,0000

    LD HL,0000
    BadBeard BadBeard August 2003 Sinclair Miscellaneous
  • 128 Memory PagingI'm having a problem getting my brain around paging. Well, actually the bit I don't understand is how reading I/O ports works! I hope the collective …

    ...
    DI
    LD BC,32765
    LD HL,49152

    LOOP: OUT (C),D
    LD A,(HL ... )

    OUT (C),E
    LD (HL), ... ,LOOP

    LD A,(23388)
    OUT ( ...
    Woody Woody August 2003 Sinclair Basic
  • help in byte mirroring.I need some help. What is the best way to mirror the byte? (for ex. 10010011 -> 11001001) I mean, if there is a simple way to do it (may be with OR, …

    ... :

    LD A,normalbyte
    LD H,tablehighbyte
    LD L,A ... ; tablelowbyte
    LD A,(HL) ; bada ...
    cyborg cyborg October 2003 Development
<1…45678910…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • 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

HitBox

Word Docs Hits
ld 6.3K 67.3K
23641 33 47
hl 6.2K 48K

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…
  • When would you use LD A,R ?Can anyone tell me a practical use of LD A,R and LD R,A I am confused when you would need to use it?<br /> <br /> Cheers
  • Correct flag response to BIT n,(HL) etc.When running the test program suggested by Arjun (thanks again), all intructions are passing the flag tests except the BIT n,(HL), BIT n,(IX+dis) and…
  • Contention: LDI vs LD (ss), rAccording c.s.s. FAQ:<br /> <br /> instruction LD (ss),r breakdowns as pc:4,[b]ss:3[/b]<br /> and LDI as pc:4,pc+1:4,hl:3,[b]de:3,de:1 x 2[/b]<br /> …
  • rotating HL left through CarryI've tried this several ways, and it works for a while, then a particular value has a bit set in an inconvenient place and it all goes to pot.<br /> …
  • Restore HL' to?It is probably a simple question, but it's been escaping me for quite some time now.<br /> <br /> Is there an 'universal' value you should restore HL…
  • Getting PC into HLHello, here's a conundrum for you...<br /> <br /> Is there a way to obtain the value of the PC register (say into HL) without using absolute addressi…
  • 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…
  • JP (HL) confusionokay.... JP nn will jump to memory address nn.<br /> JP (HL) ,I assumed would read the contents of memory address HL and jump to the location<br /> …

Related Searches

  • ld ix
  • ld bytes
  • ld hl de
  • return to basic hl
  • ld bc eostr string
  • ld am
  • ld a r
  • ld r a
  • call hl
  • ld a b xor c loop
  • ld a b or c loop
  • ld i a
  • ld a 3fh
  • ld a 0 call 5633
  • ld fe 00
  • slt format hl
  • ld bc hl
  • ld hl 5678
  • 33 ld hl xxxx
  • screen buffer pop bc ld sp hl

Copyright © 2024 World of Spectrum