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…18192021222324…34>
  • 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
  • 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?

    ... calculation (value and result in HL):[code]ld d,h
    add hl,hl
    add hl,hl
    add hl,hl
    sbc hl,de[/code]
    obo obo January 2012 Development
  • 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
  • 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
  • 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
  • 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
  • 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
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... )
    ld h,(ix+62) ;HL=validation table base address
    ld e,a
    add hl,de ;HL=validation table key code address ... +28) ;A =type
    and (hl)
    call $2d28 ;STACK_A
    Battle Bunny Battle Bunny June 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
  • 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
<1…18192021222324…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