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.025s
<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 ... use push/pop, but copying a four character sprite to the screen takes ... three cycles of push/pop.

    ... well if throwing over a screen buffer version instead, which ...
    Gedlion Gedlion March 2011 Development
  • ZXSCLZF - Yet another Screen CompressorQuick disclaimer before I continue, this compressor does not shrink screens as small as some of the others posted here, in particular the very good z…

    ... rest of the screen (good for cut scenes, pop ups etc...). It ... scans the screen memory by ... memory position to start the copy
    push hl ; 11t - store ... ;;
    ;; copy L(b) bytes from one part of the screen to ...
    TomD TomD April 2017 Development
  • SP and IM2 woesI have a function that writes the backbuffer to the screen using the method by which SP is stored, I "POP" a load of registers and then chnge SP to t…

    ... the backbuffer to the screen using the method by ... POP" a load of registers and then chnge SP to the screen ... and "PUSH" them back.
    ... the IM2 interrupt, the screen gets corrupt (All it ... few cycles to do the copy of GFX.

    robpearmain robpearmain November 2009 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
  • Double Buffer UtilityHi Folks, I've been experimenting with double buffering on a 48k Speccy for a small project I'm working on. After reading lots of good advice here…

    ... left of the screen)
    #
    #Copy to screen y-position in ... POP HL']
    self.copyPushList = ['PUSH HL','PUSH DE','PUSH BC\nEXX','PUSH IX','PUSH HL','PUSH ... self.destXPos = self.inputValue('Copy to screen x-position in (integer) ...
    KrazyKattapilla KrazyKattapilla August 2014 Development
  • [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…

    ... .

    ; Clear screen memory.
    ld a,%00000000 ... ; Move back to the previous screen address.
    djnz cls_screen_loop ... going back to basic. Screen is cleared now, continue ... stack pointer and using push/pop to copy memory fully unrolled ...
    ST1 ST1 November 2018 Development
  • 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 :…

    ... byte to perform the copy and occupies 1.5 ... copied. Oddly enough, inserting "push/pop ix/iy" in there ... If I were to copy a Spectrum screen (6912) the unrolled ... figure) so it could copy approximately 5714 bytes in ... and 1MHz, able to copy about 2048 bytes, I ...
    Alcoholics Anonymous Alcoholics Anonymous March 2004 Games
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will clear the first 20 rows of the Spectrum's display (or any number of rows or columns) . I have found…

    ...
    PUSH BC

    ; Zero out 8 screen lines of ... screen line.
    ; Alternatively could get HL back by PUSH/POP ... and then INC H.

    POP DE ... is different from the ROM COPY routine - not sure ...
    hldswrth hldswrth July 2007 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... = destination address for pixel row copy
    ld h,d ; ... push hl
    ldi x 32 ; repeat ldi 32 times to copy ... address for next pixel row copy

    jp pe ... screen, scrolling by more than one pixel, or moving to a push/pop ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... the right order on the screen starting one pixel line higher ... each in comparison to regular push/pop). The "ld sp,hl; ld ... the row in the next copy operation.

    The destination ... be done for the next copy operation as the stack is ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... kind of glitch on screen where part of a ... in the middle of the screen has scrolled but some ... 21 for regular push/pop and will decrease the copy speed from ... from the top of the screen to the bottom. To ... will see somewhere up the screen. This happens when the ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • Fast screen writesI wondered what the faster than LDIR methods of writing to the screen were.

    ... stored in this sequence
    push hl
    ...

    screen buffer and special drawing ... xx T/byte
    PUSH/POP in theory 10.5 ... kind of really fast copy routine, the fastest i ... was example of very fast push/pop copy routine. he uses it ...
    Fikee Fikee October 2008 Development
  • A scrolling starfield - help needed!I have been messing on my speccy again recently and tried to do a scrolling (parallax - maybe) starfield. I know how to scroll using machine code but…

    ... lines in the ZX screen
    ; Copy them in reverse order
    ldir
    pop bc

    jr LineScrolledDown ... now points to required screen byte
    PUSH HL

    LD ...
    Digital Prawn Digital Prawn December 2008 Development
  • Brand new River Raid remake?one of my friend is trying to make a riverraid remake on flash just to have fun, I checked zx spectrum port of river raid. it is bad, really bad, jer…

    ... all the POP / PUSH instructions for every line of the screen - no time ... can be pre-setted before screen rendering starts (it can be ... )

    then use loooooong push/pop/ld sp code to write ... it (i'm not saying copy it just check it sometimes ...
    Fikee Fikee May 2009 New game ideas
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... /> nop
    nop

    ; copy the colours
    REPT 24 ... the stack pointer to the screen
    push hl ; write 8 bytes ... /> pop iy
    pop ix
    pop hl
    pop de
    pop bc
    pop ...
    chev chev May 2009 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…

    ... use PUSH/POP copy, uses LDIR, uses pre-calculated screen cell ... /> ; Char Down
    ; Adjusts screen address HL to move eight ... br /> ; enter: HL = valid screen address
    ; exit : HL ... /> ScrollDownLoop: ;copy a single char line
    push bc
    ...
    0sAND1s 0sAND1s February 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 …

    ... gasman's example of push/pop copy used for multicolor or ... my description of push/pop copier from CHASE H. ... about PUSH/POP copy don't forgot contetion (and you copy to screen memory ... very often). having contetion penalty for one PUSH ...
    Fikee Fikee August 2010 Development
  • 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 …

    ... the same speed as a PUSH/POP copy. But there is no LD ... .

    PUSHing to the screen in reverse order does create ... line-by-line down the screen, even if the actual row ... haven't got a hidden screen to work on.
    joefish joefish March 2011 Development
  • 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 …

    ... the same speed as a PUSH/POP copy. But there is no LD ... ,0x1011
    ld sp,screen+0x0020
    push hl ; 4T lost to ... /> push hl
    push de
    push bc
    exx
    push hl
    push ...
    gasman gasman March 2011 Development
  • Your Views on... GhostbustersI dusted off the Master System version of this and inspired me to try out the Speccy version. It's a good game with it's strong and weak points. I …

    ... a big LDIR to copy it to the screen. Unfortunately it does ... up by using LDI or PUSH/POP. To fit in the small ... at the black control menu screen.

    Assemble the code ...
    Jimmy Jimmy May 2011 Games
  • Your Views on... GhostbustersI dusted off the Master System version of this and inspired me to try out the Speccy version. It's a good game with it's strong and weak points. I …

    ... a big LDIR to copy it to the screen. Unfortunately it does ... up by using LDI or PUSH/POP. To fit in the small ... at the black control menu screen.

    Assemble the code ...
    jp jp May 2011 Games
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... /> i wonder if speeding up copy routine by roughly 3% is ... , the faster way is using push/pop for copy. not saying it is ... when background is copied to screen and sprites are put directly ... to screen. so next copying of background ...
    Fikee Fikee September 2011 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…

    ... /> pop hl
    ld sp,hl

    push bc
    push de ... /> push de
    push hl

    sp2:ld sp,0
    pop ... when copying to screen. thats where you get real benefit from push/pop copy.
    Fikee Fikee January 2012 Sinclair Miscellaneous
  • 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…

    ... expect the code for different copy widths could be quite different ... copying to screen. thats where you get real benefit from push/pop copy.[/QUOTE ...
    obo obo January 2012 Sinclair Miscellaneous
  • 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…

    ... copying to screen. thats where you get real benefit from push/pop copy.[/QUOTE ... ). So the main benefit from push/pop copy will be outside of contention ...
    Metalbrain Metalbrain January 2012 Sinclair Miscellaneous
  • Exilei\'m sure this has been brought up before but couldn't find a thread in 'New Game Ideas'. Why did the Spectrum never get a port of the BBC game Exile…

    ... to 2/3 of the screen, is 16K. That's half ... you do give up on screen buffering on a 128K then ... limited to a raster-chasing screen update so you've achieved ... ]Hysteria[/I].
    [/QUOTE]
    PUSH/POP copy with bank switch between fetch ...
    Fikee Fikee March 2012 New game ideas
  • Exilei\'m sure this has been brought up before but couldn't find a thread in 'New Game Ideas'. Why did the Spectrum never get a port of the BBC game Exile…

    [QUOTE=Fikee;613293]PUSH/POP copy with bank switch between fetch ... in the middle of each copy. It slows you down, but ... up by instantly paging the screen in once you're done ...
    joefish joefish March 2012 New game ideas
<1234567…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
screen 45.8K 73.8K
copy 17.9K 22.8K
push 4.9K 12.7K
pop 6.4K 13.2K

Related Threads

  • On 48k, can I copy 4k before next screen updateFollowing on from my thread at [url="http://www.worldofspectrum.org/forums/viewtopic.php?topic=6423&amp;forum=11"]http://www.worldofspectrum.org/foru…
  • 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…
  • 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)<br /> <br /> I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory.<br /> <…
  • 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…
  • Real Spectrum screen flicker with SCREEN$I've written a basic loader to simply do a 'load "" screen$' based video from a divide+ however I'm finding the Spectrum can't render a screens and a…
  • 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 /…
  • Wow! Splitscreen gaming goes full screen!!! One screen gives two fullscreen views!Sounds a bit Alice in Wonderland (If Lewis Carroll had written it in the twenty-first century) but aparently, using 3D glasses you can get two full s…
  • ULAPlus: showing different screen modes in one screenI wanted to write a demo showing the same screen, converted to various screen modes available on the Spectrum (well, a Spectrum clone capable of show…
  • 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…
  • Best Side Screen/Screen-Surrounds?I've been researching side-art/screen-surrounds for my own game, so at the risk of asking a question that has probably been asked in the last 20-odd …

Related Searches

  • loading screen copy
  • push pop
  • push pop to the screeb
  • push pop to the screen
  • copy picture to screen
  • comparison screen copy
  • screen copy einar
  • block copy push pop
  • 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
  • fast screen copy
  • fast screen copy chase hq
  • push pop copy chase hq
  • fast copy push pop
  • copy push pop
  • copy screen memory
  • push pop xy

Copyright © 2024 World of Spectrum