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.023s
<1…28293031323334>
  • The state of source level debuggingI was just wondering if we can put on a table everything we collectively know about source level debugging for ZX Spectrum to get an overview of curr…

    ... .
    Even has an Off Screen Buffer viewer.
    One very nice ...
    tstih tstih November 2016 Development
  • The state of source level debuggingI was just wondering if we can put on a table everything we collectively know about source level debugging for ZX Spectrum to get an overview of curr…

    ... STACK-BC ROM routine
    push hl ; push ret address
    push bc ; push ...
    push hl ; push ret address
    push bc ; push RANDOMIZE USR ...
    tstih tstih November 2016 Development
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    This is just an example of what the stack can do.
    It is just swapping values around.


    [code]
    LD HL,16384
    LD DE,22528
    LD BC,49152
    PUSH HL ; put 16384 onto the stack
    ; stack 16384
    MatGubbins MatGubbins November 2016 Assembler
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    ... & C, you might do PUSH BC before your call then POP ... sub-routine you do PUSH AF, PUSH BC and PUSH HL. Then at the ... end you do POP HL, POP BC ... thing is you can't PUSH single 8-bit registers on ... 16-bit register pairs like BC, DE and HL. So ...
    joefish joefish November 2016 Assembler
  • Interrupt routineI have been trying to create an interrupt routine for playing AY music in the background but cant seem to get anything working. I have a music rou…

    ... registers
    PUSH BC
    PUSH DE
    PUSH HL
    PUSH IX
    ... EXX
    EX AF,AF'
    PUSH AF
    PUSH BC ...
    PUSH DE
    PUSH HL
    PUSH IY
    daveysludge daveysludge November 2016 Development
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... /> org 65368
    exx
    push hl ;save H'L'
    push de
    pop ix ;IX ... of w$
    PLOTs: push hl
    ld c,(ix ... br /> inc ix
    DRAWs: push bc
    ld a,(ix+0 ... DE=end of w$
    push ix
    pop hl ;HL ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... BASIC' flag (free printer buffer)
    ld bc,$7ffd
    ld a ...
    FrankT FrankT March 2017 Announcements
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... ,(0x5b5c)
    ld bc,0x7ffd
    push af
    push bc
    res 4 ...
    call 0x13f
    pop bc
    pop af
    di ...
    FrankT FrankT March 2017 Announcements
  • c compiler benchmarkingI am going to have access to a number of commercial z80 compilers for a time for benchmarking, namely Hitech C v750 MSDOS (abandoned when Hitech was …

    ... most valuable optimisations. Sprite manipulation, screen buffers, collision detection? I'm ... />
    [quote]
    Sprite manipulation, screen buffers, collision detection?
    [/quote ... . But again, it manages the screen buffer and draws it. The user ...
    Alcoholics Anonymous Alcoholics Anonymous March 2017 Sinclair Miscellaneous
  • More basic assembly stuff!I've been figuring out some more stuff using CALL and DEFB but this has me a bit stumped. [code] ORG 33000 LD BC, 16384 PUSH BC CALL GO RET …

    ...
    33000 LD BC, 16384
    33003 PUSH BC ;push 16384 onto stack
    33004 CALL GO ;push 33007 onto ...
    GO:
    33008 POP BC ;pop 33007 from stack to ...
    Battle Bunny Battle Bunny March 2017 Assembler
  • More basic assembly stuff!I've been figuring out some more stuff using CALL and DEFB but this has me a bit stumped. [code] ORG 33000 LD BC, 16384 PUSH BC CALL GO RET …

    ... you load BC with 16384:

    1. PUSH BC. This instruction ... places the value in BC (16384) on ... :

    3. POP BC. This instruction takes the value ... is 33007), copies it into BC and [i]increments[/i] ...
    Ast_A_Moore Ast_A_Moore March 2017 Assembler
  • Unusual custom turbo loaders - with sourcesI have always been fascinated by turbo loaders; my games all feature a TZX version with one of such schemes implemented, and I have been experimentin…

    ...
    ld hl,#053f
    push hl

    ld hl ... /> jr l05c2

    l05b3: push bc
    rl c
    xor ...
    Woody Woody April 2017 Development
  • z80 Helper?When you are programming with z80 do you get 'lost' you are in the middle of making a routine and you can't remember which registers are holding val…

    ... just one.

    A PUSH/POP pair takes 21 cycles ... things like "pop af; pop bc; push bc; push af" to get hold of ... on the stack (now in BC) or "ld hl,n; add ...
    Alcoholics Anonymous Alcoholics Anonymous April 2017 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 …

    ... br /> pop de
    pop bc
    pop af
    ... push bc
    push de
    push hl
    exx
    push af
    push bc
    push ... de
    push hl ...
    Atari_Jetman Atari_Jetman May 2017 Development
  • z88dk : Support FunctionsJust a quick one here, I am looking to doing some dirty dirty code with C and load a screen$ file from the disk using "system( command )" - yes I …

    ... header i.e. discard to screen buffer
    LD DE,17 ; Length ... /> LD IX,screenfile ; Load screen bytes to screen buffer
    LD DE,$1B00 ...
    dbolli dbolli June 2017 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…

    ... , the format of an off-screen buffer is [i]almost [/i]always ... same odd format as the screen a couple of times, but ...
    Sokurah Sokurah June 2017 Development
  • Reading Disks via ASMI'm hoping to port my Amstrad game to the spectrum (See the link in my sig for info) I will be targeting the 128 and +3 - the game will not work on …

    ... extra code into the second screen buffer for menus and level loading ...
    keith56 keith56 July 2017 Development
  • what is wrong with this loop?here is the loop: ld b,12 ld a,31 ld de,right_screen_array right_screen_array_label call charaddress ex de,hl ;de now contains screen address…

    Well you've no registers left to use so you either (a) Push AF and PUSH BC and then POP BC and POP AF either side of CALLcharaddress or (b) completely re-write the routine.
    rich_chandler rich_chandler July 2017 Assembler
  • what is wrong with this loop?here is the loop: ld b,12 ld a,31 ld de,right_screen_array right_screen_array_label call charaddress ex de,hl ;de now contains screen address…

    [code]push af
    push bc
    call charaddress
    pop bc
    pop af ... [/code]

    It is better to push ...
    Bedazzle Bedazzle July 2017 Assembler
  • Reading Disks via ASMI'm hoping to port my Amstrad game to the spectrum (See the link in my sig for info) I will be targeting the 128 and +3 - the game will not work on …

    ... the CPC I had both screen buffers in memory at all ... can only use a hardware screen buffer using bank 7, and only ...
    keith56 keith56 July 2017 Development
  • what is wrong with this loop?here is the loop: ld b,12 ld a,31 ld de,right_screen_array right_screen_array_label call charaddress ex de,hl ;de now contains screen address…

    ... 2 bytes, whereas [b]push bc:push de:push hl:pop hl:pop de ... :pop bc[/b] takes 66 Ts ...
    colonel32 colonel32 July 2017 Assembler
  • what is wrong with this loop?here is the loop: ld b,12 ld a,31 ld de,right_screen_array right_screen_array_label call charaddress ex de,hl ;de now contains screen address…

    [quote="Bedazzle;915425"][code]push af
    push bc
    call charaddress
    pop ... bc
    pop af[/code ... ]

    It is better to push ...
    The_Bert The_Bert July 2017 Assembler
  • what is wrong with this loop?here is the loop: ld b,12 ld a,31 ld de,right_screen_array right_screen_array_label call charaddress ex de,hl ;de now contains screen address…

    ... "][quote="Bedazzle;915425"][code]push af
    push bc
    call charaddress ...
    pop bc
    pop af ... [/code]

    It is better to push ... function that does the push/pop of registers that ...
    AndyC AndyC July 2017 Assembler
  • what is wrong with this loop?here is the loop: ld b,12 ld a,31 ld de,right_screen_array right_screen_array_label call charaddress ex de,hl ;de now contains screen address…

    ... 2 bytes, whereas [b]push bc:push de:push hl:pop hl:pop de ... :pop bc[/b] takes 66 Ts ...
    The_Bert The_Bert July 2017 Assembler
  • what is wrong with this loop?here is the loop: ld b,12 ld a,31 ld de,right_screen_array right_screen_array_label call charaddress ex de,hl ;de now contains screen address…

    ... "][quote="Bedazzle;915425"][code]push af
    push bc
    call charaddress ...
    pop bc
    pop af ... [/code]

    It is better to push ... function that does the push/pop of registers that ...
    The_Bert The_Bert July 2017 Assembler
<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