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.022s
<1234567…34>
  • Screen buffer Tip from Raff CeccoRaff very kindly gave me this tip: "Incidentally, I remembered a trick I used on the Z80 for extra speed: When clearing the screen buffer, it was a…

    ... :

    When clearing the screen buffer, it was actually much quicker ... the end of the screen memory area and push zero values onto ... the stack until the screen area ... this worked because you could push 16 bits of data in ...
    alienbanana alienbanana October 2014 Development
  • Return of Speccy screen buffer formatI recently discovered that the Spectrum screen buffer format that allows only two colours in an 8x8 pixel block has made its return in a slightly dif…

    ... recently discovered that the Spectrum screen buffer format that allows only two ...
    vilcans vilcans November 2005 Sinclair Miscellaneous
  • Question on copying screen bufferHi, Al my prevoius games were copying graphics directly to screen memory starting at 16384. Now I'm experimenting with screen buffer where I could d…

    ... . Now I'm experimenting with screen buffer where I could draw my ... I would copy it to screen memory.

    You may ... just copying static image from buffer to screen after HALT.

    Ralf Ralf December 2009 Development
  • Edge Grinder, how would YOU do it?I always meant to post about this and AndyC reminded me in the 'vs' thread in games. [QUOTE=AndyC;808887]The thing I love about threads like this is…

    ... />
    ;;
    PUSH BC ;store stuff
    PUSH DE
    PUSH HL
    EXX ... /> decodelines PUSH BC
    LD B,4 ; parts of screen
    decodeparts PUSH BC
    MatGubbins MatGubbins December 2014 Development
  • Help for beginner with z80Hi chaps, I'm reasonably new with z80, but had a fair amount of experience with 68000, so decided to give a few things a go. One little thing I'm t…

    ... />
    ;;
    PUSH BC ;store stuff
    PUSH DE
    PUSH HL

    decodelines PUSH BC
    LD B,4 ; parts of screen
    decodeparts PUSH BC
    MatGubbins MatGubbins February 2015 Development
  • Using the stack to blit bufferI was using a ldir to blit my back buffer to the screen RAM, and it was working pretty well if not rather slow. After reading about using the stack …

    ... to blit my back buffer to the screen RAM, and it ... stack to push and pop stuff to the screen, I ... ld sp, buffer
    pop af
    pop bc
    pop ... bc
    pop de
    pop hl

    ld sp, screen ... +18
    push hl
    pop de ...
    Atari_Jetman Atari_Jetman February 2014 Development
  • Double Buffer UtilityHi Folks, I've been experimenting with double buffering on a 48k Speccy for a small project I'm working on. After reading lots of good advice here…

    ... /> # In this example the buffer matches the screen size.
    #
    ... high
    # from the buffer to the screen
    # NOTE - See ... self.copyPushList = ['PUSH HL','PUSH DE','PUSH BC\nEXX','PUSH IX','PUSH HL','PUSH DE','PUSH BC','PUSH AF']
    KrazyKattapilla KrazyKattapilla August 2014 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 …

    ... Sprites drawn on buffer
    c) Buffer copied to screen

    PUSH AF
    PUSH BC
    PUSH HL
    PUSH IX
    ... :
    PUSH HL

    ; CONVERTS A SCREEN ADDRESS TO ...
    robpearmain robpearmain September 2004 Development
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok, After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following: I have 2 x 6k Offscreen areas (Yes, that's …

    ... FLAG IS 1, FAST COPY BUFFER TO SCREEN

    ... /> PUSH AF
    PUSH BC
    PUSH HL
    PUSH IX
    PUSH DE ... :
    ; PUSH HL
    ;
    ; ; CONVERTS A SCREEN ADDRESS TO AN ...
    robpearmain robpearmain September 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 BC,1760 ;adjust screen address for
    ... PUSH BC
    PUSH BC
    INC H
    LD SP,HL
    PUSH BC
    PUSH BC ... first column
    ;HL=screen addr.
    ;DE= ...
    LD BC,1823 ;Move screen addr.up and across ...
    dmsmith dmsmith September 2004 Development
  • Screen LoaderCouple days ago i find very interesting loader routine in ex Yugoslavia magazine "Svet Kompjutera" from january 1987. Authors of article, calls this …

    ... -loader" and she load screen verticaly line by line, ... most impressive.
    Uncompressed screen must be at 49152, ... LD HL,01343
    PUSH HL
    IN A,(& ... (IX+0),L
    PUSH AF
    RRR CALL RUT ...
    PUSH BC
    LD BC,32
    ADD HL,BC
    ...
    Pegaz Pegaz August 2006 Games
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... Pointer:
    push af
    push bc
    push de
    push hl
    ex ... /> push af
    push bc
    push de
    push hl
    push ix
    push iy ... screen
    push hl ;Write 8 bytes from registers
    push de
    push bc ...
    joefish joefish May 2009 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 …

    ... that stack pointer cheese and push/pop is faster to move ... use push/pop, but copying a four character sprite to the screen ... takes three cycles of push/pop.

    screen buffer into 2x1 blocks and keep ...
    Gedlion Gedlion March 2011 Development
  • (part of) screen to UDGHere is a routine to copy a Y,X-position on screen to a UDG. 0<=y<=23 0<=x<=31 144<=udg<=165 (UDG "A" to UDG "U") [code] ; start code with ; PRINT …

    Here is a routine to copy a Y,X-position on screen to a UDG.
    0
    Dr BEEP Dr BEEP June 2011 Development
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ... byte order) buffer at 57484 to the Spectrum screen at
    push af
    push bc
    push de
    push hl
    push ix
    push ... br /> ; last byte of the screen
    ld hl, $ + 9 ... /> attributes:
    incbin "screen.atr" ; 768 bytes of ...
    chev chev April 2012 Development
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    I've been using the SCREEN$() function recently for reading ... data off the screen rather than taking up ... for it. Instead of SCREEN$(row,col) use FN ... HL=$106E
    push hl
    push de
    push bc
    ld de ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Scrolling Bi-Colour Engine for 4-Player GamesJust putting this code up for people to have a look at. Far from finished. Should simply compile and run a bit of a demo. Only good for 128K and +…

    ... /> [CODE]
    ; Bi-Colour Scrolling-Buffer Game Engine for Four Player ... /> inc c

    push bc
    push bc
    ld hl,char_frame_right
    screen
    ld a,(print_attr_cache)
    joefish joefish March 2014 Development
  • Problem with BC corrupting after DJNZJust for fun, I'm messing around trying to get the level maps from Lemmings to display on the screen with machine code. It's been ages since I did an…

    ... line stored sequentially unlike the screen which is arranged differently.< ... DE,16384 ; SCREEN START ADD

    LOOP1 LD BC,8 ; ... FOR 8 LINES
    LOOP2 PUSH BC ; STORE THE LINE COUNTER
    screen, after popping BC the DJNZ doesn' ...
    mulder mulder January 2016 Development
  • Let's copy buffers!Figured I'd do some double buffered graphics, so I can render for several frames before displaying stuff. Yes, I mean on a 48k speccy, so no 128k spe…

    ... routines, the source buffer is linear (not in screen order) and address ... /> push hl
    push de
    push bc
    exx
    push de
    push bc
    push ...
    Sol_HSA Sol_HSA April 2016 Development
  • off screen bufferwhen using an offscreen buffer is the memory copied to the screen in a way that makes it easier to draw sprites to the buffer? E.g. Lets say you…

    ... offscreen buffer is the memory copied to the screen ... of the screen where you copy your buffer to,
    if the buffer was copied to the screen so that the ... /> draw background on buffer (or just clear it ... draw sprites on buffer
    copy buffer to screen
    slenkar slenkar June 2017 Development
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    ... Leave some space for shadow screen buffer
    20 GO SUB 9000 ...
    Volker Volker February 2021 Software
  • 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…

    ... 1 (edit) clears the input buffer.

    I also ...
    ; base address of the screen
    SCRBUF_BASEADDR EQU #4000
    .nextbyte
    push bc
    push hl
    ld l, (hl ... set
    ; work out buffer insert address
    ld hl ...
    Paradigm Shifter Paradigm Shifter August 2022 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 …

    ... /> ; Fill Back buffer with a bright stripy pattern ... PUSH BC
    PUSH DE
    PUSH IY
    PUSH IX
    PUSH ... ENTRY:
    ; HL CONTAINS SCREEN ADDRESS
    ; DE CONTAINS ...
    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 …

    ... /> ; Fill Back buffer with a bright stripy pattern ... PUSH BC
    PUSH DE
    PUSH IY
    PUSH IX
    PUSH ... ENTRY:
    ; HL CONTAINS SCREEN ADDRESS
    ; DE CONTAINS ...
    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 …

    ... /> ; Fill Back buffer with a bright stripy pattern ... PUSH BC
    PUSH DE
    PUSH IY
    PUSH IX
    PUSH ... ENTRY:
    ; HL CONTAINS SCREEN ADDRESS
    ; DE CONTAINS ...
    robpearmain robpearmain September 2004 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. …

    ... data from linear backbuffer to screen... aprox 14.59T/B
    push iy
    push ix
    push bc
    push de
    push af ;71 ... ;11 next line in back buffer



    ;FIRST ...
    Fikee Fikee May 2005 Development
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8

HitBox

Word Docs Hits
screen 45.8K 73.8K
buffer 2.6K 4.9K
push 4.9K 12.7K
bc 3.6K 14K

Related Threads

  • Return of Speccy screen buffer formatI recently discovered that the Spectrum screen buffer format that allows only two colours in an 8x8 pixel block has made its return in a slightly dif…
  • 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…
  • Writing to the screen from a bufferI?m designing a game and am spending a bit of time trying different ideas before I commit my self. I?m currently thinking of writing data to a buffer…
  • Question on copying screen bufferHi,<br /> <br /> Al my prevoius games were copying graphics directly to screen memory starting at 16384. Now I'm experimenting with screen buffer whe…
  • 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…
  • 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…
  • Double-Buffer ScreenFor my Alien Breed Speccy re-write I decided to use a Double Buffer (DB) or 'Back Screen' to draw all the game action onto, before shuffling the whol…
  • Buffer to screen - how much?[FONT=Calibri][SIZE=3]I am starting to build a new game and am researching different ways to accomplish what I need to do. My question is, is it poss…
  • Screen buffer Tip from Raff CeccoRaff very kindly gave me this tip:<br /> <br /> "Incidentally, I remembered a trick I used on the Z80 for extra speed:<br /> <br /> When clearing the…

Related Searches

  • push pop to the screen
  • comparison screen buffer
  • screen buffer time
  • screen buffer compare time
  • linear screen buffer
  • screen address to buffer
  • screen copy push pop
  • screen buffer push
  • screen buffer pop bc
  • screen buffer pop bc ld sp hl
  • screen push
  • screen push comparison
  • screen push write speed
  • blit buffer to screen contention
  • screen buffer
  • routine to scroll screen buffer by 1 pixel
  • faster copy to screen from buffer
  • screen buffer einar
  • push buffer
  • print on buffer screen

Copyright © 2024 World of Spectrum