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…9101112131415…34>
  • 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 ...
    ajmoss ajmoss June 2010 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…

    ... /> ;
    main exx
    push hl ; preserve return to basic ... ; fetch current error return
    push hl ; and preserve
    ;
    copy
    ldir
    ;
    ... channel
    ;
    push ix
    pop hl
    add hl ...
    jp jp June 2010 Development
  • LDIR timings in contended RAM?The 48K Spectrum technical reference page ([URL="http://www.worldofspectrum.org/faq/reference/48kreference.htm"]here[/URL]) describes the detailed ti…

    ... />
    The idea with [b]pop/push[/b] loops is that [b ... ]push[/b] writes two bytes more ... 're even better for super-fast CLS routines. Jonathan Cauldwell covers ...
    ajmoss ajmoss June 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 …

    ... /> push de
    push hl
    push ix
    exx
    push af
    push ... /> push hl ;106

    sp7
    ld sp, 0
    pop ... clever and longer loop would copy 256B per iteration and update ...
    Fikee Fikee August 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 …

    [QUOTE=Matt_B;465610]The quickest copy would use LDI during the ... gasman) find the quickest copy is to POP from uncontended memory during ... of one screen line), then PUSH to screen memory during the ...
    joefish joefish August 2010 Development
  • SpecOS progressOk, As you can all see, I'm back - and I've been working away on SpecOS for a while now. There's a few videos, which you can see on my blog: [url]h…

    ... just use labels and introduce PUSH var, POP var commands to allow ... for all this, not a fast beast just something which speed ...
    Fikee Fikee August 2010 Sinclair Miscellaneous
  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…

    ... ) ;store CD_ADD
    push hl ;in stack, so ... /> ld hl,Expression ;And copy my expression...
    ldir ... later while evaluating.
    pop hl ;Recover pointer to ...
    mcleod_ideafix mcleod_ideafix September 2010 Development
  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…

    ... returned in DE.
    pop hl
    push de ;Store address of ... copy the param block to the workspace.

    pop de
    push ...
    mcleod_ideafix mcleod_ideafix October 2010 Development
  • Opinion on new 128K only gamesHello, Being new to the WOS community, I am unclear on the attitude towards 128K only software, that is; Is there a strong need to support the 48K m…

    ... line shell that I just copy and modify for any specific ... /> ; ------------

    .slow_down:

    push edx ; ***SLOW VERSION***

    jne .slow_across

    pop edx

    add esi ...
    ASM ASM October 2010 New game ideas
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... />
    .down: push edx ; Copy data
    push esi

    ... jne .slow_across

    pop edx

    add esi ... [ebp+hermite_y3]

    pop eax ; Count

    ... the limited use of 'PUSH' and 'POP' and the large ...
    ASM ASM October 2010 Development
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... the limited use of 'PUSH' and 'POP' and the large values loaded ... 259 8-bit registers, the fast zero page instructions meant there ...
    Winston Winston October 2010 Development
  • later today......[IMG]http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs909.snc4/72268_172079126142549_100000213882336_641184_4866225_n.jpg[/IMG] [IMG]http://sphotos.ak.f…

    ... extra halts :) , although not as fast as possible , this is my ... game I will try more pop/push method that someone once advised ...
    CodenameV CodenameV November 2010 Games
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... [code]
    ; FASTPRNT.S - Fast character printout
    ; J.G ... 8 pixel lines
    POP HL ; Get print position ... br /> ; Set attribute
    ; -------------
    PUSH HL ; Save print position
    POP HL ; Get print position ...
    Jonathan Harston Jonathan Harston November 2010 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... [code]
    ; FASTPRNT.S - Fast character printout
    ; J.G ... 8 pixel lines
    POP HL ; Get print position ... br /> ; Set attribute
    ; -------------
    PUSH HL ; Save print position
    POP HL ; Get print position ...
    Jonathan Harston Jonathan Harston November 2010 Development
  • Supertest 128 - Loader QuestionI wonder if someone could explain (in simple terms please) :) , the purpose of the switch code. I see what is doing (going to 48k mode via spectrum)…

    ... buffers]
    ; F. Copy 5:4000 to 7:DB00 ... dodos
    ;
    ; F. Copy 5:4000 to 7:DB00 ... ;
    diewith:
    push af
    ld iy,DDOFF ... />
    dodos: push af
    push bc
    ld bc ... pop bc
    pop af
    call pciy
    push af
    push ...
    John Elliott John Elliott January 2011 Games
  • What is the sickest film you have seen?Ive always thought that these films were sick - [URL="http://www.imdb.com/title/tt0078935/"]Cannibal Holocaust[/URL] [URL="http://www.imdb.com/titl…

    ... nasty, but the kind of pop out like one of those ... Recently got hold of a copy of the Japanese film 'Grotesque ... see Grotesque. I had a copy pre-ordered, but it ... fancy trying to get a copy through customs. i know it ... and Blood get old rather fast and the other 2 I ...
    Bermondsey Bob Bermondsey Bob January 2011 Chit chat
  • Converting TRD-Dos into TapHello, there are still many programs appearing on TRD-Dos or SCL format and users of normal Spectrum cannot run them. Of course I know about emulator…

    ... these files together by typing "copy /b code1.tap+code2.tap ... it:

    [code]PUSH HL
    POP IX
    LD A ... a tap file
    * Type "copy /b loader.tap+all_code.tap ... the whole lot together using "copy /b basic.tap+nearly_done.tap ...
    StuBruise StuBruise January 2011 Development
  • Gigascreen - programming guideDoes anyone know of a programming guide for the 128K gigascreen screen mode, specifically a persistence colours table, some code (pref. C level or BA…

    ... they'll get messed...
    PUSH HL ;...around with.

    PUSH HL ;Copy HL (attribute address)...
    POP DE ;...to DE ... .

    POP HL ;Recover numbers...
    POP DE ;...
    POP AF ;...from ...
    joefish joefish February 2011 Development
  • Sprites masterclassHi All, You guys are probably tired of explaining sprites but I'd like to clarify a few things if possible. I've sorted the vertical aspect of scro…

    ... shift table approach would be fast enough compared to pre-shifted ... is why everything is so fast, there's no game logic ... ,a
    put_blanksprite1 push bc
    exx
    pop bc
    exx ... /> add hl,de
    push hl
    pop ix
    ld a ...
    Turkwel Turkwel February 2011 Development
  • 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 ... 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
  • 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 …

    ... />
    Updating the SP for POP/PUSH can be done like this ... /> push bc ; 11ts
    push bc ; 11ts
    push bc ; 11ts
    push bc ... cycles to work out how fast this would really be.
    FrankT FrankT 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 …

    pop reads two bytes from SP into specified register pair and increases SP by two. push decreases SP by two and stores two bytes from specified register pair to SP. These operations are not copy anything.
    Shiru Shiru March 2011 Development
  • SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…

    ... Z80 routine replicates the old COPY command. You can call ... it with COPY 65446. While the original command ... required.
    [code]
    ; COPY command for the ZX Printer ... /> push hl
    push bc
    call copy_line
    pop bc
    pop hl ...
    chev chev April 2011 Sinclair Basic
  • SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…

    ... at 63550. Call it with COPY 63550. IM2 mode is then ... a hi-res CLS with COPY 44252.

    [code]rep_j ... />
    zap_loop:
    push hl
    push de
    push bc
    ld ... /> ld c,l
    pop hl
    push bc
    ret
    chev chev April 2011 Sinclair Basic
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... font (which I had to copy from a text editor due ... /> do_it:
    push hl
    push bc
    push de
    push af
    call doit1
    pop af ...
    chev chev May 2011 Sinclair Basic
  • RAND USR that doesn't work in emulators and clonesEons ago, I "discovered" a strange RANDOMIZE USR. This is it: [b]RANDOMIZE USR 46578[/b] Using it on a genuine ZX Spectrum rubber key or Plus model,…

    ...
    pop af


    Don't you mean push? It ... code does with AF is copy from memory to registers....not ...
    Gedlion Gedlion May 2011 Emulators
  • RAND USR that doesn't work in emulators and clonesEons ago, I "discovered" a strange RANDOMIZE USR. This is it: [b]RANDOMIZE USR 46578[/b] Using it on a genuine ZX Spectrum rubber key or Plus model,…

    ...
    pop af


    Don't you mean push? It ... code does with AF is copy from memory to registers....not ...
    mcleod_ideafix mcleod_ideafix May 2011 Emulators
  • Back to BASIC[U][B]Archaeology guide to programs compiled used MCODERII.d[/B][/U] After various people have been talking about "Frank'n'stein" I decided to finis…

    ... 28749 33 107 92
    PUSH HL ; 28752 229
    ... 28753 33 0 0
    POP DE ; 28756 209
    POP DE ; 28769 209
    ... CODE]
    3) Copy the string into the workspace ... 28830 33 2 0
    POP DE ; 28833 209
    Jimmy Jimmy May 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... /> or

    PUSH DE
    POP HL[/QUOTE]


    RST 16 ; fast call

    ld ... />
    RST 16 ; fast call

    ld ... />
    RST 16 ; fast call

    ld ... />
    RST 16 ; fast call

    ld ...
    ooze48k ooze48k July 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... channel type 'P'
    pop hl ; allocated address plus ... br />
    push hl ; save AT_COL address ... ; Main loop to copy 8 font bytes into ... :

    pop hl ; restore AT_COL address ...
    Einar Saukas Einar Saukas July 2011 Development
<1…9101112131415…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