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.041s
<1…28293031323334>
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... address
    push bc
    call copy
    pop bc
    a2s_l:
    mlp1:
    add hl,hl ;uses mask bytes as a ... d ;point DE to screen

    ld (de),a ;put byte ...
    Arkannoyed Arkannoyed December 2017 Development
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... routine above to do full screen PLOT & DRAW, with a ... ]

    [code]
    ;Full Screen PLOT & DRAW, Y=0 ... de
    exx
    pop bc
    DLstep: ld hl,($5c7d) ;H'L'=(COORDS ...
    Battle Bunny Battle Bunny January 2018 Sinclair Basic
  • Proportional-width fontsFor reasons that are still not quite clear to me (because I’ve always loved typography and design,) I never bothered to write a proportional-font rou…

    ... /> add hl,hl
    add hl,hl
    ld bc,font-256
    add hl,bc ;load char ... ;back on screen
    inc e ;next screen byte
    ld a,(de ... />
    pop de ;restore screen addr

    char_attr1
    ld a,0 ...
    Ast_A_Moore Ast_A_Moore March 2018 Development
  • Cubic RevealI just though I'd develop this a little further. Written a while ago on a whim! [img]https://dl.dropbox.com/s/p44y5dda49ucmop/square_reveal_1_1.gi…

    ... + 1 line (20h)
    ld hl,0bf40h ;plasma table of 192 ... br /> mlp1:
    ld a,(de) ;get SCReen buffer byte
    and b ... 2x2 square
    pop hl ;restore plasma address into HL
    nxt_block:< ...
    Arkannoyed Arkannoyed August 2018 Development
  • printing to the screen using pokei remember there being a way to print to the screen using pokes, which would allow you to print a character anywhere in the 175x255 matrix. can anyon…

    ... /> ld a,234
    ld hl,22528
    ld de,22529
    ld bc,767
    ld (hl ... hl,de
    pop de

    ;POKE CHR ONTO SCREEN
    ld b ...
    Battle Bunny Battle Bunny August 2018 Development
  • printing to the screen using pokei remember there being a way to print to the screen using pokes, which would allow you to print a character anywhere in the 175x255 matrix. can anyon…

    ... /> ld a,234
    ld hl,22528
    ld de,22529
    ld bc,767
    ld (hl ... hl,de
    pop de

    ;POKE CHR ONTO SCREEN
    ld b ...
    digital digital August 2018 Development
  • printing to the screen using pokei remember there being a way to print to the screen using pokes, which would allow you to print a character anywhere in the 175x255 matrix. can anyon…

    ... /> ld a,234
    ld hl,22528
    ld de,22529
    ld bc,767
    ld (hl ... hl,de
    pop de

    ;POKE CHR ONTO SCREEN
    ld b ...
    Sokurah Sokurah August 2018 Development
  • Printing text using direct screen addressingHaving some problems printing using the FASE engine which is currently defeating me. Hoping to have someone clear out the bit of fog currently dwell…

    ... that the currently active screen is already being ... pop af
    pop de
    pop ix
    push af
    print: ld ... b
    ld a, (hl)
    ld (de), a
    ld (bc), a
    Hikaru Hikaru December 2018 Development
  • Proportional-width fontsFor reasons that are still not quite clear to me (because I’ve always loved typography and design,) I never bothered to write a proportional-font rou…

    ...
    add hl,hl ; multiply HL by 8
    add hl,hl ; /
    ld bc,font-256 ... address of character
    add hl,bc ;bitmap (chr code*8+font ... HL

    pop de ;restore screen attr addr

    char_attr1
    ld ...
    Ast_A_Moore Ast_A_Moore December 2018 Development
  • My AGD games have AY music (finally!)!!Thanks to David Saphier six of my AGD games have AY music you can play them onine or download them at zxbasic.uk https://www.youtube.com/watch…

    ... memory after the AGD game buffer (200-300 bytes depending on ... /> ld hl,23672
    inc (hl) ; keyboard reading

    pop de
    pop bc
    pop hl ...
    Alessandro Grussu Alessandro Grussu March 2019 Announcements
  • How to store and recall a "window"?I would like to memorize and then restore a rectangular portion of a screen, pixels and attributes. To make things easier, this "window" would be sit…

    ... /> ; HL calculated

    ; ============

    ; Copying data to screen

    ld ... de, 16392

    ld b, 8 ... a, e
    ld e, a

    pop bc
    djnz l3 ...
    Timmy Timmy February 2020 Development
  • What to write / programme?I've been trying to get back some motivation to write something in machine code for the Spectrum. I don't feel I am organised enough to write somethi…

    ... . You have a Stack pointer (SP) which is a special register ... /> POP BC = 10 T states

    An equivalent:

    LD B,(HL ... a POP BC, the following happens

    C = (SP); B = (SP + 1); SP = SP + 2 ...
    dmsmith dmsmith March 2020 Development
  • What to write / programme?I've been trying to get back some motivation to write something in machine code for the Spectrum. I don't feel I am organised enough to write somethi…

    ... ASM routine to fill the screen with a checkerboard background - as ... /> ld a,%01010101
    ld e,32
    push hl
    pxlineloop2 ld (hl),a ... a,32
    ld l,a
    pop bc
    dec c
    dmsmith dmsmith April 2020 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... pop bc
    pop de
    push hl
    push de
    ld hl, bc
    add hl, hl ... This function returns the screen address, given its y ... will draw a player on screen:

    [code ... the player outside of screen, causing an error. ...
    Timmy Timmy September 2020 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... score right after scrolling the screen.
    And we increase the ... weird way of the Spectrum screen is being set up, you ... /> pop bc
    pop de ; de = dest
    pop hl ; hl = number
    push bc

    ld bc ...
    Timmy Timmy 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…

    ... say in MC and LOWER screen. normal screen is Stream 2, but ... equ 23670 ; (was) used as buffer
    sys_udg equ 23675 ; udg ... /> fetchan ld a,(hl)
    push hl
    call setchan
    pop hl

    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…

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

    I used a back screen buffer to draw to which started ... ld d, (hl) ; d = high byte of screen address
    ex de, hl ; hl = screen ... of the tiles
    ld bc,kncpote-poztest ;the beginning ...
    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…

    ... br /> ld e, (hl) ; e = low byte of screen address
    inc hl ; hl points ... /> ld d, (hl) ; d = high byte of screen address
    ex de, hl ; hl = screen address ... /> ld (ix+1), h
    push bc
    call sprite8x8a
    pop bc
    pop hl ...
    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…

    ... />
    ; Print text on screen
    ; FB
    ; ... ; (was) used as buffer
    sys_udg equ 23675 ... fetchan ld a,(hl)
    push hl
    call setchan
    pop hl
    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 (ix+1), h
    push bc
    call sprite8x8a
    pop bc
    pop hl ... br /> ld e, (hl) ; e = low byte of screen address
    inc hl ; hl points ... /> ld d, (hl) ; d = high byte of screen address
    ex de, hl ; hl = screen address ...
    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 (ix+1), h
    push bc
    call sprite8x8a
    pop bc
    pop hl ... br /> ld e, (hl) ; e = low byte of screen address
    inc hl ; hl points ... /> ld d, (hl) ; d = high byte of screen address
    ex de, hl ; hl = screen address ...
    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 (ix+1), h
    push bc
    call sprite8x8a
    pop bc
    pop hl ... br /> ld e, (hl) ; e = low byte of screen address
    inc hl ; hl points ... /> ld d, (hl) ; d = high byte of screen address
    ex de, hl ; hl = screen address ...
    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 (ix+1), h
    push bc
    call sprite8x8a
    pop bc
    pop hl ... br /> ld e, (hl) ; e = low byte of screen address
    inc hl ; hl points ... /> ld d, (hl) ; d = high byte of screen address
    ex de, hl ; hl = screen address ...
    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…

    ... />
    ; Print text on screen
    ; FB
    ; ... ; (was) used as buffer
    sys_udg equ 23675 ... fetchan ld a,(hl)
    push hl
    call setchan
    pop hl
    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…

    ... />
    ; Print text on screen
    ; FB
    ; ... ; (was) used as buffer
    sys_udg equ 23675 ... fetchan ld a,(hl)
    push hl
    call setchan
    pop hl
    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…

    ... />
    ; Print text on screen
    ; FB
    ; ... ; (was) used as buffer
    sys_udg equ 23675 ... fetchan ld a,(hl)
    push hl
    call setchan
    pop hl
    Kotek Kotek June 2022 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
ld 6.3K 67.3K
sp 1.7K 4.2K
hl 6.2K 48K

Related Threads

  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code]<br /> <br /> dec bc<br /> ld a, b<br /> or c<br /> jp nz, loop<br /> <br /> can be replaced (bc starts &gt;255, sho…
  • 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…

Related Searches

  • ld hl de
  • ld bc eostr string
  • push pop to the screen
  • comparison screen buffer
  • screen buffer time
  • screen buffer compare time
  • linear screen buffer
  • screen address to buffer
  • ld bc hl
  • ex sp hl
  • screen copy push pop
  • ld bc 65533 a 254 out c
  • ld bc 65533
  • ld hl 5678
  • 33 ld hl xxxx
  • screen buffer push
  • screen buffer push bc
  • screen buffer pop bc
  • sp register stays on printer buffer
  • ld 23641 hl

Copyright © 2024 World of Spectrum