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…14151617181920…34>
  • Fixing Attribute Clash via emulationI'm sorry if this has been posted already, but is there a possibility to fix attribute clash via emulation? I'm not talking about RealSpec or any of …

    ... white paper colour.
    ld hl, 22528 ; Start at the ... attributes.
    nextch: ld (hl), a ; Store this colour.
    inc hl ; Next attribute.
    djnz nextch ... with the frame flyback.
    jp frame ; Start again.
    ...
    Matt_B Matt_B February 2007 Emulators
  • Currah MicroSource emulationIt appears to be impossible to emualte the MicroSource in software on the ZX Spectrum SE as hardware polling is required. The following patch is not …

    ... ROM code could do a JP 11182 instead of a RET ... need to do the pop hl in the "; uS_patch continues here ...
    BloodBaz BloodBaz March 2007 Emulators
  • 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…

    ...
    ex de,hl
    add hl,bc
    ex ... 0; ex de,hl; add hl,bc; ex de,hl". Edit: And ...
    ld bc,6144
    jp DLenter

    DLloop:
    pop de
    jp pe, DLloop
    [/code ... check the sense of the JP as I usually screw ...
    Alcoholics Anonymous Alcoholics Anonymous April 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…

    ... value
    LD L,A HL has position of new attr ... up even more.

    JP PE,LOOP loop until bc ...
    omega omega April 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…

    ... value
    LD L,A HL has position of new attr ... up even more.

    JP PE,LOOP loop until bc ...
    bobs bobs April 2007 Development
  • Disassemblers and RSTsI think this is a longshot, but... is anybody aware of a disassembler that handles the Interface One RSTs? e.g. RST $10 DEFW $0020. Cheers

    ...
    l_f9b0: push hl ; f9b0 e5 $0bts
    jp $15f2 ; f9b1 c3 ... $11ts
    pop hl ; fa36 e1 $0ats
    jp l_fa19 ; fa37 c3 ... c9 $0ats
    l_fa4e: push hl ; fa4e e5 $0bts
    push ... ; fa5b c1 $0ats
    pop hl ; fa5c e1 $0ats
    inc ...
    jp jp April 2007 Development
  • Reason for strange display layout?I have always wondered if there is any technical reason behind the strange layout of the display file or why did Sinclair choose to do it this way?

    ... returns becomes a 10 for JP cc (rather than a 12 ... =source (inlined mask+data?) and HL=target, unrolled so there's ...
    obo obo May 2007 Development
  • Reason for strange display layout?I have always wondered if there is any technical reason behind the strange layout of the display file or why did Sinclair choose to do it this way?

    ... ,8... to speed up execution. JP/JR instead of RET is ... -position
    POP HL first line
    LD (HL),C some useless ...

    POP HL next line
    LD (HL),B
    ...
    - draw line here -
    POP HL 2nd line
    - draw line ...
    omega omega May 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…

    ... 's a lower value of HL that will work, so having ... much further and remove the JP at the start of the ... de, -overhead ; 10
    add hl, de ; 11
    ld de ...
    .lp1: add hl, de ; 11
    jp c, .lp1 ; 10
    icabod icabod 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…

    ... /> call zx_cyxsaddr_callee + ASMDISP_ZX_CYX2SADDR_CALLEE
    ;; hl = screen address
    [/code]
    ex de,hl
    pop hl
    djnz dump< ... use of that with a "JP PO (or PE)" to ... poke lines poke a JP instruction at address 0xd1d1 ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... br />
    LD HL,50000 ;SOURCE (COMPRESSED DATA)
    HL)
    INC HL
    LD C,A
    OR A
    JP ... /> LD C,(HL)
    INC HL
    PUSH HL
    LD ... AND #1F
    SBC HL,BC
    ADD A,3 ... br /> LDIR
    POP HL
    JR MLOOP
    ...
    piters piters 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…

    ... br /> ld a,(hl)
    inc hl
    rla
    ld a,(hl)
    inc hl
    rla
    hl)
    inc hl
    m3 ... br /> dec hl
    ret nz
    jp $d225
    FrankT FrankT July 2007 Games
  • 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 60112
    jp savec ; hijacked '4' selection
    cp (hl)
    jp z, poke ; poke menu to ... default
    jp 60120
    poke ld hl, 60112
    ld ... a, 59
    ld (hl), a
    jp 41282 ; jump to save ...
    FrankT FrankT August 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…

    ...
    ld hl, ($a241)
    l_a262: sla (hl)
    jp nc, l_a26d
    dec hl
    ld ($a241), hl
    jp l_a262
    l_a27e: ld hl, $51e3 ...
    ld (hl), $03 ...
    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…

    ... 41327 217 4ts
    push hl ; 41328 229 11ts
    ... 10ts
    dec (hl) ; 41465 53 11ts
    jp nz, l_a14c ; ... /> loop
    ld a, (hl)
    and c
    ld ... br /> inc de
    inc hl
    djnz loop
    [/ ...
    Fikee Fikee August 2007 Games
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ... 22564
    call 1366
    jp 30285[/CODE]

    Another ... />
    I know that 'hl' is the address of origin ... location pointed at by HL, increments both HL and DE, Decrements BC ... - Increment - Repeat. Imagine the registers HL DE etc as variable names ...
    DEATH DEATH August 2007 Sinclair Miscellaneous
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ... ,22564
    call 1366
    jp 30285[/code]
    [/quote]
    ld de,23296
    ld hl,24785
    ld bc,40832 ... /> ldir[/code]I know that 'hl' is the address of origin ...
    rich_chandler rich_chandler August 2007 Sinclair Miscellaneous
  • Easy Compare On 2 Byte Register?e.g. HL, BC, DE Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far a…

    XOR A ; Clear Carry flag and zero A
    SBC HL,DE ; Compare HL and DE
    OR H
    OR L
    JP Z,match ; Zero flag will be set if HL=DE
    AndyC AndyC September 2007 Development
  • Easy Compare On 2 Byte Register?e.g. HL, BC, DE Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far a…

    ... zero A
    SBC HL,DE ; Compare HL and DE
    OR ... H
    OR L
    JP Z ... ,match ; Zero flag will be set if HL=DE ... /> AND A
    SBC HL,DE
    JP Z,MATCH

    Dr BEEP Dr BEEP September 2007 Development
  • Easy Compare On 2 Byte Register?e.g. HL, BC, DE Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far a…

    [QUOTE=Dr BEEP;213122]AND A
    SBC HL,DE
    JP Z,MATCH
    [/QUOTE]

    That's what happens when I try to write code *before* coffee!

    Neat answer. :)
    AndyC AndyC September 2007 Development
  • Easy Compare On 2 Byte Register?e.g. HL, BC, DE Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far a…

    [quote=Dr BEEP;213122]AND A
    SBC HL,DE
    JP Z,MATCH


    is enough!
    AND A used to save the value of A and only reset the carryflag[/quote]
    Yeah, I was gonna say that...
    rich_chandler rich_chandler September 2007 Development
  • Easy Compare On 2 Byte Register?e.g. HL, BC, DE Has anybody got a really easy way of doing this without comparing each byte seperately? Any maths has no effect on the flags as far a…

    ... /> or a
    sbc hl,de
    jp z, match
    [/code ... ,l
    cp e
    jp nz, nomatch
    ld a ... ,h
    cp d
    jp nz, nomatch
    [/code]
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • IY RegisterIve got a really bizarre bug, and I have only just started using the IY register. I seem to remember reading somewhere in a programming book, to neve…

    ... compared to BC,DE and HL. When you need more registers ... in conjunction with the JP(IX) and JP(IY) instructions for which ... are accessed sequentially (with HL and INC HL) but sometimes you need ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... aploop: call ap_getbit
    jp nc,apbranch1
    call ap_getbit ... hl
    sbc hl,bc
    ld a,(hl)
    pop hl
    ld (hl ... ld (lwm),a
    jp aploop

    apbranch1 ... ld (lwm),a
    jp aploop

    ...
    Metalbrain Metalbrain October 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... a,(hl)
    add hl,bc
    ld (hl),a
    inc hl
    ex (sp),hl ;bc = len, hl=offs
    push de ... a,(hl)
    add hl,bc
    ld (hl),a
    inc hl
    pop hl
    ap_finishup: ld ixh,1
    jp aploop
    Metalbrain Metalbrain October 2007 Development
  • A vexatious questionThis is kind of a follow-up to a question about RST #8 and hardware that I wrote in the development forum a while ago. To summarize that: certain ha…

    ... executed, or even a CALL/JP #8, the DivIDE ROM is ... ROM, it will execute LD HL,(xxxx), where xxxx is data ...
    icabod icabod October 2007 Hardware
  • New assember ideaAs i work with Eclipse IDE in my job i become more and more lazy. This leads me to idea that it is time to left Notepad+Tasm combo behind and move on…

    ... ld hl,40000
    push hl
    ld hl,5000
    push hl
    ld de,_heap
    jp HeapSbrk_callee + ASMDISP_HEAPSBRK_CALLEE

    DEFC ... br /> inc hl
    ld (hl),b
    inc hl
    jp HeapFree_callee + ...
    Alcoholics Anonymous Alcoholics Anonymous November 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... hl,bc
    ld (hl),a
    inc hl
    ex de,hl
    jp ... aploop

    apbranch3: ld c,(hl ...
    ldir
    pop hl
    jp aploop
    apbranch2: call ap_getgamma ...
    Metalbrain Metalbrain November 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... de
    jp aploop2

    apbranch3: ld c,(hl) ;use ... br /> ldir
    pop hl
    jp aploop
    apbranch2: call ...
    pop hl
    ld ixh,b
    jp aploop
    ...
    pop hl
    ld ixh,b
    jp aploop
    ...
    Metalbrain Metalbrain December 2007 Development
  • Minigame Compo 2007Hi there, also this year, there'll be a minigame competition, open to all 8-bit computers and consoles. It consists on writing games whose size (…

    ... br /> call getbit
    adc hl, hl
    ;or l ;we do ... additional check, ADC HL,HL provides correct flags
    jp z, start

    push de
    ex de, hl
    dec hl
    getbit1
    inc hl
    rl (hl)
    jr ...
    Fikee Fikee January 2008 Development
<1…14151617181920…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