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…25262728293031…34>
  • Scrolling by 2 pixelsWhat is the fastest way of scrolling a Spectrum screen line by 2 pixels left or right? When thinking about it I've come to this simple solution: [C…

    ... ]Column coordinates within the Spectrum screen always respect the 256 bytes ... was making operations on linear screen buffer in memory. I didn't ... bytes actually copied to real screen
    N - are not ... directly copied to screen but deliver bits to S ...
    Ralf Ralf August 2013 Development
  • Scrolling by 2 pixelsWhat is the fastest way of scrolling a Spectrum screen line by 2 pixels left or right? When thinking about it I've come to this simple solution: [C…

    ... exx
    pop hl
    pop de
    pop bc
    rla
    push hl
    pop hl
    ;exx
    ... inc sp ;can't do "pop bc"
    inc sp ; as ...
    Battle Bunny Battle Bunny August 2013 Development
  • Hardware description - DivIDE interface[B][U]DIVIDE interface / DivIDE 2k11[/U][/B] [B][U]The main description[/U][/B] DIVIDE is IDE interface with own external memory. Thanks to very goo…

    ... ,r3
    pop af
    push bc
    ld bc,$a3
    jr ... : inir
    inir
    r5: pop bc
    djnz rx
    r6 ...
    velesoft velesoft August 2013 Hardware
  • Scrolling by 2 pixelsWhat is the fastest way of scrolling a Spectrum screen line by 2 pixels left or right? When thinking about it I've come to this simple solution: [C…

    ... right 2 pixels
    pop hl
    pop de
    rr l ... br /> exx
    pop hl
    pop de
    pop bc
    rla
    push hl
    pop hl
    xor a
    ...
    Battle Bunny Battle Bunny August 2013 Development
  • MC LPRINT 23681Having problems with this routine to print large on the screen using LPRINT, it works ok in BASIC, but cant seem to get it to loop for some reason in…

    ... around with spaces and the BC register within the print routine ... print ;call print routine
    pop bc

    LD A,C ... /> ld de,dat
    ld bc,9
    LD HL,23680 ...
    MatGubbins MatGubbins September 2013 Development
  • MC LPRINT 23681Having problems with this routine to print large on the screen using LPRINT, it works ok in BASIC, but cant seem to get it to loop for some reason in…

    ... /> ld l,8
    ld bc,$4800 ;B=72,C=0 ... /> LOOP1: push bc
    ld (23680),bc
    ld bc,16
    ld ... print a string length BC from DE
    pop bc
    inc b ...
    Battle Bunny Battle Bunny September 2013 Development
  • Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…

    ... to, you could push af, pop bc then examine the relevant bits ... or de in place of bc, and examine 'l' or 'e ...
    u6c87 u6c87 September 2013 Development
  • Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…

    ... to, you could push af, pop bc then examine the relevant bits ... or de in place of bc, and examine 'l' or 'e ...
    wibble wibble September 2013 Development
  • 128 BASIC-compatible way of loading BASIC as code?On a 48K Speccy (or from 48 BASIC or USR 0 mode on a 128K machine), one can do a silly trick like this: [code];; load a 4000 byte BASIC program ld i…

    ...
    CALL $04C2 ;SA_BYTES
    pop bc
    ret

    ;load ...
    Battle Bunny Battle Bunny September 2013 Development
  • Finders Keepers+I know a few of you are interested in this project so I thought it was about time I started a proper thread for it rather than just slipping bits int…

    ... hl
    835e c5 push bc
    835f cd7985 call StrengthSubtract ... StrengthSubtract
    837a c1 pop bc
    837b e1 pop hl
    837c ...
    David Jones David Jones September 2013 Development
  • Finders Keepers+I know a few of you are interested in this project so I thought it was about time I started a proper thread for it rather than just slipping bits int…

    ... call PWindowR4
    8598 f1 pop af
    8599 ee10 xor ... PWindowL5 ; pwlf
    85bf f1 pop af
    85c0 ee10 xor ... xor $10
    85c6 c1 pop bc
    85c7 10eb djnz StrengthSubtract1 ...
    David Jones David Jones September 2013 Development
  • Poke 23755 & 23756Entering the following few lines of BASIC: [IMG][URL=http://s1286.photobucket.com/user/rebelstarwac/media/Poke1_zpsc2845838.png.html][IMG]http://i12…

    ... /> The 128k editor maintains a screen buffer which is what is shown ... on the screen. When it does a relist ... up the rest of the buffer with as many following lines ... doesn't have an editor screen buffer as it uses a line ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Another vertical scrolling questionwhile talking about w256 x h128 vertical scrolling, are 128k modes have any advantages over 48k models? has extra ram or swappable screen buffer any…

    ... /> has extra ram or swappable screen buffer any use on scrolling?[/QUOTE ... advantage due most issues with screen sync are gone. And it ... 49152 and draw it to screen swapped off than trying to ...
    catmeows catmeows October 2013 Development
  • Bug in Super Wonder Boy in Monsterland?Hello!:smile: This game seems to have a bug that prevents finalize. The dragon that is in the last level, it is impossible to kill.Remains static.No…

    ...
    push de
    push bc
    ld a,#1c
    #bd48 pop bc
    pop de
    #bd4a pop af
    add ...
    Slider Slider October 2013 Games
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... routine but our data (a screen buffer for example) are a "part ... awkward work with such a buffer separated by LD HL,NN ...
    Ralf Ralf October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... pop hl
    pop de
    pop bc
    exx
    pop hl
    pop ... de
    pop bc
    pop ... /> push af
    push bc
    push de
    ...
    Ralf Ralf October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... keypress
    pop bc ; unstack BC
    pop de ; unstack DE
    pop af ; ... unstack AF
    pop ... /> nmi_ret:
    pop af ; unstack AF
    pop hl ; unstack HL ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... de, hl ; restore pointer
    pop bc ; unstack new variable name
    me_ent_3:
    pop bc ; unstack length
    pop de ; unstack prog
    pop hl ; unstack new pointer
    pop bc ; unstack length ...
    chev chev October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... this to copy off-screen buffer onto the screen. This is why people ... used "nonlinear" off-screen buffers. This approach can easily ...
    introspec introspec October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... /> POP HL
    POP DE
    POP BC
    EXX
    POP HL
    POP DE ...
    POP BC
    POP ...
    Ralf Ralf October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... bytes right until done
    pop bc ; unstack BC
    ret nc ; return ... 0x30be
    hl_end:
    pop bc ; unstack BC
    ret ; end of subroutine ... ; main register set
    pop bc ; DE' to BC
    ld a, b ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... register set
    pop bc ; unstack exponent bytes
    pop hl ; unstack pointer ... so
    pop af ; unstack priority marker
    ld bc, 0x107c ; ... org 0x32d4
    oct_to_dec:
    pop af ; unstack priority marker
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... 0x2734
    s_loop:
    pop de ; get last op- ... 0x2764
    s_runtest:
    pop de ; unstack last op- ... 0x2770
    s_endloop:
    pop bc ; unstack present values
    ... br /> s_next:
    push bc ; stack present values
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... * dimension size
    pop bc ; unstack variable pointer
    bc ; stack BC
    call test_5_sp ; room for five bytes?
    pop bc ; unstack BC ... pop bc ; unstack length
    pop hl ; unstack pointer
    inc bc ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... /> pop bc ; length
    push bc ; to BC
    inc bc ; ... reclaim existing array
    pop bc ; unstack discriminator byte
    ... pop bc ; unstack length
    dec bc ; decrease
    dec bc ; by
    dec bc ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... bc, 5 ; 5 bytes
    call test_room ; test for space
    pop ... /> exx ; alternate register set
    pop hl ; unstack next literal to ... A
    pop hl ; unstack HL
    pop bc ; unstack BC
    ret nz ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... 0x35b5
    secnd_low:
    pop bc ; unstack BC
    jr z, both_null ... br /> frst_less:
    pop bc ; unstack BC
    pop af ; unstack AF< ... /> other_str:
    pop bc ; unstack second
    pop hl ; string parameters ...
    chev chev October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... 're feeling loony, use I: pop bc, ld A,B, LD I ... ,A, LD A,C, pop BC to make flag register clear ...
    Gedlion Gedlion October 2013 Development
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ... /> di
    ld bc,32765 ;BC=$7FFD, I/O flags address ... ld c,a
    push bc

    ;restore BASIC ...
    ei

    pop bc ;restore status
    ret ;return ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... /> POP DE
    POP BC
    EXX
    POP HL
    POP DE
    POP BC
    POP ... /> POP DE
    POP BC
    EXX
    POP HL
    POP DE
    POP BC
    POP ...
    Metalbrain Metalbrain October 2013 Development
<1…25262728293031…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
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