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>
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... CHANS in HL
    ex de, hl
    inc hl
    inc hl ; now HL = allocated ... address + 1
    sbc hl, de ...
    Einar Saukas Einar Saukas August 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... CHANS in HL
    ex de, hl
    inc hl
    inc hl ; now HL = allocated ... address + 1
    sbc hl, de ...
    Einar Saukas Einar Saukas August 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... CHANS in HL
    ex de, hl
    inc hl
    inc hl ; now HL = allocated ... address + 1
    sbc hl, de ...
    Einar Saukas Einar Saukas August 2011 Development
  • Casstte 50 compilation emulator game questionHi - Hope this is the right place to put this question? Wasn't sure? But I have just downloaded the 'Cassette 50' compilation from wos but can't w…

    ...
    SCF
    SBC HL, DE ;length of old program & ...
    LD HL, ($5C4B) ;VARS
    SBC HL, DE ;length of old ... /> LD SP,HL ;undo USR
    EX DE, HL ;HL= PROG
    ...
    Battle Bunny Battle Bunny August 2011 Games
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... ;MAKE_ROOM 00048
    POP DE ; HL=last of room
    ... RR E
    LD (HL),"1" ;as ASCII into $
    LD (HL),"0"
    b3 DEC HL ;from behind ... br /> INC HL ;undo last dec
    EX DE,HL ;DE=start
    ...
    roko roko September 2011 Sinclair Basic
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ...
    5b1a ed52 SBC HL,DE
    5b1c d8 RET ... 5b36 19 ADD HL,DE
    5b37 2b DEC HL
    5b38 ...
    5b6d ed52 SBC HL,DE ; go back to the beginning ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... hl,hl ; ASCII code * 8
    add hl,hl
    add hl,hl

    ld de ... hl,de

    ex de,hl ; Put the result in DE ... /> inc de

    ld a,(de)
    ld (hl),a ... bc
    pop de
    pop hl ;

    R-Tape R-Tape September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... hl,hl ; ASCII code * 8
    add hl,hl
    add hl,hl
    ld de,15360 ... hl,hl ; ASCII code * 8
    add hl,hl
    add hl,hl
    ld de, ... 15360 ; Use immediate value, faster!
    add hl,de ; now HL ...
    Einar Saukas Einar Saukas September 2011 Development
  • a bit of coding helphi all over the past few weeks i have been busy getting to grips with recracking tr-dos stuff for the plus-d and was after a little bit of help what…

    ... hl,destination_table
    add hl,de
    add hl,de
    ld a,(hl)
    inc hl ...
    ld h,(hl ... /> ld l,a
    jp (hl)


    ...
    defw rtn0 ; address for de=0
    defw rtn1 ; address ...
    Alcoholics Anonymous Alcoholics Anonymous October 2011 Development
  • a bit of coding helphi all over the past few weeks i have been busy getting to grips with recracking tr-dos stuff for the plus-d and was after a little bit of help what…

    ... the eight values held in DE are just numerical values and ... /> jr z,aloop2
    sbc hl,de
    jr nz,aloop1
    jp (hl)
    ;
    atable dw 1802 ...
    Turkwel Turkwel October 2011 Development
  • a bit of coding helphi all over the past few weeks i have been busy getting to grips with recracking tr-dos stuff for the plus-d and was after a little bit of help what…

    ... the eight values held in DE are just numerical values and ... /> jr z,aloop2
    sbc hl,de
    jr nz,aloop1
    jp (hl)
    ;
    atable dw 1802 ...
    i also need the hl value (which in this case ...
    djgarf djgarf October 2011 Development
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ...
    pop hl ;HL=runtime location
    ld de,LOCATE ;DE=assembled location
    and a
    sbc hl,de
    push hl ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... it
    ld de,5
    add hl,de ;Point to address of ... /> ld e,(hl)
    inc hl
    ld d,(hl)
    push de
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • 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(…

    ... a
    sbc hl,de
    ld b, ... br /> ld sp,hl
    ex de,hl ;DE = top of ... pop hl
    ld sp,hl ;restore old stack (HL,DE pushed ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... /> push ix
    pop de
    add hl,de

    cpdr ;check ... /> pop de
    add hl,de
    add hl,bc
    add hl,bc ;HL=opcodes ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • z88dk stdio fopenI'm trying to write a fcntl library, based on the p3.lib one. Looking at fopen(), it calls freopen_z88() which turns the mode string into mode and f…

    ... is the table index in HL with other registers set up ... ]
    fputc:

    ld hl,STDIO_MSG_PUTC ; = 0, other messages in ... />
    ld de,microdrive_jptbl
    add hl,de
    jp (hl)

    microdrive_jptbl ...
    Alcoholics Anonymous Alcoholics Anonymous November 2011 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ...
    add hl,hl
    add hl,hl
    add hl,de
    add hl,hl ; 0..9 ...
    Patrik Rak Patrik Rak December 2011 Development
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    ... 33000
    ld hl,22528 ;point hl at start of ... hl),96 ;96 green paper black ink bright
    ld de,22529 ;de ... br /> ld de,16 ;add this to hl to meet start ... across
    loop ld (hl),64 ;poke value in: ... 'b' times
    add hl,de ;move down to next row ...
    R-Tape R-Tape December 2011 Development
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    ... 33000
    ld hl,22528 ;point hl at start of ... hl),96 ;96 green paper black ink bright
    ld de,22529 ;de ... br /> ld de,16 ;add this to hl to meet start ... across
    loop ld (hl),64 ;poke value in: ... 'b' times
    add hl,de ;move down to next row ...
    R-Tape R-Tape December 2011 Development
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... ,L
    ADD HL,HL
    ADD HL,HL
    LD C, ... HL,BC
    LD (SEED),HL
    LD HL,(SEED+2)
    ADC HL,DE ...
    RES 7,H
    LD (SEED+2),HL
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • RND CommandsExactly how random are they? Reason I ask is I'm using 4 of them to generate a random number, the value of which then assigns movement commands to f…

    ... ,L
    ADD HL,HL
    ADD HL,HL
    LD C, ... HL,BC
    LD (SEED),HL
    LD HL,(SEED+2)
    ADC HL,DE ...
    RES 7,H
    LD (SEED+2),HL
    Wookiee Wookiee January 2012 Sinclair Basic
  • Using ATTR detection in machine codeIs there a ROM routine that can be called that reads the ATTR value of a co-ordinate?

    ... to attribute address
    ld hl,22528 ;start of attributes, xy ... into the low byte of hl
    ld a,(vertical_coord) ; ... bit addition here, hence 'de'
    add hl,de ;so add 32 the ... br /> miss ret ;return with hl pointing at screen attribute address ...
    R-Tape R-Tape January 2012 Development
  • Fairlight's use of LDIRYS, comparing Fairlight and Nightshade, said: [quote]Fairlight is much more interesting even though the techniques that Bo Jangeborg uses for screen…

    ... was faster than an ADD HL,DE, and avoided the need for ...
    obo obo January 2012 Sinclair Miscellaneous
  • Request: photo of 16k/+2 SpeccyI'm currently writing an article for a german retro-themed website called the equivalent of "videogame stories" (link [URL="http://www.videospielgesc…

    ... =n&prev=_t&hl=de&ie=UTF-8& ... =http%3A%2F%2Fwww.videospielgeschichten.de%2Fspeccy.html"]here you go ...
    XTM of TMG XTM of TMG January 2012 Sinclair Miscellaneous
  • Request: photo of 16k/+2 SpeccyI'm currently writing an article for a german retro-themed website called the equivalent of "videogame stories" (link [URL="http://www.videospielgesc…

    ... =n&prev=_t&hl=de&ie=UTF-8& ... =http%3A%2F%2Fwww.videospielgeschichten.de%2Fspeccy.html"]here you go ... Artikel: [url]http://www.videospielgeschichten.de/speccy_3.html[/url]
    Speccyman Speccyman January 2012 Sinclair Miscellaneous
  • M/C mathsHow would I do the equivalent of LET A=B*7 in machine code?

    ... 's something that does HL=DE*A:[code] ld hl,0 ; starting sum ... in A
    loop: add hl,hl ; move up a bit (sum ... 't set
    add hl,de ; add DE to current sum
    no_add ...
    obo obo January 2012 Development
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... correct. That way, DE = HL + 1 (as HL = $4000 and DE = $4001), so in ... each loop you copy from HL de DE. As there's a 0 ... in HL (as in ld (HL), L, with L ...
    na_th_an na_th_an January 2012 Sinclair Basic
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... correct. That way, DE = HL + 1 (as HL = $4000 and DE = $4001), so in ... each loop you copy from HL de DE. As there's a 0 ... in HL (as in ld (HL), L, with L ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... UnShrinkScreen: ;HL points to the screen definition
    ;DE points to ...
    ;Affected registers: AF, HL, DE, BC,IX

    ... /> RLEPut1byte ld (de),a
    inc de
    dec ix ...
    mcleod_ideafix mcleod_ideafix January 2012 New game ideas
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... UnShrinkScreen: ;HL points to the screen definition
    ;DE points to ...
    ;Affected registers: AF, HL, DE, BC,IX

    ... /> RLEPut1byte ld (de),a
    inc de
    dec ix ...
    DaRkHoRaCe DaRkHoRaCe January 2012 New game ideas
<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
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