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.019s
<1…891011121314…34>
  • New assember ideaAs i work with Eclipse IDE in my job i become more and more lazy. This leads me to idea that it is time to left Notepad+Tasm combo behind and move on…

    ... /> .sbrk_callee

    pop hl
    pop bc
    ex (sp ... /> pop af
    pop bc
    pop hl
    pop de
    push af ... /> .sbrk_callee

    pop hl
    pop bc
    ex (sp ... run out of memory fast. And hence why ...
    Alcoholics Anonymous Alcoholics Anonymous November 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…

    ...
    push bc ;save line counter
    dontmove ;copy line2, no ... copied into de
    pop hl ;load byte to ... a char boundary
    pop de ;load posn to ... line road right
    pop hl ;get ready to ... line road left
    pop bc ;recover count for ...
    bigjon bigjon 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…

    [quote=bigjon;250417]Don't we need both to copy a byte, hence 21 cycles per byte not 10.5?[/quote]
    Yes, but you are copying 2 bytes with one pair of instruction POP/PUSH, thus 21/2 = 10.5
    omega omega 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…

    ... /> pop bc
    pop de
    pop hl
    exx
    pop bc
    pop ... /> push hl
    push de
    push bc
    push af
    ;end of copy ...
    bigjon bigjon March 2008 Development
  • IF2 Rom snapshot creationHi, is it possible convert a Speccy 16k snapshot to a Interface 2 Rom file? I've the original Ultimate Pssst, Cookie, Trans-am and Jetpac tapes and …

    ... /> POP BC
    POP HL ;restore values
    PUSH HL ;push it ... LD BC,$0009
    LDIR ;copy starting bit of relocation code ... LD BC,$000A
    LDIR ;copy across code to decompress screen ... relocator code
    3D00-3FFF - copy of character set from ZX ...
    Jimmy Jimmy April 2008 Emulators
  • Spectrum AssemblyHi All, Thanks for letting me in... lol Over the last couple of days I started playing my spectrum emu again and then I started thinking about lear…

    ... 's the outline for a fast full screen vertical scroll:
    add ix, de
    nextln: push af
    ld a, (x_off ... ix
    inc ix
    pop af
    dec a
    Matt_B Matt_B October 2008 Sinclair Miscellaneous
  • Spectrum AssemblyHi All, Thanks for letting me in... lol Over the last couple of days I started playing my spectrum emu again and then I started thinking about lear…

    ... 's the outline for a fast full screen vertical scroll:
    POP HL: POP DE: LDIx32: POP HL: POP DE and so ... /> add ix, de
    nextln: push af
    ld a, (x_off ... ix
    inc ix
    pop af
    dec a
    Shadow Maker Shadow Maker October 2008 Sinclair Miscellaneous
  • Fast screen writesI wondered what the faster than LDIR methods of writing to the screen were.

    ... data in register pair and PUSH it into screen buffer) ... .

    Typical PUSH-filler code, 16.5t per ... l
    push de[/code]

    In POP-reading case ... you can store second copy of whole source data in ... used not only to copy large linear blocks of ...
    Shiru Shiru October 2008 Development
  • RGB on speccy ?hi, just a question : are you aware of scene demo trying emulate rgb ? i was a bit ill last few days so laying in bad i come with a (stupid ?) idea.…

    ... copy bytes around, and even the fastest way of doing that (POP ... into every available register including the alternates, then PUSH them ...
    gasman gasman November 2008 Development
  • ZX Spectrum (16K) sound/beepHi all, I think I'm in right place now, I've tried to find an answer how to generate two channel sound using ZX Spectrum 16K. Only think I've found …

    ... break: LD A,(work3) ; Copy decay rate to decay count ... br /> LD A,(work5) ; Copy attack rate to attack count ... program.

    subr: PUSH BC ; Start of subroutine. Save ... LD (work2),A
    labl5: POP BC ; Restore BC
    ...
    Matt_B Matt_B November 2008 Sinclair Basic
  • 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…

    ... ZX screen
    ; Copy them in reverse order< ... pop bc
    jr LineScrolledUp

    ScrollUpLastLineInScreen
    push ... ZX screen
    ; Copy them in forward order< ... in block
    ;copy line from location "(7 ...
    Digital Prawn Digital Prawn December 2008 Development
  • BASin r14d - Final bugfix for the r14 seriesOk, there's not a great deal to "show" here, as most of the work has been going on "under the hood" so to speak. And there's been a [i]lot[/i] of wor…

    ... /> PUSH HL
    LD BC, 32 ; Copy 1 line
    LDIR
    POP ... HL ; Restore HL
    PUSH HL ... line in display file
    POP DE ; Restore last HL into ...
    BloodBaz BloodBaz January 2009 Emulators
  • Help to run Abu Simbel in a +2A SpectrumI bought this game some weeks ago, but the version is the old one. When I loaded it in the emulator, I had to switch the keyboard issue to 48Kissue.…

    ... ld bc,keyscan_size
    ldir ; copy 'keyscan_code' to highest possible memory ... ; preserve HL, BC
    push hl
    pop ix
    ld de ...
    Bob Stains Bob Stains January 2009 Games
  • Fastest Block Drawing Code?Following on from my scrolling thread [URL="http://www.worldofspectrum.org/forums/showthread.php?p=351304#post351304"](http://www.worldofspectrum.org…

    ... lot easier.

    Then, copy each line of the screen ... buffer bigger, so you can copy a full screen out of ... sceen address table and use POP to read off the screen ... line. Just remember not to PUSH or POP anything, and to set ...
    joefish joefish May 2009 Development
  • Fastest Block Drawing Code?Following on from my scrolling thread [URL="http://www.worldofspectrum.org/forums/showthread.php?p=351304#post351304"](http://www.worldofspectrum.org…

    ... .

    Also, the POP screen address and 28 LDI ... easier.

    Then, copy each line of the screen ... bigger, so you can copy a full screen out of ... address table and use POP to read off the ... . Just remember not to PUSH or POP anything, and to set ...
    robpearmain robpearmain May 2009 Development
  • 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 …

    ... /> push af
    push bc
    push de
    push hl
    push ix
    push ... /> nop
    nop

    ; copy the colours
    REPT 24 ... /> pop iy
    pop ix
    pop hl
    pop de
    pop bc
    pop ...
    chev chev May 2009 Development
  • Tips on optimizing some newbie assembly routinesI'm starting to learn some assembly language. The best way to learn is to actually code something you are going to use, so I'm creating a very simple…

    ... think it will render fast enough to avoid tearing, ... ; loop for 256 cells
    push bc

    [... inner ... Next cell...
    pop hl

    pop bc
    ld a ...
    Metalbrain Metalbrain June 2009 Development
  • DivIDE QuestionHi all, I've been trying to work out how the DivIDE works and after reading and re-reading the DivIDE programming model document by Zilog I think it…

    ... 102(#66) and read instrustion PUSH AF
    2) at adress ... your NMI code.
    3) push registers to stack + your NMI ... NMI to 48rom you must pop all registers + jump to "map ... />
    - ZX font you can copy from 48rom to DivIDE ram ...
    velesoft velesoft August 2009 Development
  • When would you use LD A,R ?Can anyone tell me a practical use of LD A,R and LD R,A I am confused when you would need to use it? Cheers

    [QUOTE=Metalbrain;399421]Fast flag using bit 7 (that ... ...
    ;****************************************

    Interrupt:
    push af

    ld a ... ; change current beeper routine
    pop hl
    ld a,(hl ...
    frobush frobush November 2009 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…

    ... ; fetch current error return
    push hl ; and preserve
    ;< ... ),sp
    ; push hl ; preserve hook31
    ; pop bc ; and restore ... -rom1tab ; how many jumps to copy
    ldir
    ;
    ... optempm
    ;
    push ix
    pop hl
    add hl ...
    jp jp December 2009 Development
  • Memory concerns with z88dkI've retaken my old spectrum project and sadly I've reached a dead end very fast. I'll try to explain my worst problem in a few lines. I'm not a vet…

    ... the extra rampages and then copy what is needed for the ...

    push af
    push bc
    push de
    push hl

    pop hl
    pop de
    pop bc
    pop af
    Alcoholics Anonymous Alcoholics Anonymous December 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... bc with a
    push af ;push a out of way for ... /> rst 10h ;print Return
    pop af ;get back a
    pop hl
    ld a,(hl)
    inc hl
    push hl ... be just so ultra-fast? Perhaps even too fast? But, as I ...
    Chris Pile Chris Pile January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... bc with a
    push af ;push a out of way for ... /> rst 10h ;print Return
    pop af ;get back a
    fast? Perhaps even too fast? But, as I ...
    xyzzy xyzzy January 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 ... />
    REPT 8
    ; copy data
    ld a, (hl ... ; byte count
    ldir ; block copy

    ; set the ... />
    pop hl
    pop de
    pop bc
    pop af ; restore ...
    Paradigm Shifter Paradigm Shifter February 2010 Games
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it. At the moment I'm grabbing the start address for each letter then printing them out one at a t…

    ... text

    text2
    push hl
    ld h, 0 ... /> inc d
    djnz text3 ;copy 8 bytes of char gfx ... it into attr memory
    pop hl ;restore pointer for next ...
    Fikee Fikee March 2010 Development
  • '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…

    ... use can look like this (fast output with unrolled loop, not ...

    printChr
    push hl
    push de
    ex de ...
    org $-2
    pop de
    pop hl
    inc l ...
    Shiru Shiru June 2010 Sinclair Basic
  • 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…

    ... in the pipeline - like a fast 2X2 tiles routine, based on ... revamped for speed to use push and pop (and it's 95 ...
    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…

    ... as fast as setting the stack pointer and using push and pop, as ...
    Gedlion Gedlion June 2010 Development
<1…891011121314…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
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…
  • 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…
  • 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…

Related Searches

  • push pop
  • push pop to the screeb
  • push pop to the screen
  • copy buffer fast
  • fast block copy
  • block copy push pop
  • 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
  • basic fast copy
  • push pop xy
  • fast copy
  • basic memory fast string copy
  • screen copy push pop

Copyright © 2024 World of Spectrum