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.008s
<1…21222324252627…34>
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... = current stack pointer
    push bc
    pop ix ;IX = entry address ... ;SP now equals chk
    push de ;First word on stack ...
    ei

    push ix
    pop hl ;HL = entry address ...
    out (c),a
    pop hl ;HL = old stack pointer ...
    John Elliott John Elliott May 2010 Sinclair Basic
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... , return value = 1
    48941 PUSH BC ;store return value
    48957 POP BC ;Set back our return ...
    spodula spodula May 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…

    ... put down
    p_print0 push af
    ;save off ... /> jr c,p_print1
    pop af
    ret
    ... Y values]
    p_print1: push hl,de,de
    ... boundary
    p_print3: pop hl
    ;POP one of the Screen ... a merge]
    p_print4 pop de
    inc d ...
    Turkwel Turkwel June 2010 Development
  • Assembly OUT commandHello, im trying to send a signal to the output using this command. LD A,2 OUT (0FEh),A ---> This will set the border colour to RED The problem i…

    ... '
    so1 PUSH DE ;now loop
    PUSH BC
    PUSH HL
    POP HL
    POP BC
    POP DE
    INC ...
    roko roko June 2010 Development
  • Rom Routines list ?Exist some document that show detailled the routines on the spectrum ROM ? Ad for the Spectrum +3 ? are they the same or exist more ? Example i was …

    ... call the routines:

    push bc
    ld bc,#5d70
    arfgh arfgh June 2010 Sinclair Basic
  • Rom Routines list ?Exist some document that show detailled the routines on the spectrum ROM ? Ad for the Spectrum +3 ? are they the same or exist more ? Example i was …

    but always when i call a ROM routine i must do the same pushes and pops ? The same ?

    push bc
    ld bc,#5d70
    arfgh arfgh June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... b,2
    loop
    push bc
    ld a,0 ... $0c0a ;print the message
    pop bc
    djnz loop
    arfgh arfgh June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ...

    printChr
    push hl
    push de
    ex de ...
    org $-2
    pop de
    pop hl
    inc l ...
    Shiru Shiru June 2010 Sinclair Basic
  • Which assembler do you recommend to a (complete) newbie?OK, I am re-dusting my assembler books and want to re-dig into the Wonderful World of Assembly. Just wondering which assembler to go with. I reme…

    ... ; (etc)

    PUSH BC
    PUSH DE
    PUSH HL

    asm

    POP HL
    POP DE
    POP BC

    Gedlion Gedlion June 2010 Sinclair Miscellaneous
  • How works the Line-Draw ROM routine ?The 'complete spectrum rom dissasembly.pdf' show info related to the draw rom subroutine. The Line-Draw require two sets of parameters: X,Y coordinat…

    ... ,1
    push hl
    call $24b7
    pop hl
    [/QUOTE ...
    arfgh arfgh June 2010 Sinclair Basic
  • How works the Line-Draw ROM routine ?The 'complete spectrum rom dissasembly.pdf' show info related to the draw rom subroutine. The Line-Draw require two sets of parameters: X,Y coordinat…

    The draw routine destroys the alternate HL register (HL'), not the main one.
    So instead of

    push hl
    ...
    pop hl

    you need to do

    exx
    push hl
    exx
    ...
    exx
    pop hl
    exx
    mheide mheide June 2010 Sinclair Basic
  • How works the Line-Draw ROM routine ?The 'complete spectrum rom dissasembly.pdf' show info related to the draw rom subroutine. The Line-Draw require two sets of parameters: X,Y coordinat…

    ... />
    [CODE]
    exx
    push hl ; preserve value of HL ... stack instructions)
    exx
    pop hl ; restore value of HL ... first thing they do is pop values into registers. To use ...
    GReW GReW June 2010 Sinclair Basic
  • How works the Line-Draw ROM routine ?The 'complete spectrum rom dissasembly.pdf' show info related to the draw rom subroutine. The Line-Draw require two sets of parameters: X,Y coordinat…

    ... />
    [CODE]
    exx
    push hl ; preserve value of HL ... stack instructions)
    exx
    pop hl ; restore value of HL ... first thing they do is pop values into registers. To use ...
    Dr BEEP Dr BEEP June 2010 Sinclair Basic
  • How works the Line-Draw ROM routine ?The 'complete spectrum rom dissasembly.pdf' show info related to the draw rom subroutine. The Line-Draw require two sets of parameters: X,Y coordinat…

    ... /> [/QUOTE]

    You can push your parameters onto the calculator ... return-stack, accessed using the PUSH and POP instructions); but in this ...
    GReW GReW June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... all.

    next_scanline:
    push bc ; Free up a register ... />
    inc e

    pop bc
    inc bc
    ajmoss ajmoss June 2010 Sinclair Basic
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... ;BC=flag OK
    l_bfc6: push bc ; 49094 197 ;save status ...
    ei ; 49115 251
    pop bc ; 49116 193 ;restore status ...
    Battle Bunny Battle Bunny 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. …

    ...

    drawArea
    push bc
    push hl

    ;first ... />
    fillAttr0
    push bc
    push hl
    ld b ... in hl

    pop bc
    push bc

    ... />
    fillSolidLine
    push bc
    push hl
    ld a ...
    Shiru Shiru June 2010 Sinclair Basic
  • Obfuscated code ideaThe instructions [b]SUB A[/b] and [b]XOR A[/b] both have the effect of setting the accumulator to zero. The only difference between them is that [b]…

    ... /> [code]SUB A
    PUSH AF
    POP BC[/code] sets BC ... = 2, while [code]XOR A
    PUSH ... AF
    POP BC[/code] sets BC ...
    Jonathan Harston Jonathan Harston 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. …

    ...

    drawArea
    push bc
    push hl

    ;first ... />
    fillAttr0
    push bc
    push hl
    ld b ... in hl

    pop bc
    push bc

    ... />
    fillSolidLine
    push bc
    push hl
    ld a ...
    Shiru Shiru June 2010 Sinclair Basic
  • KING OF PONG: Pong revisitedHello everybody. I'm proud to announce you that my last personal project for the ZX Spectrum, "KING OF PONG" is available to download here at WOS si…

    ... , $0000
    b8d6: push hl
    b8d7: ld hl ... $c020
    b8de: push de
    b8df: push hl
    b8e0: ... ld hl, $0000
    b8e3: push hl[/code]

    ... /> ld ($fc93),hl
    push hl

    ld ... ld ($b3f8),a
    bbb pop hl
    ret
    ...
    Bandit Bandit 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. …

    ... position on screen
    push de ;remember to draw ... loop2
    pop de

    showCursor
    push de
    ... the attribute area
    pop de

    ... /> .loop0
    push bc
    push hl
    ld ... /> djnz .loop1
    pop hl
    ld c,# ...
    Shiru Shiru June 2010 Sinclair Basic
  • The Spec-chum 100 Push Ups challengeHi Spec Chums! I found this website last night, which says you can train to do 100 push ups in 6 weeks: [url]http://hundredpushups.com/[/url] It h…

    ... like it was going to pop. Not sure what I've ... a result of all the push ups, or maybe I've ...
    GreenCard GreenCard June 2010 Chit chat
  • The Spec-chum 100 Push Ups challengeHi Spec Chums! I found this website last night, which says you can train to do 100 push ups in 6 weeks: [url]http://hundredpushups.com/[/url] It h…

    ... like it was going to pop. Not sure what I've ... a result of all the push ups, or maybe I've ...
    Klepto Klepto June 2010 Chit chat
  • 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…

    ... revamped for speed to use push and pop (and it's 95 ...
    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…

    ... /> push bc
    ld a,"A"
    call print_char
    pop bc ... to put down
    p_print0 push af
    ;save off ... values]
    p_print1: push hl
    push de
    push de
    ;save ... boundary
    p_print3: pop hl
    ;POP one of the Screen ...
    Turkwel Turkwel 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) …

    ... pressed

    PUSH HL
    CALL BEEPIT ; ... br />
    ; now to push Our duration Value and multiple ...
    PUSH BC

    ... POP BC

    LD A,C
    CALL $2D28; Push ...
    kgmcneil kgmcneil June 2010 Announcements
  • 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…

    ... +249
    ; push bc
    ; call print_char
    ; pop bc
    ; ld ... off bottom of screen
    push bc
    ;save off Y ... Y\X values used
    pop bc
    ;get the Y ...
    Turkwel Turkwel June 2010 Development
  • Sprite MaskingI was looking at the sprites in some games, and noticed they have sprite followed by mask. Usually a row at a time (so the mask is sort of interleave…

    ... the stack pointer and using push and pop, as I have for ...
    Gedlion Gedlion June 2010 Development
  • Sprite MaskingI was looking at the sprites in some games, and noticed they have sprite followed by mask. Usually a row at a time (so the mask is sort of interleave…

    ... the stack pointer and using push and pop, as I have for ...
    ajmoss ajmoss June 2010 Development
  • Sprite MaskingI was looking at the sprites in some games, and noticed they have sprite followed by mask. Usually a row at a time (so the mask is sort of interleave…

    You know it does occur to me that that might be it:

    load 2 bytes of sprite, shift it push onto stack
    load 2 bytes of mask, shift it...

    use mask, pop, use sprite.

    That works as an algorithm..
    Gedlion Gedlion June 2010 Development
<1…21222324252627…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 9:50AM
  • Cooperative Games.
    harriusherbartio on 9:27AM
  • Happy 40th Birthday to the Amstrad CPC464!
    zx1 on 9:02AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Celebrity deaths...
    mel the bell on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
push 4.9K 12.7K
pop 6.4K 13.2K

Related Threads

  • Push/Pop methodMachine code question:<br /> Could somebody explain, how do we use the stack in assembler to copy data from one place of memory to another?<br /> I'v…
  • Push-Push Penguin Online HighScores UpdateHey all! <br /> <br /> If you like Speccy games then you will probably like this one. It is basically a Pengo remake with A LOT of extras. This one i…
  • Push/Pop data copyingWe all know that stack pointer cheese and push/pop is faster to move data than LDIR - which in turn is slower than unrolled LDI's anyway.<br /> <br /…
  • Trouble with rainbow effect push/popI'm having a bit of bother getting my rainbow graphics to behave themselves.<br /> <br /> Basically I want a rainbow effect to last for say 4 seconds…
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions:<br /> [code]<br /> LD HL,16384<br /> <br /> …
  • Wanted: More recent games that push Spectrum technologyAs topic, I'd love to see fairly new games produced by active groups with effects never seen before from the generation of commercial stuff in the 80…
  • Pop star game ?Anyone know the name of this game ? It doesnt seem to be the Pop Star game in the archive<br /> <br /> It must have been a very old game as the grap…
  • 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…
  • info needed from Pop.Comp.Weekly 14&21 Nov'85Does anyone have the Popular Computing Weekly issues for 14th &amp; 21st November 1985? There should be a listing for a Spectrum turbo load/save rout…
  • Help with Christmas Pop songs in German Spanish and ItallianI am organinsing a Christmas party for a rock climbing club wich I help run... our club includes German, Spanish and Itallian members I was wondering…

Related Searches

  • push
  • push scrollinb
  • push scrolling
  • push off error
  • push pop to the screeb
  • push pop to the screen
  • push scrollers
  • block copy push pop
  • pop fix
  • pop 2a
  • fast push pop copy
  • fast block copy push pop
  • fast block copy push pop chase hq
  • fast copy push pop chase hq
  • chase hq push pop
  • push pop copy chase hq
  • fast copy push pop
  • copy push pop
  • push pop xy
  • screen copy push pop

Copyright © 2024 World of Spectrum