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.013s
<1…16171819202122…34>
  • Z80 'EXX' ConfusionI was working on a little Z80 routine last evening, and, having run out of registers, resorted to sticking one of the values into a memory location a…

    ... the point of EX (SP),HL was ...[/QUOTE]

    Printing ... ,(HL)
    INC HL
    AND A
    JR Z,PrTextEnd
    CALL ... WRCH
    JR PrTextLp
    .PrTextEnd
    EX (SP),HL
    RET

    CALL PrText
    DEFM ...
    Jonathan Harston Jonathan Harston December 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…

    ... /> push hl ; and preserve
    ;
    call main1
    ;
    pop hl ; manipulate ... ; cheeky hack
    inc (hl)
    call loadit ; now load code file ...
    ;
    ld hl,filenam
    inc (hl)
    call loadit ; now load ...
    jp jp December 2009 Development
  • Memory concerns with z88dkI've retaken my old spectrum project and sadly I've reached a dead end very fast. I'll try to explain my worst problem in a few lines. I'm not a vet…

    ... you would make a call to "sbrk(40000,10000);" ... br /> push hl

    XREF music_routine
    call music_routine

    pop hl
    pop ... table with the memset() call. This will place $ ...
    Alcoholics Anonymous Alcoholics Anonymous December 2009 Development
  • Memory concerns with z88dkI've retaken my old spectrum project and sadly I've reached a dead end very fast. I'll try to explain my worst problem in a few lines. I'm not a vet…

    ...
    push de
    push hl

    ; code to page ...

    XREF music_routine
    call music_routine

    ; code to ... top 16k

    pop hl
    pop de
    pop ...
    Alcoholics Anonymous Alcoholics Anonymous December 2009 Development
  • How do I know where my C compiler is putting my variable?Let me show you my code. I am writing a Z80 emulator (z80.c) which sets up a bit of shared memory for communication with another process. Well, I got…

    ... ;[/b]. Then after the shmat() call, add the statement [b]pbl_ctrl ... difference in Z80 assembler between HL and (HL).

    If I ...
    wilsonsamm wilsonsamm December 2009 Chit chat
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... not critical that you "CALL 5633" instead of "CALL 0x1601" it's ... />
    [code]
    ; Enter with HL as the address of the ... br /> .loop
    ld a, (hl) ; fetch char to print
    inc hl ; next byte
    jr .loop ...
    Winston Winston December 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... /> ld a, 2
    call 0x1601 ; set the channel
    inc hl ; next byte
    jr . ... br /> ld hl,str
    ld a, 2
    call 1601h ; ... set the channel
    loop
    ld a, (hl) ; ...
    xyzzy xyzzy December 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... [CODE]

    ; Enter with HL as the address of the ... br /> ld hl,str
    ld a, 2
    call 1601h ; ... set the channel
    loop
    ld a, (hl) ; ... print the char
    inc hl ; next byte
    jr ...
    jonathan jonathan December 2009 Development
  • Question on copying screen bufferHi, Al my prevoius games were copying graphics directly to screen memory starting at 16384. Now I'm experimenting with screen buffer where I could d…

    ... setup
    call gentable
    ld hl,$4ded ;restore instruction ... inc hl
    ld (hl), d
    inc hl
    call updatescreenaddress ... ;address table
    ld hl, $ee03 ;buffer start
    org $8477
    call setup

    org ...
    Bandit Bandit December 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... partner!",0
    ;
    ld hl,60000
    ;
    loop2 ld ... /> WrtMsg pop hl
    ld a,(hl)
    inc hl
    push hl

    Also looping HL down from 60,000, each ... br /> ld a,2
    call 5633 ;as in Johnathan Cauldwell ...
    xyzzy xyzzy January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... for a bit
    call 6683 ;print bc
    ... redundant too, providing the call to 6683 doesn't ... (5C3Ch),a
    ;
    call WrtMsg
    defm 16,4 ... br />
    dec hl
    ld a,h
    hl
    ld a,(hl)
    inc hl
    push hl
    Chris Pile Chris Pile January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... ld (5C3Ch),a
    ;
    call WrtMsg
    defm 16,4 ... !",0
    ;
    ld hl,60000
    ;
    loop2 ...
    ;
    dec hl
    ld a,h
    hl
    ld a,(hl)
    inc hl
    push hl
    HL looping.. nice one - ...
    xyzzy xyzzy January 2010 Development
  • Anybody got a hack for PAW'd games?Has anybody got a hack to browse the text in PAW'd games?

    ... a,2
    call $1601

    ld hl,40000 ;put address ... here
    aaa ld a,(hl)
    cpl
    cp $a5 ... /> rst $10
    bbb inc hl
    ld a,h
    Bandit Bandit January 2010 Sinclair Miscellaneous
  • 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…

    ... de
    push hl
    call keys ;
    pop hl ; Retrieve the register ...
    FrankT FrankT February 2010 Development
  • 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…

    ... copy of the state last call and compare so we can ... /> keys:
    ld hl, keyYUIOP
    ld b, (hl) ; Get last keypress ... some spectrum models
    ld (hl), a ; Save keystate this time ...
    BloodBaz BloodBaz February 2010 Development
  • Character scrollingOk, first I'd like to say that I'm not looking for a complete routine (but that might help) because I am hoping to write it myself and learn a bit mo…

    ... ld (FillScrLinesPtr), de
    call GetCellDown
    djnz FillScrLinesLoop
    ld (ScrollDownPtrDest), hl
    inc hl
    inc hl
    ld ( ... /> ld (ScrollDownPtrDest), hl
    inc hl
    inc hl
    ld (ScrollDownPtrSrc ...
    0sAND1s 0sAND1s February 2010 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…

    ... WorkSPLoop:
    ld a,(hl) ; type index (or 0xff ... !

    push hl

    ld ... h,SPTypes / 0x100
    call JumpHL

    ... /> JumpHL:
    ld a,(hl)
    inc l
    ...
    frobush frobush February 2010 Games
  • Z80 compressorIs there one available? Is it any good? Peeps have been suggesting we should look into this, so here's a new thread! I'd do the compressor on the …

    ... . Just ld hl, from, ld de, too, then call the depacker. It ...
    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…

    ... />
    ;test
    ld hl, to_print
    call text
    ret



    ;HL = text adress ... , a
    add hl, hl
    add hl, hl
    add hl, hl ;number of char ...
    Fikee Fikee March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ...
    [/code]

    My call from table used in ZX81EMUL ...
    LD H,(HL) ; Fetch Highbyte
    JP (HL) ; jump to routine ...
    Dr BEEP Dr BEEP March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... /> WorkSPLoop:
    ld a,(hl) ; type index (or 0xff ... !

    push hl

    ld ... / 0x100

    call JumpHL

    pop ... /> JumpHL:
    ld a,(hl)
    inc l
    ...
    frobush frobush March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... )
    ld hl, $E9E1
    ld (tmpspc), hl
    call tmpspc
    hlhere ... the address of "hlhere" in HL. I use this in relocatable ... whatnot, often doing a PUSH HL / POP IX combo, to give ... noting though that when you call code via a USR statement ...
    Marko Marko March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... frame
    call l_jpix ; call some function passed ... /> ld hl,graphic_address
    ld ix,graphic_address_char_to_left_of_this_one
    call sprite_draw_function ... sets hl=sprite_char_garphic_address, ix=sprite_char_to_left_graphic_address and a call is ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Need help with small asm piece of codeI could use some help. I have a number in A register. It can be 1,2,4 or 8 (always only one bit is set) I need to make number transformation: 1 ->…

    ... it!

    [code]
    call convert

    defb 0 ... ,1

    convert pop hl
    add a,l
    ld a,(hl)

    [/code]

    Chris Pile Chris Pile March 2010 Development
  • Alice in WonderlandThe new Tim Burton film, Alice in Wonderland, is awful. My reasons for saying this, and warning, spoilers are in this hidden text: [spoiler]Aside f…

    ... ://www.google.co.in/search?hl=en&safe=off& ... />
    And I wouldn't call the characters engaging, as their ...
    ewgf ewgf March 2010 Chit chat
  • 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…

    ... time set up per function call of #1. This method is ... /pops.

    pop hl
    push hl ; hl = 16 bit int at ... bc
    pop hl
    push hl
    push bc ; hl = 16 bit ... so:

    ld hl,(_int16) ; hl = 16 bit var int16, 16 ...
    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 …

    [code]
    ; PRINT AT Y,X full screen
    ; Y = B-reg, X = C-reg
    ; 0
    Dr BEEP Dr BEEP 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 …

    Now with saving temporary colours

    [code]
    ; PRINT AT Y,X full screen
    ; Y = B-reg, X = C-reg
    ; 0
    Dr BEEP Dr BEEP April 2010 Development
  • Places of Speccy interest in Google Street ViewI've noticed that there are a few cities in the UK where Street View is available on Google Maps. No idea since when, I haven't used this feature muc…

    ... =q&source=s_q&hl=en&geocode=&q ... =q&source=s_q&hl=en&geocode=&q ... the corner and we still call Faraday St "Timex Brae" even ...
    VincentAC VincentAC April 2010 Chit chat
<1…16171819202122…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
call 14.3K 24.3K
hl 6.2K 48K

Related Threads

  • Call for identificationDoes anyone here know for 100% sure which issue carried "The YS Trainspotters Guide to<br /> Playing Games" booklet?<br /> The SPOT*ON magazine datab…
  • OT: World Exclusive - US Election. I call Kerry.Yes folks, here it is another WOS world exclusive, <br /> John Kerry has won the US election! it's been a close race, but renouned one man news angen…
  • Permits - call for helpIt's time for the sort-of-annual ritual where I ask for help on the permissions project (and you all ignore it ;) )<br /> <br /> If you hold any Spec…
  • Call Of Duty I Can't Start New Server HELP pleaseHello my problem is when I want to start new server I get a box on screen that says <br /> <br /> Script compile error<br /> ( see console for detail…
  • Now That's What I Call An Arcade ConversionA couple of months ago I modded my Xbox so it can play all the old arcade games and other consoles. I was playing the arcade Commando and enjoying i…
  • Call of Cthulhu RPGI bought the game book many years ago but sadly, I could never find anyone to play it with.<br /> <br /> Has anyone here ever played it? I'd like to …
  • First Speccy game with gfx you can call realisticAt the beginning there were games with poor gfx. But later, one day you loaded a game and wow! what a difference - good, realistic gfx.<br /> So - te…
  • Roll Call for CGE UK 2005Despite everything conspiring against me to stop me from getting to Croydon a week on Saturday, like my specially bought-for-lugging-stuff-to-the-sho…
  • Call Of Cthulhu : Dark Corners Of The EarthIt's finally being released on Friday (assuming they don't put it back yet another few weeks). I really can't wait to get this. It both looks and sou…
  • Who's seen the silent Call of Cthulhu film?Just stumbled across it and thought it looked great. Should I purchase?<br /> <br /> Some Clark Ashton Smith films would be nice. Have any of his b…

Related Searches

  • ld hl de
  • return to basic hl
  • call address held in register
  • call address in bc
  • call me an asshole
  • call protect
  • ld a 0 call 5633
  • tr dos call
  • call 1378
  • slt format hl
  • 16 bit hl load
  • call 1366
  • call 8252
  • call 654
  • jp hl
  • 3 dos rom call page memory
  • call chaining
  • chain call
  • call 6683
  • ld bc hl

Copyright © 2024 World of Spectrum