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.010s
<1…12131415161718…34>
  • Help needed to speed up functionCan anyone help me to re-factor this code snippet. The "MAP" section holds information about which tiles go where on the screen (handled by another f…

    ... ),A
    INC L
    PUSH HL
    LD (HL),A ...
    LD (HL),A
    POP HL
    INC L
    Mr Millside Mr Millside February 2005 Development
  • Help needed to speed up functionCan anyone help me to re-factor this code snippet. The "MAP" section holds information about which tiles go where on the screen (handled by another f…

    ... 9
    loop2 push bc

    push de

    loop push bc
    ld b, ... br /> inc l
    pop bc
    djnz loop< ... ldi

    pop hl

    pop bc
    djnz loop2 ...
    AndyC AndyC February 2005 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... B,16
    PRTTILELOOPX PUSH BC
    PUSH DE
    LD A ...
    CALL PRINTTILE
    POP DE
    POP BC
    INC E ...
    Dr BEEP Dr BEEP February 2005 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ...

    PRINTTILE PUSH DE
    EXX
    POP DE
    MAPLUMODIFY ...
    Mr Millside Mr Millside February 2005 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ...

    PRINTTILE PUSH DE
    EXX
    POP DE
    MAPLUMODIFY ...
    Mr Millside Mr Millside February 2005 Development
  • Installing Z88DK Z88DK INSTALLATION Z88DK is distributed in two parts. The first part is the platform independent bits (including source and z80 libraries) and th…

    ... pop bc
    pop de
    pop bc
    push hl
    push de ... call sp_LookupKey
    pop bc
    pop bc
    push hl
    ... /> pop bc
    pop hl
    push hl
    push hl< ... pop bc
    pop hl
    push hl
    push bc
    push hl ...
    na_th_an na_th_an April 2005 Development
  • Saboteur - Safe or secret place?Hello. Im sure many of you played Saboteur. When you are on the 1st floor (the floor you start), you can see a blocked ladder on a screen just before…

    ... b_b org 24576

    push af

    ld a ... jp $c632

    map_down pop af
    jp $c612

    map_left pop af
    jp $c328
    Mr. Anonymous Mr. Anonymous April 2005 Games
  • BEEPing in assemblyI'm using Z88DK and I'd like to know how to produce BEEPs. I know it's a matter of writting very fast to a certain port, but I've read somewhere that…

    ... tone)
    {
    #asm
    pop bc ; bc = return address
    pop de ; de = cycles
    push de
    push hl
    push bc ...
    na_th_an na_th_an April 2005 Development
  • How do I get a random numberHi, I need a simple routine to get a random number from 1 to 4. I don't need nothing very complex or that much random, it just have to produce diffe…

    Random:
    push hl
    ld a,r
    ld hl,RandSeed
    add a,(hl)
    rrc a
    ld (hl),a
    pop hl
    ret

    RandSeed:
    defb 91
    dansauk dansauk May 2005 Development
  • How do I get a random numberHi, I need a simple routine to get a random number from 1 to 4. I don't need nothing very complex or that much random, it just have to produce diffe…

    ... :

    Random:
    push hl
    ld a,r ... br /> ld (hl),a
    pop hl
    ret

    [code]

    Random:
    push hl
    ld a,r ... br /> ld (hl),a
    pop hl
    AND 3 ; number ...
    Dr BEEP Dr BEEP May 2005 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ...
    push iy
    push ix
    push bc
    push de
    push af ... /> pop bc ;38

    ld sp, hl ;6

    push ... /> pop bc ;38

    ld sp, hl ;6

    push ...
    Fikee Fikee May 2005 Development
  • Hi-Score tableThe score in my game occupies 3 bytes. I want to create a hi-score but I'm not sure of the best way to work out where a new score would fit in the ta…

    ... LD B,3
    PUSH DE ; SAVE POINTER
    POP DE ; EQUAL AND HIGHER VALUES ARE INSERTED ON TOP
    PUSH ... ; THE SHIFT
    POP DE
    LD HL ... /> RET
    SMAL POP DE
    INC DE ...
    Dr BEEP Dr BEEP June 2005 Development
  • Hi-Score tableThe score in my game occupies 3 bytes. I want to create a hi-score but I'm not sure of the best way to work out where a new score would fit in the ta…

    ... POP DE ; EQUAL AND HIGHER VALUES ARE INSERTED ON TOP
    PUSH ...
    Mr Millside Mr Millside June 2005 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…

    ... data to copy

    POP into registers

    Set ... be copied to.

    PUSH the registers, thereby copyint the ...
    dansauk dansauk July 2005 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…

    ... data to copy

    POP into registers

    Set ... be copied to.

    PUSH the registers, thereby copyint the ... SP,POP-stack
    POPPERDEPOP etc...
    LD SP,PUSH-STACK
    Dr BEEP Dr BEEP July 2005 Development
  • 128 ramdisk loaderanyone got a program which will save the contents of ramdisk to tape in one go, rather than saving each file seperately then loading them and save!in…

    ... ),a
    ei
    push bc
    push hl
    ld ix ... ,4000h
    call 04C2h ; **
    pop hl
    inc hl
    pop bc
    jr loop
    < ...
    John Elliott John Elliott July 2005 Sinclair Basic
  • Z80 QuestionCan the instruction EX DE,HL be prefixed with DD to give EX DE,IX? Derek

    ... this

    PUSH DE
    PUSH IX
    POP DE
    POP IX
    Dr BEEP Dr BEEP July 2005 Development
  • Z80 QuestionCan the instruction EX DE,HL be prefixed with DD to give EX DE,IX? Derek

    ... this

    PUSH DE
    PUSH IX
    POP DE
    POP IX
    Dr BEEP Dr BEEP July 2005 Development
  • Z80 QuestionCan the instruction EX DE,HL be prefixed with DD to give EX DE,IX? Derek

    i prefer this :)

    push de
    ld e, lx
    ld d, hx
    pop ix
    Fikee Fikee August 2005 Development
  • Z80 QuestionCan the instruction EX DE,HL be prefixed with DD to give EX DE,IX? Derek

    Push and Pop

    is that like peek and poke
    chop983 chop983 August 2005 Development
  • Z80 QuestionCan the instruction EX DE,HL be prefixed with DD to give EX DE,IX? Derek

    ... /> i prefer this :)

    push de
    ld e, lx ...
    ld d, hx
    pop ix

    [/quote]

    push de
    defb #dd
    ld d, h
    pop ix
    Dr BEEP Dr BEEP August 2005 Development
  • Programming MC challengeIn the 80-ies I got the following assignment for a programming course. 2 16-bit values stored in #8000 and #8002 must be added together and stored i…

    ... /> ld sp,#8000
    pop bc
    pop de
    ld a ... hl,0
    .skip
    push hl
    [/code]

    AndyC AndyC August 2005 Development
  • Programming MC challengeIn the 80-ies I got the following assignment for a programming course. 2 16-bit values stored in #8000 and #8002 must be added together and stored i…

    ... /> ld sp,#8000
    pop bc
    pop de
    ld a ... bc,0
    .skip
    push bc
    jp (hl)
    AndyC AndyC August 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... de, (destino)
    uncrunch:
    push de ; destination pointer to 2nd ... register
    exx ; set
    pop de

    ; El jussi ... tocarlos.
    push hl
    push de
    push bc
    push af
    na_th_an na_th_an October 2005 Development
  • z88dk+splib2 sprites question.I'm creating a game and I have several "states" for my main sprite, such as jump, facing left, facing right, etcetera. All those states require a dif…

    ... for symbol
    push hl
    exx
    pop hl ; hl = decoder ... b,a
    .writeloop
    pop af
    ld a,c ... /> cp h
    .foundchild
    push af ; save: nz = right child ...
    Alcoholics Anonymous Alcoholics Anonymous October 2005 Development
  • MC TipPlace your MC tip here: Here is my first: When using alternate registers (EXX) the HL register must not be affected on return to BASIC. Also the IY…

    ... ]

    And what about PUSH HL & POP HL ? :D
    piters piters November 2005 Development
  • 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) I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory. I then want to cop…

    [code]
    pop bc
    ... ex de, hl
    pop hl
    ld (memory1), ... hl
    pop hl
    ld (memory2), ... and just one thing: POP BC/LD (HL),C/INC ... POP HL

    INC H
    ...
    ...


    PUSH ...
    Fikee Fikee December 2005 Development
  • ROM paging questionAssuming the Spectrum 128 memory map and port addresses, but two custom ROMs in place of the normal Editor and BASIC, what is the most efficient way …

    ... routine:
    [code]
    RST_START POP HL ; Fetch RET Address
    INC HL
    PUSH HL : save RET Address after ...
    Dr BEEP Dr BEEP January 2006 Development
  • ROM paging questionAssuming the Spectrum 128 memory map and port addresses, but two custom ROMs in place of the normal Editor and BASIC, what is the most efficient way …

    ... address in HL

    pop HL

    ; get ... stack

    push HL

    ; push after_page2: on stack
    push HL

    ; push call address on ... RET, effectively this will POP PC and hence call our ...
    cyborg cyborg January 2006 Development
  • Machine Code: quicksort optimisationI came across this z80 quicksort implementation when going through the wikipedia article on the same. It's 44 bytes long. I was wondering if any of …

    ... qsort ld hl,0
    push hl
    qsloop ld h ... /> ld (de),a
    pop hl ;restore pivot
    jp ... ;restore pivot
    pop hl ;pop lo
    push bc ;stack=left-hi ...
    Metalbrain Metalbrain January 2006 Development
<1…12131415161718…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
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 /> …
  • 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…
  • Pop star game ?Anyone know the name of this game ? It doesnt seem to be the Pop Star game in the archive<br /> <br /> It must have been a very old game as the grap…
  • How many T-states takes PUSH DE ?Hi.<br /> <br /> Just a quick one.<br /> According to z80.info docs, a PUSH DE should take 11 T-States to be executed.<br /> <br /> But WHAT if SP is…
  • info needed from Pop.Comp.Weekly 14&21 Nov'85Does anyone have the Popular Computing Weekly issues for 14th &amp; 21st November 1985? There should be a listing for a Spectrum turbo load/save rout…
  • Help with Christmas Pop songs in German Spanish and ItallianI am organinsing a Christmas party for a rock climbing club wich I help run... our club includes German, Spanish and Itallian members I was wondering…

Related Searches

  • push
  • push scrollinb
  • push scrolling
  • push off error
  • push pop to the screeb
  • push pop to the screen
  • push scrollers
  • block copy push pop
  • pop fix
  • pop 2a
  • 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
  • screen copy push pop

Copyright © 2024 World of Spectrum