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.011s
<1…3456789…34>
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ; prepare for subtraction
    sbc hl, hl ; LD HL, 0
    exx ; alternate register ... /> sbc hl, hl ; LD HL', 0
    exx ; main register set
    ld b, 33 ; shift ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... and clear carry flag
    ld b, -33 ; set count
    ... /> ld (hl), e ; store it
    dec hl ; second byte
    ld (hl), d ... add hl, hl ; multiply
    add hl, hl ; HL
    add hl, hl ; by
    add hl, hl ; ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ...
    ld hl, (stkend) ; address of first location to HL
    ld (hl), a ; write ... first byte
    inc hl ; next location
    ld (hl ... nc, l_test_ch ; jump with code 33 to 255
    cp 16 ...
    chev chev October 2013 Development
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ... buffer (first entry initialised)
    HL = Address of filename (wildcards permitted ...
    Always:
    C DE HL IX corrupt
    All other ...
    The_Bert The_Bert October 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ...
    .ifdef ROM1
    ld c, 33 ; leftmost position in graphics mode ... /> ld hl, (ch_add) ; get ch-add
    push hl ; stack it
    ld hl, (err_sp ... assignment
    ld hl, (x_ptr) ; original ch-add to HL
    ld (iy + _x_ptr_h ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ifdef ROM1
    ld c, 33 ; left column ( ... br /> ld hl, (curchl) ; HL = output routine address
    ld (hl), e ...
    chev chev November 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... /> po_gr_1:
    ld hl, membot ; membot to HL
    call po_gr_2 ... /> .ifdef ROM1
    ld a, 33 ; new column? (graphics ...
    chev chev November 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ld hl, (attr_t) ; get temporary attribute and mask
    push hl ; stack HL
    ld ... ld c, 33 ...
    chev chev November 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... /> ld hl, 0 ; clear HL
    ld (coords), hl ... ifdef ROM1
    ld a, 33 ; reverse
    ...
    chev chev November 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... hl, hl ; * 8
    add hl, hl ; * 16
    add hl, hl ; * 32
    ld ...
    chev chev November 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…

    ... /> call 5633
    ld de,rktdat
    ld bc,33
    call 8252 ... /> LD L, A
    ADD HL, HL
    ADD HL, HL
    ADD HL, HL
    ADD HL, HL ...
    ADD HL, HL
    LD DE ...
    Jerri Jerri November 2013 Development
  • Collision Detection in SP1Hi, Does anyone have a well-documented example of using collision detection in spritelib. I've search WoS and Z88DK forums but no joy. Something wi…

    ... ; build in the tolerance
    ld c,a ; c = width of ... ; build in the tolerance
    ld e,a ; e = width of ... ?

    .nocollision

    ld hl,0
    ret nc ; if ...
    slenkar slenkar November 2013 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ... />
    [CODE]
    loop ld a, (hl)
    add a, a
    xxxx
    is20 ld a, $04 ; $20->$04
    write ld (hl), a ...
    next inc hl
    djnz loop ...
    antoniovillena antoniovillena January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... />
    ld hl,_result ; string destination
    push hl
    ld hl,33 ; max 33 chars, including ... '\0'
    push hl
    ld hl,_format ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • +3 Disk drive motorHi, I'm creating a disk file menu selector. I was wondering how to turn off the +3 drive motor and the motor timeout check from Basic (poking the co…

    ... ]
    MotorOff:
    LD HL, 23399
    SET 3, (HL)
    RET
    [/code]
    And the machine code is: 33 ...
    BloodBaz BloodBaz January 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... )
    ld a,33
    sub c
    ld c,a
    ld a ... /> ld hl,(23653) ;HL=(STKEND)
    dec hl
    dec hl
    dec hl
    ld a,(hl ...
    Battle Bunny Battle Bunny February 2014 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... "atdi"CODE 30000,6912
    33 STOP

    40 ... /> ex de,hl
    ld hl,13616
    add hl,de
    ld a,(hl) ;get ... 32 columns?
    push hl
    ld hl,0000
    and a< ...
    Battle Bunny Battle Bunny February 2014 Development
  • +3 Disk drive motorHi, I'm creating a disk file menu selector. I was wondering how to turn off the +3 drive motor and the motor timeout check from Basic (poking the co…

    ... ]
    MotorOff:
    LD HL, 23399
    SET 3, (HL)
    RET
    [/code]
    And the machine code is: 33 ...
    Speccy_James Speccy_James February 2014 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ...
    defb $00,$00,$11,$33,$3b,$6f,$5e,$5d,$5f ... /> ld a,(de)
    ld (hl),a
    djnz bomberprint2

    ld hl,$4711 ... /> ld a,(de)
    ld (hl),a
    djnz bomberprint3

    ld hl,$4731 ...
    bigjon bigjon February 2014 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... br /> defb $00,$00,$11,$33,$3b,$6f,$5e,$5d,$5f ... /> main:
    ;cls

    ld hl,bomberdata ;bomber graphic loc
    REPT 7
    ld a,(hl)
    ld (de),a
    inc ... br /> REPT 7
    ld a,(hl)
    ld (de),a
    inc ...
    Einar Saukas Einar Saukas February 2014 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... 3rd line
    defb $33,$e6 ; bomber facing north 4th ... de
    ld (hl),e
    inc l
    ld (hl),d
    ... de
    ld (hl),d
    dec l
    ld (hl),e
    ... /> ld (hl),d
    dec l
    ld (hl),e

    ld hl,$4731 ...
    Einar Saukas Einar Saukas February 2014 Development
  • Pac-Land: can be coloured?All versions of this game are full coloured, but not the Spectrum version. It has large sprites, but maybe the scroll is too fine to make a coloured …

    ... (graphics drawing routine)
    ; LD HL,23936 (33,128,93) ( replaced by CALL ... 2014"
    LD HL,9*256+7
    LD (27415),HL
    LD HL,Text2
    CALL 33556

    LD HL,22528 ...
    Ralf Ralf February 2014 Games
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... line
    defb $33,$e6 ; bomber facing north ... loc

    ld hl,$4810 ; screen coordinates equivalent to ... on screen display
    ld (hl),d ; draw right ... display

    ld hl,$4830 ; screen coordinates equivalent ...
    Einar Saukas Einar Saukas February 2014 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> LD (HL),A
    INC DE
    INC HL
    LD A,(DE)
    LD (HL ... /> LD (IX+2),6
    LD (IX+32),6
    LD (IX+33),3 ...
    LD (IX+34),6
    MatGubbins MatGubbins March 2014 Development
  • Help with 1-bit sampled soundHi all, I've been sent over this way from the CPC Wiki forums as you guys may be able to help me more specifically with a programming query. Firstly…

    ... 8 31
    ld b,(hl) inc l out ... 8 31
    ld b,(hl) inc l out ... inc de nop 10 33
    ld b,(hl) inc l out ... jp c,EXIT 10 33
    ld b,(hl) inc l out ...
    joefish joefish March 2014 Development
  • 128+2 Help!Today the postie brought me an early Spectrum 128+2, it's a Z70700 Issue 1. Everything seems to be working ok, i.e it boots up and the keyboard work…

    ... 8
    LD HL, 22753 ; 32802 33 225 88
    LD DE, 6 ; 32805 ... ; 32906 16 253
    LD HL, 23611 ; 32908 33 59 92
    RES ...
    Battle Bunny Battle Bunny April 2014 Hardware
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... ld a," "
    ld hl,0
    ld bc,0
    cp (ix-33)< ... br /> adc hl, ... cp (ix+33)
    adc hl,bc

    ld a,3< ...
    Battle Bunny Battle Bunny September 2014 Sinclair Basic
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... /> ld hl,0
    ld de,0
    ld a,l
    cp (ix-33 ... )
    adc hl ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Alkatraz Protection System - "How to" and compo?I'm thinking about writing a "how to" regarding the [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0020807"]Alkatraz Protection System[/URL].…

    ... ?p=800147&postcount=33"]Part 2[/URL])
    LD HL,TABLE
    00090 GETADR LD E,(HL)
    00100 INC HL ...
    jp jp November 2014 Announcements
  • Alkatraz Protection System - "How to" and compo?I'm thinking about writing a "how to" regarding the [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0020807"]Alkatraz Protection System[/URL].…

    ... ;
    00170 clrscr ld hl,16384
    00180 ld de,16385
    ... 00190 ld bc,6911
    00200 ld (hl),a
    ... php?p=800147&postcount=33"]loader variables[/URL] need ...
    jp jp December 2014 Announcements
<1…3456789…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