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.018s
<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 ... as part of the third block, which is an advantage - I ...
    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
  • 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…

    ...
    oneLineLoop
    PUSH BC ; Remember counter
    ... get HL back by PUSH/POP and then INC ... different from the ROM COPY routine - not sure ... we're in the same block

    ... to move to the next block.

    ...
    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 ; now ... pixel, or moving to a push/pop solution.

    BTW, everything ... ..7) character row within a block
    CCCCC = (0..31) character ...
    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…

    ... each in comparison to regular push/pop). The "ld sp,hl; ld ... the row in the next copy operation.

    The ... be done for the next copy operation as the stack is ... /> push de
    push bc
    push af

    ; repeat this could block ...
    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…

    ... I took out the push ix/pop ix pair because ... do copy operations in pixel row order easily. push ix/pop ... for regular push/pop and will decrease the copy speed from ... of the 16-byte block where you want to ... to generate this code block! Or perhaps this 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…

    ... running outside the di/ei block and it needs to have ... the push/pop block should be:

    [code]
    ;end of copy block
    Alcoholics Anonymous Alcoholics Anonymous March 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…

    ... less than current location
    push bc
    call GetLineAddrOne ;source ...
    pop bc
    jr LineScrolledUp

    ScrollUpLastLineInScreen
    push bc ... 64, therefore not first in block
    ;copy line from location "(7 ...
    Digital Prawn Digital Prawn December 2008 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…

    ...
    isr: push af
    push bc
    push de
    push hl ; save ... *24 ; byte count
    ldir ; block copy

    ; set the attributes ... )

    pop hl
    pop de
    pop bc
    pop af ; restore ...
    Paradigm Shifter Paradigm Shifter February 2010 Games
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... something like:
    [code]
    pop hl - each tile starting address ... use any of the block copy operations or even PUSH to the display ... .[/QUOTE]
    I can use PUSH as easy as i can ...
    TVzombie TVzombie February 2011 Sinclair Basic
  • Fantasy Z80 instructions?This follows on from something catmeows said in another thread, and that I've been meaning to ask for a while. This may sound daft to people with mo…

    ... ,(nn) LD (nn),rr
    PUSH rr POP rr

    8 ... JR cc,nn

    Block Copy/Etc
    --------------
    {LD,CP ...
    Jonathan Harston Jonathan Harston November 2012 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... pointers
    push ix ; copy IX
    pop de ; to ... ld_bytes ; LOAD a data block
    ret c ; ... a, 0xff ; signal data block
    jp ld_block ; immediate ... a, 0xff ; signal data block
    jp ld_block ; immediate ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... pop bc ; unstack byte count
    ldir ; block copy ... push bc ; push ...
    chev chev November 2013 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... one was a random block effort done in ... /> REV1:
    push hl
    push bc
    ld ... de),a ;and copy
    NO2:
    pop bc
    ... br />
    pop bc
    pop hl
    ld ...
    Battle Bunny Battle Bunny February 2014 Development
  • Simple text scroller, first character problemin a text scroller, whole line scrolled to the left by 1 pixels using RL(HL) ; DEC L method. But at the rightmost character must be printed immediate…

    ... you can just do a block copy from the font data into ... b,8
    loop:
    push hl

    ex de ... l
    endm

    pop hl
    inc h ; down ...
    gasman gasman January 2015 Development
  • Help for beginner with z80Hi chaps, I'm reasonably new with z80, but had a fair amount of experience with 68000, so decided to give a few things a go. One little thing I'm t…

    ... /> ADD HL,BC

    ; copy the character letter to the ... ),255 ; colour of the white block
    INC HL

    DEC DE ; PUSH / POP in the correct place)
    MatGubbins MatGubbins February 2015 Development
  • Help needed with MIA software with custom (?) loaderHi, I've got into my hands recently a bunch of Polish educational software which are unknown MIA on WOS. I believe they are protected with some…

    ... for saving a master copy (from BASIC LINE 4 ... RET for saving the master copy and later restored
    0xEAE9 PUSH HL ; Push return adress (ROM)
    block'
    M2: 0xEB6A POP DE ; Get ...
    lfaria lfaria August 2016 MIA/STP/SDP
  • Running out of fingers in AssemblyDear all, Still trying to learn Assembly and have put a few routines together. However, as my routines become a little more involved I find myself…

    ... note of special architectural features (block copy, block io, separation of io and ... nc, error_einval_zc

    push de
    pop ix

    ; use ... of digits

    push ix
    pop hl

    write_lp ...
    Alcoholics Anonymous Alcoholics Anonymous September 2016 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
  • LZ4 decoderI encountered the [URL="http://code.google.com/p/lz4/"]LZ4 compressor[/URL] a few weeks ago. Reading the [URL="http://fastcompression.blogspot.co.uk…

    ...
    ;; data
    push de ; save destination pointer
    push hl ; save a copy
    ;; (does ... pointer
    ldir ; copy bytes
    pop hl ; restore source ...
    stephenw32768 stephenw32768 October 2013 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…

    ... (good for cut scenes, pop ups etc...). It scans ...
    (*store_l++)=*buffer_ss; // copy first literal into literal store ... memory position to start the copy
    push hl ; 11t - store ... copy b times
    ;;
    ;; clean up before loop
    pop ...
    TomD TomD April 2017 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…

    ... the stack pointer and using push/pop to copy memory fully unrolled with ...
    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 ... br /> If I were to copy a Spectrum screen (6912) the ... 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
  • 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 ... down the copy. I would drop using AF' for push/pop and have ...
    Alcoholics Anonymous Alcoholics Anonymous September 2004 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…

    ... 's implementation has an unnecessary push/pop in there which really slows ... support) is a fast byte copy (for copying a back buffer ... possible to do the byte copy at a speed of 13 ... (not the same as a copy, more limited) at about 5 ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
  • Fast screen writesI wondered what the faster than LDIR methods of writing to the screen were.

    ... of destination area, and use PUSH and POP with all registers (including ... LDIR, but much slower than PUSH/POP is to use a amount ... example 32 of them to copy a line) in series. You ...
    LCD LCD October 2008 Development
  • Fast screen writesI wondered what the faster than LDIR methods of writing to the screen were.

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

    ... .xx T/byte
    PUSH/POP in theory 10.5 T ... some kind of really fast copy routine, the fastest i ... )
    LD HL, xx / PUSH HL 10.5 T/byte ... was example of very fast push/pop copy routine. he uses it ...
    Fikee Fikee October 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…

    ... SP,nn" and all the POP / PUSH instructions for every line of ... )

    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
  • 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…

    ... even if you don't push & pop any register, the stack ... the middle of the big copy routine and manually call the ...
    Metalbrain Metalbrain November 2009 Development
<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
block 7.9K 13.4K
copy 17.9K 22.8K
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…
  • How do I manually BLOCK pop-ups in Ff?I'm using Ff 3.0.15<br /> <br /> When I go Tools -&gt; Options -&gt; Content -&gt; Block pop-up windows -&gt; Exceptions it only allows me to type in…
  • 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 /> …
  • How to copy file from tape (*.tap) to disks (*.dsk) ?I am using zx32 with win98 and i want (in the emulate +3) copy files from virtual tapes to virtual disks.<br /> <br /> I use =&gt; load "NameOfFile" …
  • The LIBELOUS copy of 'crash' ? that mag that was pulled that libeled the BBC chiefI will pay 15 for a copy any one got it?
  • Where can I get a working copy of Chuckie Egg 2 ?I downloaded Chuckie Egg 2 from this site, but it doesn't work! Every time I load it up using ZX32, it resets the speccy emulator.<br /> <br /> Does …
  • Anyone got a copy of 'Z80 for primates'?This Z80 lark isnt easy, in fact it makes me feel very much like Washoe the chimp trying to learn learn sign language, I just dont think I've got the…

Related Searches

  • push
  • parity byte block
  • remove copy protection
  • list of games without copy protection
  • push pop
  • push pop to the screeb
  • push pop to the screen
  • fast block copy
  • 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
  • push copy
  • copy push
  • screen copy push pop

Copyright © 2024 World of Spectrum