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.009s
<1…22232425262728…34>
  • '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
  • 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…

    ... /> ;
    main exx
    push hl ; preserve return to basic ... ; fetch current error return
    push hl ; and preserve
    ;< ... br /> call main1
    ;
    pop hl ; manipulate sp to handle ... channel
    ;
    push ix
    pop hl
    add hl ...
    jp jp June 2010 Development
  • LDIR timings in contended RAM?The 48K Spectrum technical reference page ([URL="http://www.worldofspectrum.org/faq/reference/48kreference.htm"]here[/URL]) describes the detailed ti…

    ... />
    The idea with [b]pop/push[/b] loops is that [b ... ]push[/b] writes two bytes more ...
    ajmoss ajmoss June 2010 Development
  • multicolor on 48Kmany people tried multicolor 8x1 on 48K model and ended with maximum width about 18 chars. yesterday i tried [b]8x2[/b] on 48K and achieve 24 char wi…

    ... LD HL,nnnn/PUSH HL could be faster than POP/PUSH. Must try ...
    gasman gasman July 2010 Development
  • Optimize this assembly?Aiming for Variable*192 -> HL In the first case, I came up with the obvious method - *128 +*64: [code] ld a, (variable) ;13 ld h,0 ; 7 ld l,…

    ...
    [/code]

    PUSH then POP is way slower than doing ...
    Gedlion Gedlion August 2010 Development
  • Using Interface II joystick in kempston-only gamesHi everyone! It's me again, bothering you with new crazy ideas :) I have recently acquired an Amstrad +2A Speccy with a joystick and built-in Interf…

    ... this code:
    JOYEMUL PUSH DE
    PUSH AF
    LD A ... 3
    OR E
    POP AF
    LD A,E ...
    POP DE
    RET

    velesoft velesoft August 2010 Hardware
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ...
    JR NZ,FA
    PUSH DE
    LD DE,0008 ... /> POP DE
    DEC C
    JR NZ,F1
    PUSH DE ...
    SBC HL,DE
    POP DE
    CPL
    DEC ... :

    [FONT="Courier New"]PUSH DE
    LD DE,0017 ...
    SBC HL,DE
    POP DE
    CPL
    DEC ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... back -6 bytes 20FA
    PUSH DE ; Store DE on stack ... DE to HL 19
    POP DE ; Restore DE D1
    PUSH DE ; Store DE on stack ... 5888d from address ED52
    POP DE ; Restore DE D1
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... back -6 bytes 20FA
    PUSH DE ; Store DE on stack ... DE to HL 19
    POP DE ; Restore DE D1
    PUSH DE ; Store DE on stack ... 5888d from address ED52
    POP DE ; Restore DE D1
    Fikee Fikee August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... back -6 bytes 20FA
    PUSH DE ; Store DE on stack ... DE to HL 19
    POP DE ; Restore DE D1
    PUSH DE ; Store DE on stack ... 5888d from address ED52
    POP DE ; Restore DE D1
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... back -6 bytes 20FA
    PUSH DE ; Store DE on stack ... 19 ****** THIS IS WRONG
    POP DE ; Restore DE D1
    PUSH DE ; Store DE on stack ... 5888d from address ED52
    POP DE ; Restore DE D1
    Fikee Fikee August 2010 Sinclair Basic
  • Using the stack to copy memory blocksA [b]PUSH[/b] and a [b]POP[/b] instruction together take less time than two [b]LDI[/b], so long [b]POP/PUSH[/b] sequences are sometimes used to copy …

    ... /> push hl ;11 106
    sp3
    ld sp, 0
    pop ... /> pop bc ;98
    sp4
    ld sp, 0
    push bc ... /> push hl ;106
    sp5
    ld sp, 0
    pop hl ... /> push hl ;106

    sp7
    ld sp, 0
    pop ...
    Fikee Fikee August 2010 Development
  • Using the stack to copy memory blocksA [b]PUSH[/b] and a [b]POP[/b] instruction together take less time than two [b]LDI[/b], so long [b]POP/PUSH[/b] sequences are sometimes used to copy …

    ... the quickest copy is to POP from uncontended memory during the ... of one screen line), then PUSH to screen memory during the ...
    joefish joefish August 2010 Development
  • Using the stack to copy memory blocksA [b]PUSH[/b] and a [b]POP[/b] instruction together take less time than two [b]LDI[/b], so long [b]POP/PUSH[/b] sequences are sometimes used to copy …

    ... ]'s suggestion I switched to POP/PUSH. As I said, it's ...
    joefish joefish August 2010 Development
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... -6 bytes 20FA
    200 PUSH DE ; Store DE on stack ... to HL 19
    230 POP DE ; Restore DE D1
    260 PUSH DE ; Store DE on stack ... from address ED52
    300 POP DE ; Restore DE D1
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
<1…22232425262728…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
xy 66 91

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
  • push pop to the screeb
  • push pop to the screen
  • push scrollers
  • block copy push pop
  • pop fix
  • 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
  • pop xy
  • screen copy push pop

Copyright © 2024 World of Spectrum