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.008s
<1…11121314151617…34>
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... />
    DRAWSPR DI
    PUSH IY ;Preserve IY for return ... RETURN1 LD SP,(SPSTORE)
    POP IY
    EI
    RET ... /> LD SP,HL
    POP IX
    POP IY

    ... RETURN2 LD SP,(SPSTORE)
    POP IY
    EI
    ...
    dmsmith dmsmith August 2004 Development
  • Interrupts details questionSuppose I am writing a game and I want to use interrupts to measure time, draw the screen without flicker, maybe to poll keyboard etc. What kinds of …

    ... di
    push hl
    push de
    push bc
    push af
    pop af
    pop bc
    pop de
    pop hl
    unscrambleHL:
    push de
    push bc
    push af
    < ... br />
    pop af
    pop bc
    pop de
    ret ...
    Erlstoned Erlstoned August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ...

    PUSH AF
    PUSH BC
    PUSH HL
    PUSH IX
    POP HL
    RET

    DoBlankAttr:
    PUSH HL
    robpearmain robpearmain August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... br /> PUSH AF
    PUSH BC
    PUSH HL
    PUSH IX

    POP BC

    DJNZ ...
    POP IX
    POP HL
    POP BC
    POP AF
    robpearmain robpearmain August 2004 Development
  • Anyone know the address mappings...of the hardware resources on the speccy; From the screen display address range to all the hardware control registers. etc. Where can I get access t…

    ... check against

    CDLOOP PUSH BC

    LD BC ... for next sprite

    POP BC
    DJNZ CDLOOP ;Loop ...
    RET

    COLLISION POP BC
    LD A,MAXSPRITES ...
    dmsmith dmsmith September 2004 Development
  • Collision DetectionHi everyone, This is my first post on WOS. Like most people here I owned a Spectrum when a teenager. At that time I was quite heavily into programmin…

    ... check against

    CDLOOP PUSH BC

    LD BC ... for next sprite

    POP BC
    DJNZ CDLOOP ;Loop ...
    RET

    COLLISION POP BC
    LD A,MAXSPRITES ...
    dmsmith dmsmith September 2004 Development
  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23. Any ideas on how to code …

    ... />
    [code]
    rnd push hl
    push de
    ld hl ... 1 to N
    pop de
    pop hl
    ret
    Dr BEEP Dr BEEP September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... as I think the commands PUSH and POP alter the SP by ...
    MadDoc MadDoc September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... as I think the commands PUSH and POP alter the SP by ... SP by 1.
    PUSH and POP do alter it by 2 ...
    Woody Woody September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... as I think the commands PUSH and POP alter the SP by ...
    Dunny Dunny September 2004 Development
  • 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 ... /> POP BC
    LD SP,HL
    PUSH BC
    PUSH DE
    PUSH ...
    robpearmain robpearmain September 2004 Development
  • 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 ... /> POP BC
    LD SP,HL
    PUSH BC
    PUSH DE
    PUSH ...
    robpearmain robpearmain September 2004 Development
  • On 48k, can I copy 4k before next screen updateFollowing on from my thread at [url="http://www.worldofspectrum.org/forums/viewtopic.php?topic=6423&forum=11"]http://www.worldofspectrum.org/forums/v…

    ... ,8000
    POP AF
    POP BC
    POP DE
    POP HL
    EXX
    POP AF
    POP BC
    POP DE
    POP HL ; using ... ,4010
    PUSH HL
    PUSH DE
    PUSH BC
    PUSH AF
    gasman gasman September 2004 Development
  • 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 ... /> POP BC
    LD SP,HL
    PUSH BC
    PUSH DE
    PUSH ...
    robpearmain robpearmain September 2004 Development
  • the happiest days of your life-pt2hello,again i have come up with 2 solutions to the problem of solving this game:- 1.the more people that try to solve this game (by combining diffe…

    ... routine
    #DB48 PUSH IX
    #DB4A POP HL ; Preserve IX register ... ) ; 'A' contains #62
    #DB6C PUSH BC ; Preserve location of incoming ...
    Mr. Anonymous Mr. Anonymous September 2004 Games
  • Can Anyone explain sprites in Jet Pac/Atic Atac etcJet Pac was 16k, and yet the sprites were impressively fast. I notice they had a slight flicker at times, but were notmally pretty flicker free. W…

    ... /> dec c
    push bc
    push hl
    7741 ld ... 7750 djnz 41
    pop hl
    call EE
    pop bc
    exx
    ... djnz 5F

    pop hl
    call EE
    Fikee Fikee October 2004 Development
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling. As promised here is the code for the routine. It's pretty long and fairl…

    ... ]
    ld hl, 4000h \ push hl \ pop de \ inc de \ ld (hl ...
    Erlstoned Erlstoned October 2004 Development
  • Zecut0r and ZAFA while ago (about 2 yrs)i took VbSpec and tried to port it to Delphi 6. Althought it was pretty weak, it. Meanwhile DelphiSpec 0.1 appeared and i wa…

    ... following:-
    pop hl
    pop bc
    push bc
    push hl
    Steve(spt) Steve(spt) October 2004 Emulators
  • Zecut0r and ZAFA while ago (about 2 yrs)i took VbSpec and tried to port it to Delphi 6. Althought it was pretty weak, it. Meanwhile DelphiSpec 0.1 appeared and i wa…

    ... be :
    Pop hl
    Pop bc
    Push hl
    Push bc
    zecut0r zecut0r October 2004 Emulators
  • Can Anyone explain sprites in Jet Pac/Atic Atac etcJet Pac was 16k, and yet the sprites were impressively fast. I notice they had a slight flicker at times, but were notmally pretty flicker free. W…

    ... ) ----

    push de
    push hl

    ... />
    done_draw_attr:
    pop hl
    pop de

    ; ... ),bc

    pop af
    ld hl, LastRotateTable ...
    ; -----

    pop hl ; hl = last screen address ...
    robpearmain robpearmain October 2004 Development
  • Cobra - scrollingHi everyone, I have been studying some of the code in Ocean' Cobra game using a debugger, in the hope of improving my own scrolling routines. In cas…

    Well it seems Woody is hottest. The ISR loads R with FFh.

    [code]

    ei
    push af
    ld a,ffh
    ld r,a
    pop af
    reti

    [/code]

    Derek
    dmsmith dmsmith October 2004 Development
  • How can I scroll a line of text and wrap perfectlyI know this is easy for most of you but for some reason I am messing it up. In Assembly Language I want to do the following: I have 1 line of text …

    ... end of the line) then POP HL, do a RLC H ... , RLC L, POP DE, RLC D, RLC E ... , POP BC, RLC B, RLC C, ... you've scrolled 12 bytes, PUSH the whole lot back move ... again, POP HL, LD DE,0, ADC HL,DE, PUSH HL and ...
    cyborg cyborg October 2004 Development
  • Reading the keyboardDoes anyone have a code sample to read the keyboard in machine code ?

    ... /> PUSH HL
    PUSH BC

    CALLADDR CALL 0

    POP ... BC
    POP ...
    dmsmith dmsmith November 2004 Development
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?

    ... ,(HL)
    RET
    COUNN PUSH BC
    LD B,0 ... /> COU_E LD A,B
    POP BC
    RET
    [/code ...
    aprisobal aprisobal December 2004 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…

    ... /> LD A,(DE)
    NOTDIRTILE 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…

    ... ),A
    INC L
    PUSH HL
    LD (HL),A ...
    LD (HL),A
    POP HL
    INC L
    Dr BEEP Dr BEEP 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…

    ... ),A
    INC L
    PUSH HL
    LD (HL),A ...
    LD (HL),A
    POP HL
    INC L
    Dr BEEP Dr BEEP 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…

    ... ),A
    INC L
    PUSH HL
    LD (HL),A ...
    LD (HL),A
    POP HL
    INC L
    cyborg cyborg 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…

    ... ),A
    INC L
    PUSH HL
    LD (HL),A ...
    LD (HL),A
    POP HL
    INC L
    Dr BEEP Dr BEEP 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…

    ... ),A
    INC L
    PUSH HL
    LD (HL),A ...
    LD (HL),A
    POP HL
    INC L
    Dr BEEP Dr BEEP February 2005 Development
<1…11121314151617…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