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.015s
<1…45678910…34>
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> .nextbyte
    push bc
    push hl
    ld l, (hl)
    call ltohexstr ...
    inc de
    ld bc, 31
    ld (hl), a
    ldir
    scankeys:
    ld hl, kbd_buff
    ld bc, #FEFE
    xor a ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…

    ...
    in assembly:
    LD HL, 32000 ;memory location for storing ... the number
    LD A, 2
    LD BC, 2 ; we ... before adding anything.
    LD (HL), A ; stores the contents ... the location pointed to by HL
    RET ; exits ...
    Arjun Arjun January 2002 Games
  • How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…

    ...
    in assembly:
    LD HL, 32000 ;memory location for storing ... the number
    LD A, 2
    LD BC, 2 ; we ... before adding anything.
    LD (HL), A ; stores the contents ... the location pointed to by HL
    RET ; exits ...
    Arjun Arjun January 2002 Games
  • 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…

    ... /> ;EXX ;restaurar
    ld bc,(tempbc)
    ld hl,(temphl)
    LD A,C ;
    rtunes rtunes October 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…

    ... br />
    ..........EX DE,HL ; SGN X AND SGN Y ... TO HL (Q: IS D =0 ... routine:

    SCREENPOS.LD BC,0
    ..........CALL PIXELADRESS ; ... plotted coordinate
    ..........LD (OLDXYPLOT+1),BC
    ..........LD (SCREENPOS),DE
    ...
    Dr BEEP Dr BEEP October 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…

    ... this:

    ..........EX DE,HL ; SGN X AND SGN Y ... TO HL (Q: IS D =0 if ... :

    SCREENPOS.LD DE,0
    ..........LD BC,0
    ..........CALL PIXELADRESS ...
    Dr BEEP Dr BEEP October 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…

    ... /> ;EXX ;restaurar
    ld bc,(tempbc)
    ld hl,(temphl)
    LD A,C
    rtunes rtunes October 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…

    ... /> 7 ld h,(hl)
    4 ld l,a
    7 ld a,(bc)
    7 or (hl ... )
    7 ld (hl ... ),a
    20 ld bc,(COORDS ...
    Dr BEEP Dr BEEP October 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,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
  • PAW questionThis may not be the right place but anyways there it goes: I've been trying to figure out how to import graphic files in .SCR format in the PAW parse…

    ... screens it's 2
    LD HL,49152-2048*screensize +256 ; ... of the screen memory
    LD BC,2048*screensize ; the size of ... memory with the information at HL
    LD BC,256*screensize ; the size ... of the attribute data
    LD DE ...
    cyborg cyborg November 2001 Sinclair Miscellaneous
  • ScrollingBit of a daft topic but anyway... Which game had the best scrolling? I would have to volunteer Commando and its silky-smooth scrolling. A particula…

    ... />
    ld bc,020h
    loop ldir
    ld bc,020h ; rather ... /> sbc hl,bc
    jr skip2a
    skip2 ld a,l< ... first line
    ld hl,5820h ; second line
    ld bc,736 ; counter
    ld hl,5001h ; last square
    scl ld bc,31
    ...
    Anonymous Anonymous June 2002 Games
  • 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 …

    ... the printer.
    Unfortunately the BC-reg must be larger than ...
    ........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 …

    ... /> POP HL
    EXX
    LD C,B ; Set LSB of BC to ... 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 …

    ... 48 4 LD C,B ; Set LSB of BC to B.
    BC to 0.
    800E 47 4 LD B,A ... 16 LD HL,(HL_Store) ; Restore original HL.
    8025 7E 7 Next_byte LD A,(HL ...
    Fraser Fraser July 2002 Sinclair Miscellaneous
  • adding colourThis my sound like a real stupid Q but when programing a picture how do i add colour like filling in shapes with colour. What kind of programming sh…

    ... /> ld hl,#5800
    ld bc,768
    l1 ld (hl),255
    inc hl
    dec bc ...
    ld a ...
    Dr BEEP Dr BEEP July 2002 Sinclair Miscellaneous
  • Basic and AY musicis it possible to play an ay-music in background while a basic program is running?

    ... working in BASIC as only HL' is important (actually IY ... LD HL,HIGHBYTE ; table
    LD DE,HIGHBYTE + 1
    LD BC,257
    LD A ... ,VECTOR ; IM2 vector
    LDIR
    LD I ... IY
    EXX
    PUSH HL ; preserve important registers
    ...
    cyborg cyborg January 2003 Sinclair Basic
  • Basic and AY musicis it possible to play an ay-music in background while a basic program is running?

    ... /> LD HL,HIGHBYTE ; table
    LD DE,HIGHBYTE + 1
    LD BC,257
    LD A ... ,VECTOR ; IM2 vector
    LDIR
    LD I ... /> it must be

    LD I,A

    ;)
    Dr BEEP Dr BEEP January 2003 Sinclair Basic
  • Z80 AssemblerSome of you may know that I'm working on a Z80 assembler. I thought I'd start a thread so I can see what people think and what they might want to see…

    ... ,size
    LD BC,@@3
    LD DE,@@2
    LD HL,@@1
    LDIR ... instructions, so if you type LD, it shows all possible combinations ... from LD A,A to LDIR).[/quote ... defined when you type in LD the editor it would be ...
    cyborg cyborg February 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 ... the rightmost bit and PUSHing HL back onto the screen ... once (eg POP HL, DE, BC, IX, IY, BC',DE',HL' and rotate all ... SUB A,16 LD L,A LD SP,HL using A to ...
    cyborg cyborg March 2003 Sinclair Miscellaneous
  • Question about CP Z80 instructionSorry if this is the wrong folder, but it seems the most appropriate. When performing a CP instruction, is the P flag set when the compared values …

    ... />
    ld hl,16384
    ld de,32768
    ld bc,16384
    loop ld a ... + inc
    dec hl ; but copy
    ld (hl),a ; high to low ...
    inc hl
    jp ...
    Dr BEEP Dr BEEP March 2003 Emulators
  • How do I avoid BASIC becoming corrupted on returning from a M/C routine?I'm having trouble with my BASIC program becoming corrupted on returning from a m/c routine which sets all the registers (including the shadow regist…

    LD HL,$2758
    EXX
    LD IY,$5C3A
    LD BC,
    EI
    RET
    Woody Woody May 2003 Sinclair Basic
  • Speccy machine code info where is it?Recently I've been trying to learn Z80 and I've managed to make limited progress (some of my routines even compile now!) but I seem to be having trou…

    ... (pressed or not):

    ld a,0111 1111 ; row #7 ... the same thing:

    ld bc,$7ffe
    in a,(c ... very short:

    If HL holds your screen address and ...
    Alcoholics Anonymous Alcoholics Anonymous June 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…

    ... />
    pop bc
    ld l,c
    ld a,(hl)
    and (ix ... +0)
    ld l,b
    or (hl ... )
    ld ...
    Alcoholics Anonymous Alcoholics Anonymous July 2003 Games
  • 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…

    ... /> ld (restore_sp+1), sp
    ld sp, table line start
    ld bc, 6144 ...

    next_line: pop de
    pop hl
    Fikee Fikee July 2003 Games
<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
bc 3.6K 14K
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…
  • BC 's Quest For Tireswhen playing this game you can only use keyboard right?.WRONG.if you press the letter "p" while the game has started(paused and waiting for input)a c…
  • BC Bill does this game work with a emulator?Can anyone get this game running with a emulator. I get as far as the main screen but can't start the game
  • BC BillThis is embarrassing but here goes...<br /> <br /> I'm playing BC Bill using ZX32. On the control menu I press 2 to select 'Kempston'. What do I need…
  • Problems with BC bill gameI have loaded this game with several emulators and game files with the same result:<br /> you can choose the input -&gt; sinclair, kempston, etc but …
  • 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 /> …
  • BC's Quest for Tires code sheet missingSpeaking of [URL="http://www.worldofspectrum.org/forums/showthread.php?t=35314"]missing code sheets[/URL], it appears the sheet for [URL="http://www.…

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 address in bc
  • call hl
  • ld a b xor c loop
  • ld a b or c loop
  • print usr bc
  • bc bill
  • ld bc 65533 a 254 out c
  • ld bc 65533
  • ld hl 5678
  • 33 ld hl xxxx
  • screen buffer pop bc ld sp hl
  • ld 23641 hl

Copyright © 2024 World of Spectrum