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.025s
<1…11121314151617…34>
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... writing etc)
    SCREEN EQU $4000 ; Location of screen
    ATTRIBS EQU ... ; attrib to set when clearing screen
    cls:
    di ;disable ...
    push bc
    call sprite8x8a
    pop bc
    pop hl
    Kotek Kotek July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... to an off screen buffer and copy that to screen if you ... /> ; next row, calculate screen address
    pop hl
    ; move down ... l
    inc hl
    push hl
    ld a, ( ... /> ; next row, calculate screen address
    pop hl
    ; move down ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... to an off screen buffer and copy that to screen if you want ...

    pop bc
    ld de, shiftdata_lbuff
    push bc
    call sprite8x8caAlwaysLookupRow
    pop bc
    ld ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... ; push table address
    push hl
    ; look up screen address ... ld h, (hl)
    ; copy this to HL but add ... ; next row, calculate screen address
    pop hl
    ; move ... ; next row, calculate screen address
    pop hl
    ; move ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... it back
    ; look up screen address from the table
    ; copy this to HL but add col onto it
    push bc ... c
    add c
    pop bc
    ld l, a ... c
    add c
    pop bc
    ld l, a ... c
    add c
    pop bc
    ld l, a ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... an off screen buffer and copy that to screen if you ... check_overlap_expanded expandamount
    push hl
    push de
    ld ... /> .done
    pop de
    pop hl
    ENDM
    push bc
    call line_data_alloc
    pop bc
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... ld h, (hl)
    ; copy this to HL but add ... ; push table address
    push hl
    ; look up screen address ... ; next row, calculate screen address
    pop hl
    ; move ... ; next row, calculate screen address
    pop hl
    ; move ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... it back
    ; look up screen address from the table
    ; copy this to HL but add col onto it
    push bc ... c
    add c
    pop bc
    ld l, a ... c
    add c
    pop bc
    ld l, a ... c
    add c
    pop bc
    ld l, a ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ...
    ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    pop bc
    djnz .nextbyte
    xor a
    push bc ... /> ld a, c
    ; copy HL into BC
    ld ... ; erase last char written to screen
    unputc:
    ld hl ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ...
    ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    pop bc
    djnz .nextbyte
    xor a
    push bc ... /> ld a, c
    ; copy HL into BC
    ld ... ; erase last char written to screen
    unputc:
    ld hl ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... I'll have to copy strings to a temp ...
    ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    pop bc
    ENDM

    MACRO LD_SCROLL_N_SRC_DEST_LINE offset, nlines
    push ... ld a, c
    ; copy HL into BC
    ld ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ...
    ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    ld a, c
    ; copy HL into BC
    ld ... ; erase last char written to screen
    unputc:
    ld ... , hl
    push bc
    call parseint16
    pop bc
    ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ; base address of the screen
    SCRBUF_BASEADDR EQU #4000< ... pop bc
    ENDM

    MACRO LD_SCROLL_N_SRC_DEST_LINE offset, nlines
    push ... a, c
    ; copy HL into BC
    ... erase last char written to screen
    unputc:
    ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    pop bc
    ENDM

    MACRO LD_SCROLL_N_SRC_DEST_LINE offset, nlines
    push ... buffers to fill rather than copy
    ld bc, ... a, c
    ; copy HL into BC
    ld ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... />
    ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    copy
    ld bc, 256 * 24 ...
    ld a, c
    ; copy HL into BC
    ld ... /> ex de, hl
    pop de
    push hl ; we will return ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... br />
    MACRO LD_SCROLL_SRC_DEST
    push bc
    ld a, (bc ... /> pop bc
    ENDM

    main:
    ; clear the screen
    copy
    ld bc, 256 * ... br /> ld a, c
    ; copy HL into BC
    ld ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... br />
    MACRO LD_SCROLL_SRC_DEST
    push bc
    ld a, (bc ... /> pop bc
    ENDM

    main:
    ; clear the screen
    copy
    ld bc, 256 * ... br /> ld a, c
    ; copy HL into BC
    ld ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ...
    ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    copy
    ld bc, 256 ... /> pop hl ; next token
    pop bc ; depth
    push de ; push our ...
    ; we want to copy bc bytes from pushed value ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ...
    ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    copy
    ld bc, 256 ... /> pop hl ; next token
    pop bc ; depth
    push de ; push our ...
    ; we want to copy bc bytes from pushed value ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Quiz - my first attempt!And so it is! My first attempt at a quiz... 1. All answers give 1 point unless otherwise stated, for a total of 33 points. 2. Give your answers excl…

    ... same game?

    13. Push your enemies off a platform ... ) Spanish game featuring an Italian pop singer.

    15. In ... the Guardian in the last screen.

    23. Which was ... one appearing on the loading screen.

    28. Among the ...
    Alessandro Grussu Alessandro Grussu July 2002 Games
  • IM 2 interrupts and smooth scrolling - easy peasy!Okay, been fiddling around with IM 2 and have actually mastered (I think) how to use IM 2! Now I run my game Ragnar Revival in IM2 and use HALT to sy…

    ... and use HALT to sync screen drawing (dumping of offscreen graphics ... , one with IM2 for synchronizing screen manipulation (a scrolling text) using ... /> push hl
    ld hl,16384
    inc (hl)
    pop hl ...
    ekoman ekoman July 2004 Development
  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…

    ... br />
    Spriteloop:
    PUSH BC

    CALL ... IX,DE

    POP BC

    DJNZ ... On Entry:
    ; HL Contains Screen Address
    ; DE Contains Char ...
    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] ; ***********…

    ... PUSH AF
    PUSH BC
    PUSH HL
    PUSH IX ... /> POP IX
    POP HL
    POP BC
    POP AF ... :
    ; HL Contains Screen Address
    ; DE ...
    robpearmain robpearmain August 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 …

    ... CALL WRITECHAR
    POP DE
    POP BC
    DJNZ ... br /> POP IX
    POP HL
    POP BC
    POP AF
    PUSH HL

    ; CONVERTS A SCREEN ADDRESS TO ...
    robpearmain robpearmain September 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…

    ... go where on the screen (handled by another ... LD (HL),A
    POP HL
    INC HL ... /> DJNZ LOOP2
    PUSH DE
    LD DE ... ADD HL,DE
    POP DE
    DEC C ...
    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…

    ... displays the colour for my screen tiles. Can anyone offer ... ,16
    PRTTILELOOPX PUSH BC
    PUSH DE
    LD ... CALL PRINTTILE
    POP DE
    POP BC
    INC E ...
    Mr Millside Mr Millside February 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... fastest way to update the screen. I know that ldir/lddr ... , but not sure about the push vs ld (hl),a.
    LOOP
    PUSH DE
    DEC BC
    AE.Vasconcelos AE.Vasconcelos April 2005 Development
  • Programming MC : first stepsIsn't nice to collect all kinds of short routines to help making the first steps into MC for everyone who never touched MC? What I mean is mostly th…

    ... print a score on screen
    A simple Randomgenerator ...
    random push hl ; save registers
    push bc ; save registers ... restore
    pop bc ; retrieve registers
    pop hl
    ...
    Dr BEEP Dr BEEP August 2005 Development
  • Convert Screen to TAPHow do I take the screen display and save it as a tap (I am basically trying to create 3 taps, one for the basic loader, one for the screen, and one …

    How do I take the screen display and save it as a tap (I am basically trying to create 3 taps, one for the basic loader, one for the screen, and one for memory and then copy them all together into one tap file)

    Many thanks
    robpearmain robpearmain December 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
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