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 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
  • 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 ... so we can see how fast it is. If this isn ... 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…

    ... to a list of how fast the instructions in mc are ... each in comparison to regular push/pop). The "ld sp,hl; ld ... the row in the next copy operation.

    The ... /> 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…

    ... do copy operations in pixel row order easily. push ix/pop ix ... 21 for regular push/pop and will decrease the copy speed from 12 ... program to generate this code block! Or perhaps this is created ... things go as fast as possible (or acceptably fast) and things ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • 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 ... the division first making it fast without register restriction. That's ...
    Alcoholics Anonymous Alcoholics Anonymous September 2016 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
  • [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…

    ... interests me most is efficient fast code, so after weeks of ... the stack pointer and using push/pop to copy memory fully unrolled with ...
    ST1 ST1 November 2018 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 ... hw support) is a fast byte copy (for copying a back ... the main display) and a fast write/clear (for zeroing ... to do the byte copy at a speed of ... (not the same as a copy, more limited) at about ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
  • 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…

    ... 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
  • Fast screen writesI wondered what the faster than LDIR methods of writing to the screen were.

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

    PUSH/POP in theory 10.5 T ... has some kind of really fast copy routine, the fastest i ... /> LD HL, xx / PUSH HL 10.5 T/byte ... it 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…

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

    ... fast. It's self modifying code, doesn't use PUSH/POP copy, ... )
    inc hl
    push de
    djnz FillScrLinesRev
    ScrollDownLoop: ;copy a single char line
    push bc
    ld ... br /> inc d
    pop bc
    djnz ScrollDownLoop < ...
    0sAND1s 0sAND1s February 2010 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
  • 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 …

    ... does a big LDIR to copy it to the screen. Unfortunately ... up by using LDI or PUSH/POP. To fit in the small ... /> DJNZ DONE2
    JP $8300 ;fast loader jumps to $8300 to ...
    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 …

    ... does a big LDIR to copy it to the screen. Unfortunately ... up by using LDI or PUSH/POP. To fit in the small ... /> DJNZ DONE2
    JP $8300 ;fast loader jumps to $8300 to ...
    jp jp May 2011 Games
  • 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 ... routine.
    For my super-fast scroller, you treat the tiles ...
    joefish joefish March 2012 New game ideas
  • 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
  • Relocation with SDCCI desperately need auto- relocation with SDCC. Something that will compile all of my code using start address 0 and generate relocation table so that…

    ... access is then done with push/pop pairs. A variable on ... read/written with a single push/pop pair that consumes 2 bytes ... same in its balloc library (block memory allocator) but it operates ... . Today, large caches and fast processors have made it possible ...
    Alcoholics Anonymous Alcoholics Anonymous June 2013 Development
  • Relocation with SDCCI desperately need auto- relocation with SDCC. Something that will compile all of my code using start address 0 and generate relocation table so that…

    ... frequently accessed ones use the push/pop method. The two are not ... the code for the innermost block -- the block that gets executed the ... produce something fast. Then I move to the enclosing block and write ... , etc. At the function block level I have a register ...
    Alcoholics Anonymous Alcoholics Anonymous June 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…

    ... 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
  • SpritesYes yes, I know this has been hashed over plenty of times before, but... I have knocked up a quick tiling routine which works with my back buffer co…

    ... seconds - I thought it was fast enough.

    ... buffer

    copy the 3 tile graphics needed ... tile buffer,
    copy ORing/ANDing the sprites onto ... those tiles
    copy the tile buffer numbers ... joy of EXX instead of PUSH/POP.


    MatGubbins MatGubbins November 2014 Development
  • SpritesYes yes, I know this has been hashed over plenty of times before, but... I have knocked up a quick tiling routine which works with my back buffer co…

    ... seconds - I thought it was fast enough.

    ... buffer

    copy the 3 tile graphics needed ... tile buffer,
    copy ORing/ANDing the sprites onto ... those tiles
    copy the tile buffer numbers ... joy of EXX instead of PUSH/POP.


    polomint polomint November 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
<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
fast 10.8K 12.3K
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 pop
  • push pop to the screeb
  • push pop to the screen
  • copy buffer fast
  • fast loader block
  • fast block
  • fast block copy
  • block copy push pop
  • fast push pop copy
  • 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
  • basic fast copy
  • push pop xy
  • screen copy push pop

Copyright © 2024 World of Spectrum