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.038s
<1…28293031323334>
  • 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,…

    ...
    LD HL, 13453
    POP BC
    RET
    [/code]
    POP it, those bytes get read ...
    AndyC AndyC 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,…

    ... might do PUSH BC before your call then POP BC afterwards to set ... going to mess with A, BC and HL then at the ... at the end you do POP HL, POP BC, POP AF to set things ... 16-bit register pairs like BC, DE and HL. So A ...
    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…

    ... all registers
    PUSH BC
    PUSH DE
    POP HL
    POP DE
    POP BC
    POP AF
    EXX
    EX AF,AF'
    POP ... IX
    POP HL
    POP DE
    POP BC
    POP ...
    daveysludge daveysludge November 2016 Development
  • WoS Birthday ChatWe have an IRC channel set up on coldfront - #wos The official chat will be on Friday at 7pm GMT. Feel free to pop in tonight for the birthday or…

    ... ; pop bc; pop bc; pop bc; pop bc; pop bc; pop bc; pop bc; pop bc; pop bc; pop bc; pop bc; pop bc; pop…
    1024MAK 1024MAK December 2016 Updates
  • 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…

    ... /> push de
    pop ix ;IX=start of w ... call $24b7 ;DRAW_LINE
    pop bc
    inc ix
    inc ... /> djnz DRAWs
    pop de ;DE=end of w ... /> push ix
    pop hl ;HL=position in w ... /> jr nz,PLOTs
    pop hl
    exx ;restore ...
    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…

    ... /> ld a,(0x5b5c)
    ld bc,0x7ffd
    push af
    push bc
    res 4,a
    call 0x13f
    pop bc
    pop af
    di
    ld ...
    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 ... /> 33008 POP BC ;pop 33007 from stack to BC
    33009 RET ;pop 16384 from ...
    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 …

    ... your program after you load BC with 16384:

    1 ... . PUSH BC. This instruction places the value ... in BC (16384) on the top of ... , which is:

    3. POP BC. This instruction takes the value ...
    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…

    ... 13
    ld bc,+(tpulse1 shl 8) ... />
    l05b3: push bc
    rl c
    ... /> ld a,c
    pop bc
    ret nz
    ...
    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…

    ... one.

    A PUSH/POP pair takes 21 cycles and ... code can most often just pop as it needs the stored ... involves doing things like "pop af; pop bc; push bc; push af" to get ... 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 …

    ... /> pop hl
    pop de
    pop bc
    pop af
    exx
    pop hl ...
    pop de
    pop bc
    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…

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

    It is better to push/pop ...
    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…

    ... [b]push bc:push de:push hl:pop hl:pop de:pop bc[/b] takes ...
    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…

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

    It is better to push/pop ...
    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…

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

    It is better to push/pop ... function that does the push/pop of registers that matter when ...
    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…

    ... [b]push bc:push de:push hl:pop hl:pop de:pop bc[/b] takes ...
    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…

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

    It is better to push/pop ... function that does the push/pop of registers that matter when ...
    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…

    ... to reason about what PUSH/POP combinations are actually required if ... is wrapped in a PUSH/POP BC, it might be worth moving ...
    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…

    ... to reason about what PUSH/POP combinations are actually required if ... is wrapped in a PUSH/POP BC, it might be worth moving ...
    colonel32 colonel32 July 2017 Assembler
  • What is the maximum fps the spectrum can achieve?I have been doing some reading and from what I understand the Spectrum outputs a PAL signal, but that means it will display @50fps or @25fps? If t…

    ... that concept of an off-screen buffer being generated and swapped, so ... only a single sprite per screen frame. That would mean ... games will hardware scroll the screen and move sprites with the ... as simple. Game logic and screen updates are inextricably linked and ...
    AndyC AndyC August 2017 Hardware
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... /> POP SP
    POP IY
    POP IX
    POP HL
    POP DE
    POP BC ...
    POP AF ... ,AF'
    POP HL
    POP DE
    POP BC
    POP AF
    JP ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... this
    [code]
    PUSH BC
    LD B,100
    CALL 8927
    POP BC
    RET
    [/code]
    ivanb303 ivanb303 September 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... hl,$4000 ;start of screen file
    ld bc,$18 ;0 into ... B; 8 pixel rows x 3 screen thirds ... ld (hl),a ;pattern into screen address
    inc hl ;next ... screen address
    djnz loop ;repeat ...
    Ast_A_Moore Ast_A_Moore September 2017 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
pop 6.4K 13.2K
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…
  • 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…
  • 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

  • fastest screen routine
  • screen routine
  • screen routines
  • 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 push bc
  • screen buffer pop bc ld sp hl
  • blit buffer to screen contention
  • screen buffer
  • routine to scroll screen buffer by 1 pixel
  • faster copy to screen from buffer
  • screen buffer einar
  • print on buffer screen
  • linear screen buffer sprites

Copyright © 2024 World of Spectrum