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.007s
<1…15161718192021…34>
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... ;graphic for roadside
    ld (hl),a ;print road left side ... line1
    savscrpos
    push hl ;save road left side posn ... de) ;copy byte. . .
    ld (hl),a ;. . .to next pixel line ... done a whole screen
    jp scrlcount ;otherwise continue with another ...
    bigjon bigjon February 2008 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... br /> .scrolldown

    ld hl,$56e0 ; display file address for ... in total to copy
    jp enter

    .loop< ... to character row above
    jp nc, enter ; if LLL wasn ... pixel row copy

    jp pe, loop ; if bc!=0 ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... I don't understand is jp pe - what does ... 0 or not. The JP is testing the flag ... /> ld (source+1),hl
    ld hl,$57e0+32 ; destination ...
    dec iyl
    jp nz, loop
    dec iyh ...
    jp nz, loop

    ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... ;save road position
    push hl
    push de
    ... /> pop de
    pop hl
    ;startpushing
    ld ... /> pop de
    pop hl
    ;startpushing
    ld ... dec b
    jp z,endroutine
    jp scrlcount
    endroutine< ...
    bigjon bigjon March 2008 Development
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... D
    DEC D
    JP NZ, LOOP1
    [/code]
    OR A
    JP NZ, LOOP1
    [/code]
    HL or DE instead (with, as ... D registers and "read from" HL DE or BC every loop ...
    BloodBaz BloodBaz April 2008 Sinclair Basic
  • Beeper octave range...A dumb question, I know, but I've found two conflicting sources of information on the octave range of the Sinclair beeper. I suppose I'm being a lit…

    ... ld sp,0
    ld hl,#41ED
    ld de,#FED3 ... bc,16
    FillLoop: push hl
    push de
    ... /> jr nz,FillLoop
    jp (ix)
    [/code]
    Woody Woody April 2008 Sinclair Miscellaneous
  • If you've got a real working MF128,IF1, and MDR combo can I ask a favour?So, if you do have a real Multiface 128, Interface 1, Microdrive and, oh yeah, a Spectrum (48k or 128k) that are all working, can I ask a favour...? …

    [QUOTE=jp;250468][URL="http://www.drumfu. ... 't corrupt basic
    ; mailto: jp@drumfu.com
    ;
    ; invoke ... current error return
    push hl ; and preserve
    ;
    ld ... /> call routine ;
    ;
    pop hl ; restore error return
    ld ...
    jp jp April 2008 Hardware
  • IF2 Rom snapshot creationHi, is it possible convert a Speccy 16k snapshot to a Interface 2 Rom file? I've the original Ultimate Pssst, Cookie, Trans-am and Jetpac tapes and …

    ... 32769).

    [CODE]8001 JP $3200[/CODE]

    ... Sinclair Rom
    B207 LD HL,$1000
    B20A LD ... Jetpac code
    B212 LD HL,$3000
    B215 LD ... of code
    B223 LD HL,($3011)
    B226 LD ($ ... of code
    B229 LD HL,$3C00
    B22C LD ($ ...
    Jimmy Jimmy April 2008 Emulators
  • IF2 Rom snapshot creationHi, is it possible convert a Speccy 16k snapshot to a Interface 2 Rom file? I've the original Ultimate Pssst, Cookie, Trans-am and Jetpac tapes and …

    ...
    CALL saferst10
    POP HL
    JP int2

    vusr ...
    CALL saferst10
    POP HL
    JP int2

    vload ...
    CALL saferst10
    POP HL
    JP int2

    vloadscrn ...
    Jimmy Jimmy April 2008 Emulators
  • JSW... how does the game "finish" in assembly?It seems the ZX and C64 versions of Jet Set Willy suffer from the same "unfinishable" problem. Thankfully the ZX version has been patched with pokes …

    ... )
    CP &0C
    JP NC,DIED1
    XOR A ... ) ; Get conveyor attribute
    CP (HL) ; Check attribute under Willy
    DanSolo DanSolo May 2008 Games
  • myspeccy.org - online gaming which auto-saves scoresIt's a blimmin' miracle - I'm most impressed.

    ... patch
    org $8ad8
    jp $ad60

    org $ad60 ... a,8
    miss ld hl,($8fbf)
    jp $8adb
    [/code]
    Mr. Anonymous Mr. Anonymous June 2008 Sinclair Miscellaneous
  • VIC 20 emulation on the SpectrumI'm sure most people are aware of the my attempt at bringing the full Commodore experience to Sinclair users with the "Twenty Commodes" program. It e…

    ... again writing JMP instead of JP when doing Z80 code...

    combined with the HL' another 4 T states are ...
    Dr BEEP Dr BEEP September 2008 Sinclair Miscellaneous
  • CSSCGC 2008 has now officially begunFor coming last in the 2007 crap game compo, I have the honour and privilege of hosting CSSCGC 2008! I have now put up the CSSCGC 2008 website at …

    ... /> di
    ld hl,65535
    loop ld (hl),255
    dec ... hl
    ld a,h ... nz,loop
    ex de,hl
    jp #11cb

    [/code ...
    Dr BEEP Dr BEEP September 2008 Games
  • CSSCGC 2008 has now officially begunFor coming last in the 2007 crap game compo, I have the honour and privilege of hosting CSSCGC 2008! I have now put up the CSSCGC 2008 website at …

    ... /> ld h,d
    ld (hl),d
    ld bc,$8000 ...
    lddr
    jp $11cc[/CODE]

    That ... care about the value of HL the routine is entered with ... as it forces HL to $FFxx so we know ... it won't work as (HL) is only set once and ...
    Jimmy Jimmy September 2008 Games
  • CSSCGC 2008 has now officially begunFor coming last in the 2007 crap game compo, I have the honour and privilege of hosting CSSCGC 2008! I have now put up the CSSCGC 2008 website at …

    I've tried to beat 12 bytes and the best I can do is 13. My 11 byte attempt doesn't fulfill all the criteria (doesn't clear the last
    Jimmy Jimmy September 2008 Games
  • Spectrum AssemblyHi All, Thanks for letting me in... lol Over the last couple of days I started playing my spectrum emu again and then I started thinking about lear…

    ... />
    [CODE] ld hl, (lines+2)
    ld de ... lines
    ...
    ld hl, (lines+382)
    ld ... br /> dec a
    jp nz, nextln
    ret
    ld hl, (y_off)
    add hl, hl
    ex de, hl
    ... br /> dec a
    jp nz, nextln
    ret
    Matt_B Matt_B October 2008 Sinclair Miscellaneous
  • Spectrum AssemblyHi All, Thanks for letting me in... lol Over the last couple of days I started playing my spectrum emu again and then I started thinking about lear…

    ... />
    [CODE] ld hl, (lines+2)
    ld de ... lines
    ...
    ld hl, (lines+382)
    ld de ... in the registers, like LD HL, 16384: LD DE, ... /> ld hl, (y_off)
    add hl, hl
    ex de, hl
    ... br /> dec a
    jp nz, nextln
    ret
    Shadow Maker Shadow Maker October 2008 Sinclair Miscellaneous
  • ZX Spectrum (16K) sound/beepHi all, I think I'm in right place now, I've tried to find an answer how to generate two channel sound using ZX Spectrum 16K. Only think I've found …

    ... /> ; LD HL,1000
    ; LD (work3),HL
    LD ... br /> AND A
    JP NZ, next ; Finished?
    JP NZ,labl5 ; Only use ... /> AND A
    JP Z,labl4
    LD ...
    Matt_B Matt_B November 2008 Sinclair Basic
  • Machine code help pls: LDI example[deleted]

    ... /> CPI compares A with (HL), incs HL and decs BC (the counter ... /> CPI set Z if A=(HL) and sets P-vlag when ...
    JR Z,AISHL
    JP PE,BCZERO ; could also be ...
    Dr BEEP Dr BEEP December 2008 Development
  • Machine code help pls: LDI example[deleted]

    ... /> CPI set Z if A=(HL) and sets P-vlag when ...
    JR Z,AISHL
    JP PE,BCZERO ; could also be ... when BC==0

    JP PO, xxxx jumps if P ... /V is zero
    JP PE, xxxx jumps if P ...
    Fikee Fikee December 2008 Development
  • 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…

    [QUOTE=Ralf;324990]This game is really finished and doesn't have any more secrets.[/QUOTE]

    Not quite. You outed a bug :)

    Map data :-
    [48k version]
    [code]
    $ff denotes no room data, other numbers indicate room
    pushHL pushHL December 2008 Games
  • Usr 0 ?I'm not sure I've ever seen this explained before, but why do some programs (only demos, as far as I can see, so far) need USR 0 mode when run on a 1…

    ... br /> [code] LD HL,#1303
    PUSH HL
    LD (#5C3D),SP ... br /> LD HL,#1BB0
    PUSH HL
    LD HL,(#5C4F)
    ADD HL,DE
    LD DE,# ... 1B5E
    EX DE,HL
    LD BC,4 ... ,(IY+01)

    JP START
    [/code]
    ...
    Shadow Maker Shadow Maker December 2008 Sinclair Miscellaneous
  • Keyboard routinesI'll ask here first - since this must be a long-ago solved problem, and hopefully I can avoid re-inventing the wheel... I need a keyboard routine th…

    ... for now)
    LD E,(HL) ; RESULT TO E
    LD ... l,a
    ld a,(hl)
    jr pr
    noss ...
    pr RST 16
    JP START
    [/code]
    Dr BEEP Dr BEEP January 2009 Development
  • 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 SP,SPADR
    LD HL,MSSTR
    CALL PRNT
    REP1 LD HL,MS1K
    CALL PRNT
    LD HL,MS1K
    CALL PRNT
    JP NC,BD1
    LD HL,MSOK
    CALL ... /> BD EX DE,HL
    LD HL,MSBD
    CALL PRNT ...
    jp jp January 2009 Games
  • Questions about registers, stack, etc.I was told that if I wanted to export code and create unprotected versions of games I should do the following: 1-Find the starting address by using …

    ... [FONT=Arial][SIZE=2]LD HL,NNNN[/SIZE][/FONT]
    ... [FONT=Arial][SIZE=2]PUSH HL[/SIZE][/FONT]
    [FONT ... [FONT=Arial][SIZE=2]LD HL,NNNN[/SIZE][/FONT]
    ... FONT=Arial][SIZE=2]PUSH HL[/SIZE][/FONT]
    [FONT ... /> [FONT=Arial][SIZE=2]JP NNNN[/SIZE][/FONT]
    ...
    Dr BEEP Dr BEEP January 2009 Sinclair Miscellaneous
  • 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
    LD D,14
    JP QUICKPRINTSTR ; Eqiv ... string
    LD HL,String6+17
    JP CreateHexString ;Equiv to ... />
    LD HL,$4000
    ADD HL,BC ;HL Now points to ... EX DE,HL
    ADD HL,BC ; temporarily use HL register pair ...
    Digital Prawn Digital Prawn January 2009 Games
  • Atic Atac speed.Dear all, Excuse the noob question, but does anyone know how fast Atic Atac runs at? What I mean is, frames per second, or the amount of pixels the…

    ... br /> SetupInts: ld a,OP_JP ; jp opcode
    ld (INTVECTOR),a ... : ld a,r
    jp p,WaitInt
    di
    push hl
    ld hl,(FXCode)
    defb ...
    ld b,(hl)
    inc hl
    Hiss0: ld ...
    frobush frobush January 2009 Games
  • Help to run Abu Simbel in a +2A SpectrumI bought this game some weeks ago, but the version is the old one. When I loaded it in the emulator, I had to switch the keyboard issue to 48Kissue.…

    ... at 24303:

    ld hl,24410
    ld de,65361 ...
    ld de,39150
    jp 64361
    ret

    zxbruno zxbruno January 2009 Games
  • Analogue BeeperThere's been a discussion on foro.speccy.org about multichannel beeper stuff, and since I had the camera out and the scope set up, I set about demons…

    ...
    .loop
    ld hl, wave
    .makewave
    ... ld a, (hl) ; get delay value
    ... and a ; zero?
    jp z, .loop
    ld ...
    inc hl
    ld b, (hl)
    cpl ... delay
    inc hl ; next byte
    jp .makewave
    < ...
    Winston Winston January 2009 Development
  • Help to run Abu Simbel in a +2A SpectrumI bought this game some weeks ago, but the version is the old one. When I loaded it in the emulator, I had to switch the keyboard issue to 48Kissue.…

    ... br />
    LD HL,32768
    LD DE,23400 ...
    LD HL,26280
    LD (HL),201-modifies end ... br /> LD HL,49861
    LD (HL),187-POKEs memory ... to solve incompatability problem with +2A
    JP ... had CALL instead of JP-not sure if it matters ...
    zxbruno zxbruno January 2009 Games
<1…15161718192021…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
jp 4.7K 8.4K
hl 6.2K 48K

Related Threads

  • 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 /> …
  • 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…
  • happy birthday jpyup<br /> <br /> happy birthday
  • Happy Burfday jp!Happy Burfday!<br /> <br /> Drink Beer (your avatar implies you may already be ;))<br /> <br /> Have a Gudden!
  • 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…
  • Happy Birthday JPHave a pleasing old time.
  • 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 /> …
  • Happy Birthday jphope it's a good 'un
  • 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…

Related Searches

  • jp peter
  • ld hl de
  • return to basic hl
  • fast jp table
  • call hl
  • jp
  • jp nz
  • jp impossible mission
  • jp impossible mission tweak
  • tweak jp
  • head over heels jp
  • bleepload jp
  • jp speedlock
  • alkatraz jp
  • skate crazy jp
  • king valley jp
  • slt format hl
  • 16 bit hl load
  • maketzx jp
  • jp maketzx

Copyright © 2024 World of Spectrum