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.027s
<1…19202122232425…34>
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... HL,16384d ; Start address of screen 210040
    LD A, ... HL),A ; POKE bit to screen 77
    INC HL ; ... to HL 19
    POP DE ; Restore DE D1< ... ; Loop back 20F1
    PUSH DE ; Store DE on stack ... from address ED52
    POP DE ; Restore DE D1< ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... HL,16384d ; Start address of screen 210040
    LD A, ... HL),A ; POKE bit to screen 77
    INC HL ; ... to HL 19
    POP DE ; Restore DE D1< ... ; Loop back 20F1
    PUSH DE ; Store DE on stack ... from address ED52
    POP DE ; Restore DE D1< ...
    Fikee Fikee August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... HL,16384d ; Start address of screen 210040
    LD A, ... HL),A ; POKE bit to screen 77
    INC HL ; ... to HL 19
    POP DE ; Restore DE D1< ... ; Loop back 20EF
    PUSH DE ; Store DE on stack ... from address ED52
    POP DE ; Restore DE D1< ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... HL,16384d ; Start address of screen 210040
    LD A,85d ... 19 ****** THIS IS WRONG
    POP DE ; Restore DE D1
    PUSH DE ; Store DE on stack ... 5888d from address ED52
    POP DE ; Restore DE D1
    Fikee Fikee August 2010 Sinclair Basic
  • 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 …

    ... ]'s suggestion I switched to POP/PUSH. As I said, it's ... fully aware of what the screen is doing at any one ...
    joefish joefish August 2010 Development
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... HL,16384d ; Start address of screen 210040
    120 LD ... ),A ; POKE bit to screen 77
    170 INC HL ... to HL 19
    230 POP DE ; Restore DE D1< ... 17 bytes 20EF
    260 PUSH DE ; Store DE on stack ... from address ED52
    300 POP DE ; Restore DE D1< ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Keyboard demoHere's a preview of a new keyboard for the special fx engine. Press any key to start/restart. [url]http://dl.dropbox.com/u/9498358/fire_keyboard.sn…

    ... or further up the screen when playing the odd ...
    DRAWCH1: PUSH AF
    PUSH DE
    PUSH HL
    CALL ...
    DRAWCH2: PUSH AF
    PUSH DE
    PUSH HL
    CALL ... br /> POPRET: POP HL
    POP DE
    POP AF
    ...
    kgmcneil kgmcneil September 2010 Development
  • SAM programmingHi Can anyone provide any example hello world or graphics/sprite printing style machine code routines for the SAM? I can't seem to find anything rem…

    ... OUT commands. Also access to screen data is very easy from ... ) ; fetch current video paging
    push af

    in a ... -extended key pressed

    pop af
    out (vmpr),a ...
    obo obo 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…

    ... ) ;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
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... a small Z80 stub to copy them to 65280, set the ... cares if some of the screen is corrupt. Cybernoid runs faultlessly ...
    db 225 ; pop hl
    db 209 ; pop de
    db ... '
    db 225 ; pop hl
    db 209 ; pop de
    db ...
    ASM ASM October 2010 Hardware
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    ... br />
    [code]
    SPRINT POP HL
    LD A,(HL ... HL)
    INC HL
    PUSH HL
    AND A
    CALL SPRINT ; Do some screen printing
    DEFB $16,0 ...
    rich_chandler rich_chandler October 2010 Development
  • emulatorsplease help can we see clearly which emulator emaulates which hardware is there any that has a pc function key for the mulitface nmi button and the +…

    ... results in microsft blu
    screen - this does nto havppen ... colours on a mode 3 screen - so well exaplained that ... one 16 colour mode 3 screen on sam - mind you ... long did it take to copy the 20kb video fram ... /> LD SP,screen_address
    PUSH HL[/code][/QUOTE]
    Roger Jowett Roger Jowett October 2010 Emulators
  • 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…

    ... memory (8 KBYTES). Fortunately, on screen sprite X and Y postions ... a BYTE thus 255 on screen sprites on the Spectrum can ... /> mov ebp,ecx

    push edi

    lea edi ...
    jne .count

    pop edi

    ; ------------
    < ...
    ASM ASM October 2010 Development
  • Why are speccy games so ****ing cool?I grew up with a spectrum and fell in love with it from a young age, so I may be slightly biased, but it seems to me that the look and feel of games …

    ... in your hands, a pristine copy and you see the cover ... town on the way back, pop into WH Smiths, lets sit ... pack of C90's i pop round my mates house who ... , i love watching the loading screen build up and then the ... games if he wants to copy any. Probably not but it ...
    psj3809 psj3809 October 2010 Games
  • Why are speccy games so ****ing cool?I grew up with a spectrum and fell in love with it from a young age, so I may be slightly biased, but it seems to me that the look and feel of games …

    ... in your hands, a pristine copy and you see the cover ... town on the way back, pop into WH Smiths, lets sit ... pack of C90's i pop round my mates house who ... , i love watching the loading screen build up and then the ... games if he wants to copy any. Probably not but it ...
    SkyCat SkyCat October 2010 Games
  • emulatorsplease help can we see clearly which emulator emaulates which hardware is there any that has a pc function key for the mulitface nmi button and the +…

    ... on ehas managed to use push to get 16 pixels onscreen ... of the screen at a time?[/QUOTE]

    As PUSH is ... , Speculator won't let you copy and paste text from the ... of the data, one correct copy of seperate small files and ...
    ASM ASM November 2010 Emulators
  • Printer Printing Problem (assembler)I've a program that outputs to the lower screen at various places, using a combination of calls to RST $10 plus OUT-NUM-1 and PR-STRING. It also call…

    ... are a number of lower screen display routines which I want ...
    push bc
    ld a," "
    rst $10
    pop bc ...
    push bc
    ld a," "
    rst $10
    pop bc ...
    Battle Bunny Battle Bunny November 2010 Development
  • Printer Printing Problem (assembler)I've a program that outputs to the lower screen at various places, using a combination of calls to RST $10 plus OUT-NUM-1 and PR-STRING. It also call…

    ... are a number of lower screen display routines which I want ...
    push bc
    ld a," "
    rst $10
    pop bc ...
    push bc
    ld a," "
    rst $10
    pop bc ...
    Dr BEEP Dr BEEP November 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…

    ... and so is the death screen :)
    [QUOTE=Ralf;489549 ... there is an unpleasant, noticeable screen blackout for the moment (the ... slow). Any chance for faster screen redrawing routine? I also ... at screen buffering , maybe the next game I will try more pop/push ...
    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 …

    ... ; Prints characters directly to screen bypassing ROM calls
    ; ... print position
    PUSH DE ; Save print position ... ; Set attribute
    ; -------------
    PUSH HL ; Save print position
    screen attribute
    POP HL ; Get print ...
    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 …

    ... ; Prints characters directly to screen bypassing ROM calls
    ; ... print position
    PUSH DE ; Save print position ... ; Set attribute
    ; -------------
    PUSH HL ; Save print position
    screen attribute
    POP HL ; Get print ...
    Jonathan Harston Jonathan Harston November 2010 Development
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... />
    db 225 ; pop hl
    db 193 ; pop bc
    reg_sp ... />
    pack_snapshot: mov edx,[input_buffer_ptr] ; Screen
    add edx,SNA_listlen

    ; ------------

    .copy: ldir ; Memory copy

    .next: ld ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... br /> db 241 ; pop af
    db 209 ; pop de
    db ... 225 ; pop hl
    ... above method currupting the screen (this new method does ... ------------

    lea esi,[z80_stub] ; Copy stub
    mov ecx,STUBLEN ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • New tool: ZXBOOT.EXE[B]ASM[/B] is proud to present the first release of ZXBOOT.EXE: [url]http://www.4shared.com/file/NP-FVOSf/zxboot__beta_.html[/url] ZXBOOT is a comma…

    ... Spectrum memory map. The screen occupies the first 6912 ...

    db 241 ; pop af
    db 8 ; ex ... /> db 40,00Ch ; jr z,.copy

    ; ------------

    ; ------------

    db 241 ; pop af

    restore db ...
    ASM ASM November 2010 Announcements
  • New tool: ZXBOOT.EXE[B]ASM[/B] is proud to present the first release of ZXBOOT.EXE: [url]http://www.4shared.com/file/NP-FVOSf/zxboot__beta_.html[/url] ZXBOOT is a comma…

    ... - Snapshot Batman on a blank screen to save more space!
    copy

    db 241 ; pop af

    COPY


    ; --------------------------------------------------------------------------
    [/code ...
    ASM ASM November 2010 Announcements
  • 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
  • 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…

    ... pressed?
    pop af
    rra
    push af
    call ... /> here2 ld hl,(seed) ;screen address table pointer
    dec ... 0
    seed defw screen ;screen address table pointer, table below ... or before, sprite misses third screen segment later
    defw ...
    R-Tape R-Tape 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…

    ... />
    The demo clears the screen, builds the tables, runs bank ... ,a
    put_blanksprite1 push bc
    exx
    pop bc
    exx ... l,a
    push hl
    exx
    pop hl
    ret ... /> add hl,de
    push hl
    pop ix
    ld a ...
    Turkwel Turkwel February 2011 Development
<1…19202122232425…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
screen 45.8K 73.8K
copy 17.9K 22.8K
push 4.9K 12.7K
pop 6.4K 13.2K

Related Threads

  • 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&amp;forum=11"]http://www.worldofspectrum.org/foru…
  • 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…
  • 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)<br /> <br /> I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory.<br /> <…
  • 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…
  • Real Spectrum screen flicker with SCREEN$I've written a basic loader to simply do a 'load "" screen$' based video from a divide+ however I'm finding the Spectrum can't render a screens and a…
  • 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 /…
  • Wow! Splitscreen gaming goes full screen!!! One screen gives two fullscreen views!Sounds a bit Alice in Wonderland (If Lewis Carroll had written it in the twenty-first century) but aparently, using 3D glasses you can get two full s…
  • ULAPlus: showing different screen modes in one screenI wanted to write a demo showing the same screen, converted to various screen modes available on the Spectrum (well, a Spectrum clone capable of show…
  • 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…
  • Best Side Screen/Screen-Surrounds?I've been researching side-art/screen-surrounds for my own game, so at the risk of asking a question that has probably been asked in the last 20-odd …

Related Searches

  • loading screen copy
  • push pop
  • push pop to the screeb
  • push pop to the screen
  • copy picture to screen
  • comparison screen copy
  • screen copy einar
  • block copy push pop
  • 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
  • fast screen copy
  • fast screen copy chase hq
  • push pop copy chase hq
  • fast copy push pop
  • copy push pop
  • copy screen memory
  • push pop xy

Copyright © 2024 World of Spectrum