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.017s
<1234567…34>
  • Where to start?Hi all, I wanna start coding something for the speccy. I have good experience at C/C++ and some other languages. I have coded asm on pc too, and ma…

    ... /> defb 33,21,15 ; load hl pair with starting coords.
    ld (plx),hl ... defb, is loading anything into hl? I have taken it from ... it like that, surely just LD HL,$1521 and a comment to ...
    rich_chandler rich_chandler March 2007 Development
  • Where to start?Hi all, I wanna start coding something for the speccy. I have good experience at C/C++ and some other languages. I have coded asm on pc too, and ma…

    [QUOTE=Alcoholics Anonymous;179251]33 is the opcode for "ld hl,nn" so it ... entered as defb rather than "LD HL,xxx" because it's a ... which is to load the HL pair with a single 16 ... like this:

    [CODE]LD HL, 256*x+y[/CODE]
    Matt_B Matt_B March 2007 Development
  • Where to start?Hi all, I wanna start coding something for the speccy. I have good experience at C/C++ and some other languages. I have coded asm on pc too, and ma…

    ... /> defb 33,21,15 ; load hl pair with starting coords.
    ld (plx),hl ... defb, is loading anything into hl? I have taken it from ... of defb 33,21,15 it should read ld hl,21+256*15 ...
    jonathan jonathan March 2007 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…

    ... more optimized for unrolled. Just 33 T-cycles per attribute. It ... [0-7]

    LD HL,SourceAttributeData
    LD BC,#5800
    ADD ... ,TABLE>>8
    LD D,A

    ; ... /> LD E,(HL)
    LD A,(DE)
    LD (BC),A
    INC HL
    omega omega April 2007 Development
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…

    ... .

    The "small" solution (33 bytes, 96 T cycles overhead ...
    sub l ; 4
    ld hl,base + ( 256 - d2 )
    ; 10 ...
    Patrik Rak Patrik Rak May 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... /> pop hl
    push de
    ld de,33
    add hl,de
    pop de
    push hl
    hl)
    dec hl
    rl (hl)
    dec hl
    djnz loop
    ld hl ...
    wokani wokani July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... /> ld c,0
    ld b,9
    push hl
    ld de,33
    .loop
    pop hl
    add hl,de ...
    push hl ...
    wokani wokani July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... /> ld hl,49152
    ld bc,(9*256)
    push hl
    ld de,33
    .loop
    pop hl
    add hl,de ...
    push hl ...
    wokani wokani July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... /> ld hl,49152
    ld bc,9*256
    push hl
    ld de,33
    .loop
    pop hl
    add hl,de ...
    push hl ...
    wokani wokani July 2007 Development
  • Help hacking Split PersonalitiesI`ve been hacking away at Split Personalities for the purpose of putting new screens and graphics (items). The current screen is at 41187 and is 160…

    ... /> org $d34a
    ld hl, ($d892) ; patched ix to hl (next packed scr ... ld c,(hl)
    inc hl
    m3 dec b
    push hl
    ld ... , $20, $34, $ec
    defb $33, $b2, $0c, $b0, $26, $34 ...
    FrankT FrankT July 2007 Games
  • Splitting Images tzx maybe not perfectI've been hacking this game and its loader. Also the save routine is intact in this game. It saves a block with a pilot length of 801 pulses. Test…

    I have version 2.33 Maketzx, would appreciate a newer ... /> dec hl
    ld ($a241), hl
    jp l_a262
    l_a27e: ld hl, $51e3
    ld (hl ...
    ld (hl), $c0
    ld hl, $53e4
    ld b, $17
    l_a2b0: ld (hl), $ff ...
    FrankT FrankT August 2007 MIA/STP/SDP
  • Something completely different (new game tech-demo)Since finishing Stranded 2.5 (available soon from Cronosoft - plug!) I've been playing with the idea of doing an attribute-based, rather than pixel-b…

    ... 253 9 15ts
    ld hl, 44303 ; 41462 33 15 173 10ts

    ld hl, 0
    ld de, 0
    ld c, %01111111
    ld b ... /> loop
    ld a, (hl)
    and c
    ld (de), a
    Fikee Fikee August 2007 Games
  • Getting Lifeguard to workI'm struggling with this Muliface utility to find infinite lives cheats. I can get the program to load up, and when I load a game and press the red b…

    ... stepped. The first one is LD HL,95EB so I pressed M ... follows:

    DEC (HL)
    LD A,(HL)
    CP 2F

    LD HL,95EB
    LD (HL),39

    So ... , changing $8A67 from $39 to $33 should ...
    StuBruise StuBruise September 2007 Sinclair Miscellaneous
  • Need Help with codeHi there, let me preface this by saying I'm NOT an old school computer guy though I do remember using the internet before the WWW and my first comput…

    ... executed.

    LD C,A loads c with ... .

    INC (HL) increments the byte at the ... location pointed to by the hl register pair.


    LD HL,nn loads the hl register pair with nn ... , 201, 79, 52, 3, 33, n, n. Unless that means ...
    jonathan jonathan May 2008 Sinclair Miscellaneous
  • Frightmare rzxI have watched recording of Frightmare recently: [url]http://www.rzxarchive.co.uk/f/frightmare.rzx[/url] Do you also have the impression the the gu…

    ... $2e, $2f, $30, $31, $32, $33, $16, $1b, $34, $35, $36 ... bug :-
    [code]
    b102: ld a, (iy+$05) ;first word ... nc, $b110 ;yes
    b10b: ld (iy+$05), a ;no, so ... : jr $b0de

    b110: ld a, (ix+$06) ;second word
    pushHL pushHL December 2008 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 HL,String3+6
    CALL CreateHexString

    LD A,33 ;Print ... PASS message in GREEN
    LD (QP_ATTR),A

    LD HL ... /> LD A,33 ;Set Background to green
    LD (QP_ATTR),A

    LD HL ...
    Digital Prawn Digital Prawn January 2009 Games
  • So you want to make a cardgame......but you haven't got a good deck to display. Well here is a fully relocatable routine that will do the job for you. Place the code anywhere in me…

    ... LD HL,14
    ADD HL,SP
    LD SP,HL ; undo USR command
    LD HL ... DEFB 113,69,33,149,241,133, ...
    Dr BEEP Dr BEEP January 2009 Development
  • faster bitwise operators?well, sinclair basic lacks bitwise operators and I searched "basic forum" with keyword "bitwise" and only 3 thread came up. So the forum also lacks b…

    ... A, (C) ;
    LD HL, SaveLoc ; HL=Memory location to dump key ... />
    loop1:
    LD (HL), C ; Memory Location = 0 ... br /> skip1:
    INC HL ; Move to next memory ... , 254, 239, 237, 120, 33, 20, 91, 1, 0, ...
    BloodBaz BloodBaz May 2009 Sinclair Basic
  • New member here. And a spider! :)Hello everyone. My name is Sekrets. I'm quite a lonely individual, searching for a digital home where I might find fellow speccy enthusiasts to adopt…

    ...
    ld hl,line
    ld b,(hl)
    ld hl, col
    ld c,(hl)

    11 ex (sp),hl
    12 ld h,e
    13 ... ..191
    18 ; exit : hl = screen address
    19 ; ... /> 32 ld l,a
    33
    34 ld a,h< ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • FMV on +3eOK, so about 6 months ago i posted here that i got full motion video on +3e, with a bunch of scr files called passion. I added the glider rider music…

    ... :
    [code]
    ld hl,sample
    ld de,table
    exx ... is 8bit signed:
    ; ld a,(hl)
    ; add a,#80 ... is 8bit unsigned:
    ld e,(hl)
    ld a,(de)
    ...
    32 9
    33 9
    34 9
    omega omega April 2010 Development
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ...
    80 DATA 255,255,33,0,0,57,197,221 ...

    chk: ld hl, 0
    add hl, sp ;HL = current stack pointer ... hl ;HL = entry address
    inc hl
    inc hl ;HL = filename parameter

    ld ...
    John Elliott John Elliott May 2010 Sinclair Basic
  • Die Rolling sound?Digging out my old Fighting fantasy programs (so far unsuccessfully... thanks c60) had me wondering how I'd program it these days. Hopefully better,…

    ... ,$0000 17 0 0
    LD HL,$00C8 33 200 0
    CALL ... /> 2 DATA 17,0,0,33,200,0,205,181,3 ...
    Battle Bunny Battle Bunny July 2010 Sinclair Basic
  • Using the stack to copy memory blocksA [b]PUSH[/b] and a [b]POP[/b] instruction together take less time than two [b]LDI[/b], so long [b]POP/PUSH[/b] sequences are sometimes used to copy …

    ...
    ld hl, 0000 ;10
    ld (sp1 +1), hl ;16
    add hl, de ...
    ld hl, 0000 ;10
    ld (sp2 + 2), hl ;16
    add hl, de ... significant byte of parameter in LD SP,xxxx
    so it could ...
    Fikee Fikee August 2010 Development
  • compressing basicI thought I'd ask here instead of the basic forum.. in the sense of giving me 1 command line, and NOT the whole listing joined up etc. and it uncom…

    ... * 2048
    25616 33 59 100 LD HL,STACK ;HL=base of program stack ... * 2048
    25645 33 59 100 LD HL,STACK ;HL=base of program stack ... program#
    25650 33 0 92 LD HL,23552 ;HL=start of system ...
    Battle Bunny Battle Bunny September 2010 Development
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ...

    z80stub db 33,0,65 ; ld hl,16384+256
    db ... 17,0,255 ; ld de, ... 64 ; ld sp,16384+240
    db 225 ; pop hl
    ... '
    db 225 ; pop hl
    db 209 ; pop ... 33,0,0 ; ld ix,0
    reg_iy db 0FDh,33,0,0 ; ld ...
    ASM ASM October 2010 Hardware
  • Mikie tape error?I purchased a copy of this to play on my +2B, but something strange happens once it appears to have loaded. The screen goes black with lots of heart…

    ... ; a7b4 ed 47 $09ts
    ld hl, $a7c3 ; a7b6 21 c3 a7 ... /> 9030 DATA 30000,94,221,33,203,92
    9040 DATA ... 241,243
    9070 DATA 33,253,94,229
    9080 ... 253
    9110 DATA 97,33,64,248
    9120 DATA ... /> 9170 DATA 34,71,248,33
    9180 DATA 140,248 ...
    jp jp November 2010 Games
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... ,33,0,0 ; ld ix,0
    reg_iy db 0FDh,33,0,0 ; ld ... = Pointer to registers HL and BC
    ; > HL = Pointer to repeated ... />

    restore: ld (hl),c ; 1
    inc hl ; 1
    djnz ... />
    pop hl ; 1
    pop bc ; 1
    ld sp,0 ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Override AUTOLINE start?Hi there, Is there a poke that prevents a BASIC program from auto running, when it was previously saved with the LINE command? Cheers, Steve

    ... 221
    80 DATA 33,75,91,17,17, ... DATA 2,207,26,221,33,75
    110 ... the BASIC program area
    ld hl, (l_5c59) ; E_LINE - address ... Program' header, try again
    ld hl, (l_5c53) ; We need to ... call MAKE-ROOM
    ld hl, (l_5c53) ; HL = PROG. We set ...
    stefrobb stefrobb November 2010 Sinclair Basic
  • Oscilloscope Speccy ProgramHi all, I remember very well in the old days when my Speccy was my single computer (around 1992) that I have had an oscilloscope software. This uses…

    ... ,0,175,17,0,0,33,0,0,
    35, ... NEXT N: RETURN

    ld bc, $af00 ; 7f58 01 00 ... ; 7f5b 11 00 00
    ld hl, $0000 ; 7f5e 21 00 00 ... ; 7f69 10 f6
    ld b, d ; 7f6b 42
    Battle Bunny Battle Bunny November 2010 Sinclair Miscellaneous
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... ; di
    source db 33,0,0 ; ld hl,0
    db 17 ...

    restore db 33,0,0 ; ld hl,0
    value db ... />

    z80_stack db 113 ; ld (hl),c
    db 35 ; inc ...

    reg_hl db 33,0,0 ; ld hl,0
    reg_bc db ...
    ASM ASM November 2010 Sinclair Miscellaneous
<1234567…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
33 2.7K 3.9K
ld 6.3K 67.3K
hl 6.2K 48K
xxxx 247 367

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…
  • FOR SALE: Crash Magazines 33 issuesHi folks, here is my eBay blurb:<br /> <br /> CRASH MAGAZINES 33 Issues<br /> Issues 2 - 29, 31 - 34, 48<br /> <br /> This magnificent magazine from …
  • 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…

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
  • screen buffer pop bc ld sp hl
  • ld 23641 hl

Copyright © 2024 World of Spectrum