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.012s
<1…16171819202122…34>
  • Using the ROMs PRINT routineI really am starting from scratch again it seems, but how do you utilize the ROM routine to print characters, I think you point te BC register to an …

    ... hl,hl ;x2
    add hl,hl ;x4
    add hl,hl ;x8
    ex de,hl ;de holds ... distance to add..
    ld hl,15616 ... 16 bit nos
    add hl,de ;hl now pointing at graphic source ...
    R-Tape R-Tape January 2012 Development
  • Maritrini and Cray 5 loading problemsHas anyone else here had issues loading either of these on a 128k? No matter what I try, both these games refuse to load properly. I can get both t…

    ... 25000
    di
    ld hl,(0099h) ;First two chars of ... endian, so "NI"
    ld de,4e49h ;"NI"
    xor a ... , RAM0, main screen
    sbc hl,de
    jr nz,NotROM1 ;If ...
    mcleod_ideafix mcleod_ideafix March 2012 Games
  • 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. Eg: "…

    my turn:

    [CODE]
    ;
    ; |------------|
    ; CY
    Fikee Fikee March 2012 Development
  • 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. Eg: "…

    ... br /> ld de,temp
    ex hl,de
    ld (hl),d; (hl) = & ... rlca; a = &82, (hl) = &78
    rld; ... a = &81, (hl) = &72
    ld ... hl)
    ld l,a

    Course it does trash DE ...
    AndyC AndyC March 2012 Development
  • 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. Eg: "…

    ... br /> ld de,temp
    ex hl,de
    ld (hl),d; (hl) = & ... rlca; a = &82, (hl) = &78
    rld; ... a = &81, (hl) = &72
    ld ... hl)
    ld l,a

    Course it does trash DE ...
    Einar Saukas Einar Saukas March 2012 Development
  • 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. Eg: "…

    ... br /> ld de,temp
    ex hl,de
    ld (hl),d; (hl) = & ... rlca; a = &82, (hl) = &78
    rld; ... a = &81, (hl) = &72
    ld ... hl)
    ld l,a

    Course it does trash DE ...
    Einar Saukas Einar Saukas March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... :
    LD HL,(WA) : LD DE,(PL) : ADD HL,DE : LD (WA),HL
    What ...
    Battle Bunny Battle Bunny March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... :
    LD HL,(WA) : LD DE,(PL) : ADD HL,DE : LD (WA),HL
    What ...
    RobeeeJay RobeeeJay March 2012 Development
  • A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…

    ...
    ld de, 65283
    add hl, de

    push hl
    ld ... , 0
    ex de, hl
    pop hl

    add hl, de

    ld a, 255

    ld (hl), a ...
    Einar Saukas Einar Saukas March 2012 Brand new software
  • BIT/RES/SET b,r where b is variableWhat's the best way to use the bit flag group of commands if it's not known in advance which bit should be referenced; ie. where it's dependent upon …

    ... hl, hl
    add hl, hl
    ld de, jumptable
    add hl, de
    jp (hl)
    Fikee Fikee March 2012 Development
  • Internal ROM expansionHas anybody designed a multiple-ROM interface that plugs into the internal ROM socket instead of plugging onto the edge connector? It would be useful…

    ... c7 $0bts
    l_82e4: ld hl, $8772 ; 82e4 21 72 87 ... 00 $0ats
    l_82ea: add hl, de ; 82ea 19 $0bts
    djnz ... fd $08/$0dts
    ld de, $9c22 ; 82ed 11 22 9c ...
    jp jp May 2012 Hardware
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... ld (k_cur), hl
    push hl
    ld hl, (curchl)
    push hl
    ... call print_fp
    pop hl
    call chan_flag
    sbc hl, de
    ld b, h ... stk_sto_str
    ex de, hl
    ret[/code]
    chev chev May 2012 Sinclair Basic
  • What's going on during a reset?Always wanted to know this. Why does the screen fill with garbage then white lines on black then just a totally black screen? What is happening?

    ... on black paper.
    DEC HL ; Decrement memory address.
    ... - prepare to subtract.
    SBC HL,DE ; subtract and add back setting ...
    ADD HL,DE ; carry when back at ...
    Dunny Dunny May 2012 Hardware
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... push hl
    push de
    push bc

    ex de,hl ;DE = top ... of (new) stack, HL=address of DEF ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... push hl
    push de
    push bc

    ex de,hl ;DE = top ... of (new) stack, HL=address of DEF ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... push hl
    push de
    push bc

    ex de,hl ;DE = top ... of (new) stack, HL=address of DEF ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... /> push hl
    push de
    push bc
    ex de,hl ;DE = top of ... (new) stack, HL=address of DEF ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... this:
    [CODE]EndDEFFN sbc hl,de ;carry will be always zero ... c,l ;DE=address of DEF FN parms, HL,BC=# of ... this:
    [CODE]EndDEFFN sbc hl,de ;carry will be always zero ... c,l ;DE=address of DEF FN parms, HL,BC=# of ...
    Einar Saukas Einar Saukas June 2012 Sinclair Basic
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... frame
    LD HL,0
    ADD HL,SP ; HL equ SP
    LD E,A
    ADD HL,DE ; HL is the first argument
    POP DE ; the return address in DE
    POP HL ; the old ... IX in the HL
    Raydac Raydac June 2012 Development
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... /> LD E,A
    ADD HL,DE ; HL is the first argument
    POP DE ; the return address in DE
    POP HL ; the old ...
    POP HL ; the return address in HL
    POP DE ; the old ... IX in DE
    LD ...
    Einar Saukas Einar Saukas June 2012 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 …

    ... BENCHMARK DATA POINTERS
    ld hl,benchmark_data

    ;DO IT ... !
    NextChar:
    ld b,(hl) ;grab row (0-23)
    inc hl
    ld a,(hl) ;grab character code
    ld de,benchmark_data
    sbc hl,de ;now HL has number of ...
    mcleod_ideafix mcleod_ideafix June 2012 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 …

    ... push bc
    push hl
    push de
    push af
    ld hl,ScreenTable
    add hl,de
    ld e,(hl)
    ld ...
    mcleod_ideafix mcleod_ideafix June 2012 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,(23631) ; CHANS
    LD DE,15
    ADD HL,DE ; HL=>'P ... ' output address
    LD DE,PROUT
    LD (HL),E
    INC HL
    LD (HL),D ...
    Jonathan Harston Jonathan Harston June 2012 Development
  • SUPER INPUTA couple days ago I searched for an "INPUT string" routine that I could use in Assembly programs and supported multiple lines, but I found none. Thus…

    ... bc
    pop hl
    ld de,(WORKSP)
    ld ... /> NOTEXT: ex de,hl
    ld (hl),$0d ;followed by ... hl,(STKBOT)
    ld de,(WORKSP)
    push de
    scf
    sbc hl,de ...
    Einar Saukas Einar Saukas June 2012 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 …

    ...
    ADD HL,HL
    ADD HL,HL
    ADD HL,HL
    ADD HL,DE[/code][/QUOTE ... 51200)
    ADD HL,HL
    ADD HL,HL
    ADD HL,HL
    [/CODE]
    ADD HL,HL
    INC H
    ADD HL,HL
    ADD HL,HL
    [/CODE ...
    Einar Saukas Einar Saukas June 2012 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 …

    ... to reach the address of HL+the offset which is ... stored in (HL) (although not necessary but I ... and then use the (HL) -not just HL- to jump to. Final ... (HL) can use just one byte ... ;7
    add hl,de ;11
    ld sp,hl ;6
    ret ...
    Hikaru Hikaru June 2012 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 …

    ...
    add hl,de
    ex de,hl
    LOOP1: ld (hl),a
    xor ...
    ld (de),a
    inc hl
    inc de
    djnz LOOP1 ...
    Battle Bunny Battle Bunny July 2012 Development
  • 64x48 full colour graphicsHow feasible is this? Could an interrupt-driven routine be used to, for example, fill the top two thirds with a 64x32 blocky picture and leave the bo…

    ...
    ADD HL,DE
    LD (CurrentLineStart),HL

    LD HL,(CurrentLineAttrs) ;next ... buffer data
    ADD HL,DE
    LD ... (CurrentLineAttrs),HL

    LD ...
    Ralf Ralf July 2012 Development
<1…16171819202122…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
sub 3.4K 6.2K
hl 6.2K 48K
de 9.7K 27.3K

Related Threads

  • Sort 2 byte words (x, y) on ypos, also question about swap (DE), (HL)Well that was a lot of debugging ;)<br /> <br /> But if you want a routine which takes an array of 16 byte words x, y and then sort them on y (igno…
  • Music on Tour de Force (Gremlin)Has this game really a music somewhere ?<br /> Perhaps the 48K bzz-bzz at the beginning of any level and/or for game over is considered "music" ?<br …
  • Scrabble De-luxe dsk image and SpinAnyone else tries loading the disc file of Scrabble De-Luxe into Spin?<br /> All I get is the loading screen keep appearing and disappearing - as if …
  • Viaje al Centro de la Tierra - questionsI would like to know the following informations about this game:<br /> <br /> 1) What does the title mean in English? I guess that the game is based …
  • Fantastic Voyage Sub PiecesI have a question regarding this game.<br /> They say there are 8 parts to the sub, but I only found the mouth one.<br /> <br /> Do we have to destro…
  • Fantastic Voyage Sub PiecesI have a question regarding this game.<br /> They say there are 8 parts to the sub, but I only found the mouth one.<br /> <br /> Do we have to destro…
  • How many T-states takes PUSH DE ?Hi.<br /> <br /> Just a quick one.<br /> According to z80.info docs, a PUSH DE should take 11 T-States to be executed.<br /> <br /> But WHAT if SP is…
  • Game featuring lots of sub games ?One game i love is the GBA game Warioware Inc. Basically lots of mini games to play.<br /> <br /> I know in Frankie GTH, Cosmic Wartoad (3), Pyjamar…

Related Searches

  • ld hl de
  • sub chase
  • return to basic hl
  • de spectrum
  • la diosa de cozumel
  • los amores de brunilda
  • call hl
  • best sub game
  • viaje al centro de la tierra
  • loading screen viaje al centro de la tierra
  • viaje al centro de la tierra screen
  • en busca de mortadelo
  • escuela de ladrones
  • slt format hl
  • 16 bit hl load
  • jp hl
  • panel de pon
  • ld bc hl
  • sjasmplus sub hl de
  • ex hl de

Copyright © 2024 World of Spectrum