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
<1234567…34>
  • 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. I rewrote …

    ... that stack pointer cheese and push/pop is faster to move data ... mojon's fourspriter to use push/pop, but copying a four character ... screen takes three cycles of push/pop.

    What's the ...
    Gedlion Gedlion March 2011 Development
  • Trouble with rainbow effect push/popI'm having a bit of bother getting my rainbow graphics to behave themselves. Basically I want a rainbow effect to last for say 4 seconds before movi…

    ... problem is if I omit push and pop bc the thing goes ... )
    ;push bc
    call flash
    call flash2
    ;pop bc ...
    daveysludge daveysludge June 2013 Development
  • Push/Pop methodMachine code question: Could somebody explain, how do we use the stack in assembler to copy data from one place of memory to another? I've heard it i…

    Machine code question:
    Could somebody explain, how do we use the stack in assembler to copy data from one place of memory to another?
    I've heard it is one of quickest methods, faster then e.g using ldir or writing a loop.
    Is it true?
    Ralf Ralf July 2005 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…

    ... worth writing it to use push/pop? Should I use "halt" or ...
    polomint polomint February 2010 Development
  • Z80: ABS(HL) functionI must be very tired but I cannot get my head around whether this function provides a correct implementation of a ABS function for a signed 16-bit va…

    ... therefore this would require a PUSH, POP, two EX DE, HL and ...
    BloodBaz BloodBaz January 2014 Development
  • ALIEN (Mindgames) Bugfix and Improvement.[code]ALIEN (Mindgames) [ZX SPECTRUM] BUGFIX & IMPROVEMENT by Ersh 2016-10-29 The following bugs are fixed: [BUG] INVENTORY BUG WHEN SWITCHING …

    ... an Action' routine doesn't PUSH/POP THE IX register holding the ...
    Ersh Ersh October 2016 Announcements
  • [Asm] Is this nested loop faster than LDIR or a bunch of unrolled LDI's?Hi all. I'm learning Z80 asm on Speccy 48K, and to start with I decided to write my own "CLS" routine (without relying on ROM calls or LDIR) as a lea…

    ... the stack pointer and using push/pop to copy memory fully unrolled ...
    ST1 ST1 November 2018 Development
  • Who want to remake Double Dragon?Seeing as the Speccy version was crap (see my review: [url="http://www.gamestyle.net/retro.php?article=31"]http://www.gamestyle.net/retro.php?article…

    ... br />
    next_line: pop de
    pop hl

    ...
    moving memory by push pop takes about a litlle less ... sp, xxxx

    pop hl
    ld (nnnn), ...
    ...

    pop hl
    ld (nnnn-6142 ...
    Fikee Fikee July 2003 Games
  • whats your second favourite retro computerOk i'm going to assume that for most of us here the speccy is our favourite number 1 retro computer,its the best home computer in the world etc etc :…

    ... /> pop de
    pop hl
    ld sp,dest+16
    push hl ...
    push de ... byte copied. Oddly enough, inserting "push/pop ix/iy" in there actually ...
    Alcoholics Anonymous Alcoholics Anonymous March 2004 Games
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... ...
    and don't say PUSH/POP as that looks simpler than ...
    Fikee Fikee April 2004 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... ...
    and don't say PUSH/POP as that looks simpler than ... /> pop de
    pop hl
    ld sp,dest+14
    push hl ...
    push de ...
    push bc
    exx
    push hl
    push ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    That PUSH/POP routine is how I do ... that aren't possible with PUSH/POP, so if there is a ...
    gasman gasman April 2004 Development
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    I've replaced all of those push-pop BC with saving into IXh. Haven't found a place where to use it in more effective way though, so perfomance didnt improve dramatically:), may be about 15-25 tacts for each line.
    moroz1999 moroz1999 August 2004 Development
  • Interrupts details questionSuppose I am writing a game and I want to use interrupts to measure time, draw the screen without flicker, maybe to poll keyboard etc. What kinds of …

    ... 48: stack above 32768 (call,push,pop,ret acces memory on SP ...
    Fikee Fikee August 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    Thanks All,

    I will modify the code for the faster push pop, move the buffer memory and see what happens.

    Many thanks
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> POP BC
    LD SP,HL
    PUSH BC
    PUSH DE
    PUSH ... would drop using AF' for push/pop and have it as a ...
    Alcoholics Anonymous Alcoholics Anonymous September 2004 Development
  • Sprite Graphics TutorialHi everyone, Would like some feedback on the following: I am thinking of writing a Sprite Graphics Tutorial, ie. how to best program and implement …

    ... top 16 rows using fast push/pop sp functionality for transfer
    robpearmain robpearmain October 2004 Development
  • Help needed to speed up functionCan anyone help me to re-factor this code snippet. The "MAP" section holds information about which tiles go where on the screen (handled by another f…

    ... me currently is:

    PUSH DE ;+ 11
    LD DE ... /> ADD HL,DE ;+ 15
    POP DE ;+ 10

    Total ... anyway. Hence just remove the PUSH/POP DE and save 21 T ...
    cyborg cyborg February 2005 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... changes suggested and replaced the Push/Pop BC with an EX AF ... /> PRTTILELOOPX EX AF,AF'
    PUSH DE
    LD A,(IX ... ),A
    CALL PRINTTILE
    POP DE
    EX AF,AF ...
    Mr Millside Mr Millside February 2005 Development
  • Optimisation Needed! Is this the Fastest way to copy bytes from screen and back again?I have the screen address (say 0,0 i.e 16384) I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory. I then want to cop…

    ... then use it instead of push / pop hl, ie. ld c,l ...
    dmsmith dmsmith December 2005 Development
  • Background image with SP1 and Z88DKWhat is the prefered way to place an entire (or very large) image in the background when using SP1? Should I convert it to a long (32*24=768 ) list o…

    ... /> ; 25 yinc N*
    ; 26 push state
    ; 27 escape, next ... not special code
    ; 28 pop state
    ; 29 transparent char ... (7), relative AT (23), and PUSH/POP (26,28) as they will ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Calling ROM routinesFirstly, sorry if this is the wrong forum to post this in, but I wasn?t quite sure under which heading is best fitted. I?m trying to figure out how…

    ... could, of course, skip this push/pop bit, pass the parameters in ... the function just after the push/pop.

    Here is an ...
    Alcoholics Anonymous Alcoholics Anonymous July 2006 Development
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…

    ... ; flag we swapped bytes
    push hl ; save current position in ... where a come from
    pop hl ; swap done, restore hl ... would be to remove the push/pop and maybe the djnz?
    Kiwi Kiwi August 2006 Development
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... ; flag we swapped bytes
    push hl ; save current position in ... where a come from
    pop hl ; swap done, restore hl ... elements, you can replace the push/pop with a single inc, and ...
    Matt_B Matt_B September 2006 Sinclair Miscellaneous
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... 's implementation has an unnecessary push/pop in there which really slows ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
  • Help understanding some z80 asmI'm trying to work out how to represent the structure of a "sprite" in the SAM as "Grabbed" by SmallC. I can see the assembler implementation but I …

    ... this would help avoid a push/pop pair.

    Sometimes you ...
    Alcoholics Anonymous Alcoholics Anonymous January 2007 Development
  • Groundbreaking gamesWhich games really broke new ground? I mean the ones that actually got around the hardware limitations of the Spectrum. For example: Aquaplane - f…

    ... to do with a massive push-pop job on the HL register ...
    Bad Horsey Bad Horsey February 2007 Games
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... /> loop:
    PUSH BC
    ...
    CALL IncY
    POP BC
    [/code]

    Saves a PUSH, POP and a B loop counter
    BloodBaz BloodBaz April 2007 Development
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... br /> FadeOutPaper:

    push bc
    ld c,a ... restore attribute

    pop bc
    ret
    ... prefer to place the push/pop saving any registers in ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Development
<1234567…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
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