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
<1…28293031323334>
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... ; number of stars.
    loop: push bc

    Again: call GetRnd ... ; plot

    pop bc
    dec bc
    ld a,b ...
    Sokurah Sokurah July 2020 Assembler
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... ; number of stars.
    loop: push bc

    Again: call GetRnd ... ; plot

    pop bc
    dec bc
    ld a,b ...
    digital digital July 2020 Assembler
  • How to write a simple BASIC* horizontal scrolling game (Tutorial) [b]How to write a simple BASIC* horizontal scrolling game[/b] In this tutorial, we will be talking about how to write a simple BASIC* horizont…

    ... 175
    loop: PUSH BC ; 60009 197
    LD BC, 31 ; 60010 1 ... DE ; 60017 19
    POP BC ; 60018 193
    DJNZ loop ...
    Timmy Timmy September 2020 Development
  • How to write a simple BASIC* horizontal scrolling game (Tutorial) [b]How to write a simple BASIC* horizontal scrolling game[/b] In this tutorial, we will be talking about how to write a simple BASIC* horizont…

    ... to XOR A rather than PUSH BC. What is going on?
    The Mighty Dopethrone The Mighty Dopethrone September 2020 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…

    ... cell anywhere on the screen (or to a screen buffer).

    ... that straddle the weird screen thirds boundary you have ...
    I used a back screen buffer to draw to which started ...
    sprite8x8a:
    ; calculate screen coordinate of top of cell ...
    Paradigm Shifter Paradigm Shifter June 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…

    ...
    ; this points at the screen RAM at the moment. You ... to an off screen buffer and copy that to screen if you want ... used to be (middle of screen) which needs to be inside ... EQU 0 it allows full screen movement and does not draw ...
    Paradigm Shifter Paradigm Shifter June 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…

    ...
    ld d, 0
    push hl
    ld hl, de ... /> ld (ix+1), h
    push bc
    call sprite8x8a
    pop ... bc
    pop hl
    inc ...
    Paradigm Shifter Paradigm Shifter June 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…

    ...
    ld d, 0
    push hl
    ld hl, de ... /> ld (ix+1), h
    push bc
    call sprite8x8a
    pop ... bc
    pop hl
    inc ...
    Kotek Kotek June 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…

    ... trash B register unless you PUSH BC before you trash it and ... POP BC before DJNZ
    ; or you ...
    Paradigm Shifter Paradigm Shifter June 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…

    ...
    ld d, 0
    push hl
    ld hl, de ... /> ld (ix+1), h
    push bc
    call sprite8x8a
    pop ... bc
    pop hl
    inc ...
    Kotek Kotek June 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…

    ... ld b, 11
    push bc ; push loop counter
    ld b ... /> ld c, 1
    push bc ; push coords
    .botrowloop
    ... ld a, (ix+1)
    push bc
    call setattrib2x1
    ... inc e
    ; push loop counter
    push bc
    ld b, ...
    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…

    ... ; do this 2 times
    push bc
    push hl
    ; set collision ... a, (ix+7)
    push hl
    push bc
    call setattrib2x1
    ld l, (hl)
    push hl
    push bc
    ld de, gfx16x16_player ...
    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…

    ... br />
    If you push register pairs you need to ... this:

    push hl
    push bc
    ; trash hl and ... bc
    pop hl
    pop bc< ...
    push hl
    push bc
    ; trash hl and bc
    pop bc
    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…

    [code]cls push hl
    push bc
    di ;disable interrupt
    ... repeat 256 times
    pop bc
    pop hl
    ld ...
    Kotek Kotek 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…

    ... the register, you need to push it to the stack and ... need to do both a PUSH BC and PUSH HL (since they are ... . It's better to only push 1 register pair not 2 ...
    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…

    ... to an off screen buffer and copy that to screen if you want ...
    SCRBUF_BASEADDR is just the screen address, might want to change ... not draw directly to the screen.
    WINDOW_ stuff is ... the attributes (straight after the screen)
    STRIPES set to 1 ...
    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…

    ...
    .nextline
    push bc ; push loop count
    ld d ... by 2
    push hl ; push pointer to next line ... ld l, a
    push hl ; pointer to line drawing ... .nextloop
    .deallocline
    push bc
    call line_data_dealloc
    pop ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Sort 2 byte words (x, y) on ypos, also question about swap (DE), (HL)Well that was a lot of debugging ;) But if you want a routine which takes an array of 16 byte words x, y and then sort them on y (ignoring x), I'm…

    ... /> .heapify_words_body
    ; push root & count
    push bc
    ld a ... ; A = largest
    pop bc
    cp c
    ret ... ; swap largest with root
    push hl
    ld e, a ... add hl, de
    push af
    push hl
    or 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…

    ... ; step = step / 2
    push hl ; remember old value of ... a
    .loop
    push bc
    .doitagainx
    call ... /> ld c, a
    push bc
    .doitagainy
    call ... jr c, .doitagainx
    pop bc
    djnz .loop
    ; ...
    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…

    ...
    .nextline
    push bc ; push loop count
    ld d ... by 2
    push hl ; push pointer to next line ... ld l, a
    push hl ; pointer to line drawing ... .nextloop
    .deallocline
    push bc
    call line_data_dealloc
    pop ...
    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…

    ... /> .heapify_words_body
    ; push root & count
    push bc
    ld a ... add hl, de
    push af
    push hl
    or a ... srl b
    .reheapify
    push bc
    ld a, b
    swap_word
    push bc
    ld c, 0
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • 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…

    ... to use a Double Buffer (DB) or 'Back Screen' to draw all ... lot onto the main display screen. This allows me to more ... hl, 25000 ;Start of DB Screen
    ld de, 16384 ;Start ...
    loop1:
    ld bc,32 ;BC is counter for block copy ...
    LuMan LuMan April 2014 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.
    LD BC,len/2
    LD D ...
    LOOP
    PUSH DE
    DEC BC
    LD A,B ...
    AE.Vasconcelos AE.Vasconcelos April 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…

    ... :
    di

    push iy

    ; Draw ... bc,6143
    ldir

    ; Copy from store to the screen ... 32
    lp1:
    push hl

    ...
    robpearmain robpearmain November 2005 Development
<1…28293031323334>

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