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…15161718192021…34>
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... HL,STARPOS_X
    ADD HL,BC
    LD E,(HL)

    LD HL ... ,STARPOS_Y
    ADD HL,BC
    LD D,(HL ...
    SBC HL,DE
    SBC A,0
    SBC HL,DE
    LD ... /> LD E,A
    SBC HL,DE
    JR NC,RAND
    Digital Prawn Digital Prawn December 2008 Development
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... ][FONT=Arial]ld (32900),hl [/FONT][/SIZE][FONT=Arial][ ... [SIZE=2][FONT=Arial] ld de, 32 [/FONT][/SIZE][FONT=Arial ... [FONT=Arial] [SIZE=2]sbc hl,de[/SIZE][/FONT]
    [/code]

    Your SBC HL,DE will therefore become 1 less ...
    Dr BEEP Dr BEEP December 2008 Development
  • Why did the QL fail?Browsing some old magazines: an advert appeared for the QL, 128k of ram and 32 bit processor etc...also very cheap compared to other similar spec com…

    ... more 8 bit operations - ADD HL, DE takes 3 M-cycles and ...
    Winston Winston January 2009 Sinclair Miscellaneous
  • Clearing the Carry flagI'm reading that sometimes I may want to clear the carry before using ADC or SBC. A simple AND A or OR B will do. However, as I see it, for 8-bit ar…

    ... such option as:
    SUB HL, DE
    but there is
    BloodBaz BloodBaz January 2009 Development
  • Understanding the StackSorry folks. I guess I'm going to be a pain for a little while. Hope it's ok with everyone. I'm currently studying the stack and wrote the little pr…

    ... code you can always make DE (or any other 16 bit ... /> POP DE
    LD HL,PROG-HERE
    ADD HL,DE
    LD DE,SCREEN ...
    LD BC,END-BEGIN
    PUSH DE ...
    Patrik Rak Patrik Rak January 2009 Development
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... [SIZE=2][FONT=Arial] ld de, 32 [/FONT][/SIZE][FONT=Arial ... /> [FONT=Arial] [SIZE=2]sbc hl,de[/SIZE][/FONT]
    [/code]

    Your SBC HL,DE will therefore become 1 less ... xor a before the sbc hl,de, and it seems to work ...
    bigjon bigjon January 2009 Development
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... de,9
    add hl,de
    ld (hl),a
    inc hl
    ld (hl ... ),a
    ld de ... de,9
    add hl,de
    ld (hl),a
    inc hl
    ld (hl ... de,9
    add hl,de
    ld (hl),a
    inc hl
    ld (hl ...
    bigjon bigjon January 2009 Development
  • Making Horace play fair!Hi again Has anyone created a new or twiddled version of Hungry Horace that has a more fair screen 3 and 4? Or a version of the spiders where the f…

    ... /> ADD HL, HL
    ADD HL, HL
    ADD HL, HL
    LD DE, 6FD7h
    ADD HL, DE ... /> LD HL, 8000h
    ADD HL, DE
    ADD HL, DE
    ADD HL, DE
    JP ...
    John Elliott John Elliott April 2009 Games
  • Test program for 128k machinesThere is a Test Program for 16/48k machines: [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0008884&loadpics=3[/url] Is there a similar progr…

    ... count of bytes
    LD DE,$0000 ; set checksum to ... /> LAB_1:
    LD A,(HL) ; fetch a byte
    ... AND A
    SBC HL,DE ; compare with DE
    RET NZ ; ...
    Geoff Geoff September 2009 Sinclair Miscellaneous
  • 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? Cheers

    ... SBC HL,DE
    SBC A,0
    SBC HL,DE
    SBC HL,DE
    JR NC, ... rand16GotRand
    INC HL
    rand16GotRand:
    LD ...
    csmith csmith November 2009 Development
  • Machine Code Microdrive File LoaderI've been experimenting with transferring games to run from microdrive. Typically I like to see a loading screen while things are happening, and I li…

    ... ; clear carry flag
    ; sbc hl,de ; subtract
    ; ret nz ; if ... ix
    pop hl
    add hl,de
    ld de,hd_00
    ld ... ,(ix+$54)
    inc de
    add hl,de
    ;
    ; call $199d ...
    jp jp December 2009 Development
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... push bc
    push de
    push hl ; save registers
    ... 0
    ld hl, tune_data
    add hl, de
    ld a, ... (bdr_colour)
    ld e, (hl)
    ... ld hl, framecounter
    inc (hl)

    pop hl
    pop de< ...
    Paradigm Shifter Paradigm Shifter February 2010 Games
  • Help fix this keyboard read program?This code runs in an interrupt routine with DI. What would be the simplest way of making it so it doesn't auto repeat a keypress? [code]keys: ld a…

    ... the .setstate ret. Which uses hl, de and b. Loading b in ...
    FrankT FrankT February 2010 Development
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it. At the moment I'm grabbing the start address for each letter then printing them out one at a t…

    ... hl, hl
    add hl, hl
    add hl, hl ;number of char * 8
    ld de ... , font
    add hl, de ;HL now ... keeps adress of char gfx

    ld de ...
    Fikee Fikee March 2010 Development
  • Static vs stacked local variables in z88dkHello everyone. I'm doing a program for Spectrum 48KB with z88dk v1.8 (XX Mar 2008), and I eventually discovered that if your local variables in fun…

    ... />
    2) Use HL to compute the address of ... ld e,(hl)
    inc hl
    ld d,(hl) ; de = 16 bit ... />
    pop hl
    push hl ; hl = 16 bit int at ... /> pop hl
    push hl
    push bc ; hl = 16 ... br />
    ld hl,(_int16) ; hl = 16 bit var int16, ...
    Alcoholics Anonymous Alcoholics Anonymous April 2010 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 …

    ... every Spectrum character
    add hl,de ;is made up of 8 ... /> sla a
    or (hl)
    ld (de),a

    ;Inverse ... /> ;
    p_print: ld a,(hl)
    ld (de),a
    dec d ... /> ;
    p_print: ld a,(hl)
    ld (de),a
    inc d ...
    Turkwel Turkwel April 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... - AF,BC,DE,HL
    ; On Entry - HL Points to 8 ... /> ; add hl,hl
    ; add hl,hl
    ; add hl,hl
    ; add hl,de
    ; ... values]
    p_print1: push hl,de,de
    ;save off Address ... Screen Addresses (formerly in DE) into HL
    ld d,a ...
    Turkwel Turkwel June 2010 Development
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... hl,hl
    add hl,hl
    add hl,hl
    add hl,hl
    add hl,hl ... ;y*32
    add hl,de ... ;+#5800+x, so we got the address in hl ...
    push hl
    ld (hl),#80 ;left edge ...
    Shiru Shiru June 2010 Sinclair Basic
  • Arrays in asm ?Just following the idea to make the menu entirely in asm, how can i handle arrays in asm to store the each game loader to be loaded ? thx in advance

    ... 1,1)

    LD HL,start_of_array - 25 - 5 ; you will ... (=1*25+5)
    LD DE,25 ; length of 5 records ... HL,DE
    DJNZ LOOP1
    LD DE,5
    LOOP2:
    ADD HL,DE ...
    DEC C
    JR NZ,LOOP2

    HL now ...
    Dr BEEP Dr BEEP June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... hl,hl
    add hl,hl
    add hl,hl
    add hl,hl
    add hl,hl ... ;y*32
    add hl,de ... ;+#5800+x, so we got the address in hl ...
    push hl
    ld (hl),#80 ;left edge ...
    Shiru Shiru June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... ld a,(hl)
    inc hl
    ... .loop2
    pop de

    ... de
    ld h,0
    ld l,d
    add hl,hl ...
    add hl,hl
    add hl,hl
    add hl,hl
    add hl,hl ... ;Y*32
    ld d,#58
    add hl,de ...
    Shiru Shiru June 2010 Sinclair Basic
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... got to:

    push hl,de,de

    Which definitely isn ... for
    PUSH HL
    PUSH DE
    PUSH DE

    Or ...
    Gedlion Gedlion June 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... got to:

    push hl,de,de

    Which definitely isn ... :

    PUSH HL
    PUSH DE
    PUSH DE

    [I ... was part of that push hl,de,de code. I forgot to amend ...
    Turkwel Turkwel June 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... /> add hl,hl
    add hl,hl
    add hl,hl
    add hl,de
    ... /> p_print1: push hl
    push de
    push de
    ;save ... Screen Addresses (formerly in DE) into HL
    ld d, ... and d
    or (hl)
    ld (hl),a
    ;Similar ...
    Turkwel Turkwel June 2010 Development
  • Machine Code Microdrive File LoaderI've been experimenting with transferring games to run from microdrive. Typically I like to see a loading screen while things are happening, and I li…

    ... hl,romtabs-(rom2tab-rom1tab)
    ld de,rom2tab-rom1tab
    tabinc add hl,de ... ix
    pop hl
    add hl,de
    ld de,hd_00
    ld ... ,(ix+$54)
    inc de
    add hl,de
    ;
    call lvmch ...
    jp jp June 2010 Development
  • Beepola v1.01A new version of Beepoa, v1.01, is now available for download from:- [URL]http://freestuff.grok.co.uk/beepola/Beepola_v1.01.00.zip[/URL] (650KiB) …

    ... common registers:
    //AF,AF',HL,HL',DE,DE',BC,BC',IX and IY ...
    ccowley ccowley July 2010 Announcements
  • Silly question on Russian clonesIv a silly question to ask... Iv been looking at web links about Russian ZX clones with envious eyes, wondering if I might spend money on something…

    ... ; [url]http://translate.google.de/translate?hl=de&sl=ru&tl ...
    Shockwav3 Shockwav3 July 2010 Hardware
<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
ex 4.4K 7K
hl 6.2K 48K
de 9.7K 27.3K

Related Threads

  • deus ex and deus ex invisible war ?3 on steam.Just downloading these two games at the mo. I think there are a few fans of these games on here, if you want to grab em there cheap on steam at the m…
  • 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…
  • Deus Ex MachinaAm I the only person who loved Deus Ex Machina on the speccy?<br /> Just wondering.<br /> <br /> I've even got the soundtrack that i downloaded as mp…
  • 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 …
  • An ex-Bloodwych fanatic speaks...I've got a s**t-load of maps that I carefully (and painstakingly) made back in the day, with the intention of sending them into YS, only for the maga…
  • 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 …
  • Anyone here an ex speccy-journalist or programmer?Anyone here used to write for the Spectrum magazines or program the Speccy? Just curious ;)
  • ex-YU homepage updatedThe ex-YU Homepage has been updated, after almost 2 years. Added some really nice new stuff, including some commercial games that were developed by e…
  • 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 …

Related Searches

  • ld hl de
  • return to basic hl
  • de spectrum
  • la diosa de cozumel
  • los amores de brunilda
  • call hl
  • 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
  • deus ex machina
  • caf turco com os ex jugoslavos
  • slt format hl
  • 16 bit hl load
  • jp hl
  • ex af carry
  • sub hl de
  • sjasmplus sub hl de
  • ex sp hl

Copyright © 2024 World of Spectrum