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.037s
<1…567891011…34>
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... ld hl,16384 ; Screen address
    ld bc,6144 ; Screen length
    ld ... /> inc hl ; Next screen location

    dec bc ; Length = length - 1 ... pixels

    line pop hl ; POP screen line address from LPT
    ASM ASM October 2010 Development
  • Printer Printing Problem (assembler)I've a program that outputs to the lower screen at various places, using a combination of calls to RST $10 plus OUT-NUM-1 and PR-STRING. It also call…

    ... number of lower screen display routines which I ...
    ...
    ;print BC 3 digits padded
    PRIN3N ... /> rst $10
    pop bc
    ld hl,-10
    rst $10
    pop bc
    PRINTN: call OUTNUM< ...
    Battle Bunny Battle Bunny November 2010 Development
  • Printer Printing Problem (assembler)I've a program that outputs to the lower screen at various places, using a combination of calls to RST $10 plus OUT-NUM-1 and PR-STRING. It also call…

    ... a number of lower screen display routines which I ...
    ...
    ;print BC 3 digits padded
    PRIN3N ... br /> rst $10
    pop bc
    ld hl,-10
    rst $10
    pop bc
    PRINTN: call OUTNUM< ...
    Dr BEEP Dr BEEP November 2010 Development
  • Hacking the O.C.P Full Screen Editor/AssemblerIf you have been reading my posts recently then you will know that I am eager to have the sourcecode I wrote for the Spectrum during the period 1988 …

    ... to point to screen
    ld l,a
    pop bc ; Draw 1st ...
    inc h
    pop bc
    ld (hl),c
    inc h
    pop bc
    ld (hl),c
    pop bc
    ld (hl),c ; ...
    inc h
    pop bc
    ld (hl),c
    ASM ASM November 2010 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ...
    ; Prints characters directly to screen bypassing ROM calls
    ; WARNINGS ... for wrapping past bottom of screen
    ;
    ; On ... br /> ; On exit, A/BC/DE/HL corrupted

    screen attribute
    POP HL ; Get print position ...
    Jonathan Harston Jonathan Harston November 2010 Development
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... my previous method using the screen to store the boot code ... />
    db 241 ; pop af
    db 209 ; pop de
    db ... 225 ; pop hl
    db 193 ; pop bc
    db 217 ... the above method currupting the screen (this new method does not ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... ld hl,16384 ; Screen address
    ld bc,6144 ; Screen length
    ld ... /> inc hl ; Next screen location

    dec bc ; Length = length - 1 ... pixels

    line pop hl ; POP screen line address from LPT
    sekrets sekrets November 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... ld hl,16384 ; Screen address
    ld bc,6144 ; Screen length
    ld ... /> inc hl ; Next screen location

    dec bc ; Length = length - 1 ... pixels

    line pop hl ; POP screen line address from LPT
    ASM ASM November 2010 Development
  • Supertest 128 - Loader QuestionI wonder if someone could explain (in simple terms please) :) , the purpose of the switch code. I see what is doing (going to 48k mode via spectrum)…

    ... contains, in order, the title screen, then memory banks 0,1 ... 32h, 33h)
    ; 2. Load screen at 0x4000: 0x1B00 bytes
    screen.
    out (c),a
    ei
    pop af ... ),a
    ei
    pop bc
    pop af
    ret
    ;
    John Elliott John Elliott January 2011 Games
  • Sprites masterclassHi All, You guys are probably tired of explaining sprites but I'd like to clarify a few things if possible. I've sorted the vertical aspect of scro…

    ...
    The demo clears the screen, builds the tables, runs bank ...
    call put_blanksprite
    pop hl
    jr demoa3
    put_blanksprite1 push bc
    exx
    pop bc
    exx
    ld d,a
    pop bc
    exx
    ret< ...
    Turkwel Turkwel February 2011 Development
  • SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…

    ... doit1 ;
    pop af ;
    pop de ;
    pop bc ;
    pop hl ;
    ... the
    ld (chrad), hl ; screen and calculate the address in ... position, place it on the screen
    and a ; one ... left hand side of the screen.
    ld a, (coords_y) ...
    chev chev April 2011 Sinclair Basic
  • 50Hurts - Full-screen 50Hz 1-pixel scrolling on a 128K Speccy50Hurts - Full-screen 50Hz 1-pixel horizontal scrolling on a 128K Speccy. Graphics are an obvious nod to Joffa, whose games and banter were a big ins…

    ... ,hl
    pop hl
    ; HL now holds screen$ address
    byte_A1D8 ... sp,iy
    pop bc
    pop de
    pop af
    exx

    ;; sample screen pusher
    ;; fill 28 bytes ...
    Ketmar Ketmar April 2011 Development
  • Small Machine Code Routines Which Maybe UsefulAs part of creating Flynn's Adventure in Bombland I created a lot of little routines to do all sorts of things. A lot of these I created based on inp…

    ... plot double sized character on screen
    ; input - ... ; **********************************
    ; xy coords to screen pixel position
    ; **********************************
    ; *************************************
    pop bc ; 10t
    ld a ...
    kgmcneil kgmcneil April 2011 Development
  • Jet Set Willy II - collecting objectsThe POKE to reduce the number of objects you need to collect doesn't seem to work. [CODE]POKE 34686,1[/CODE] It looks correct. It changes the CP 150…

    ... go to the master bedroom screen (then the code is run ... A,B ;quicker than PUSH BC
    LD L,(IX+0 ... /> LD B,A ;quicker than POP BC
    DJNZ $75EA
    RET ...
    Jimmy Jimmy May 2011 Games
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... DOIT1
    POP AF
    POP DE
    POP BC
    POP HL
    ... ,181 ; mod to access lower screen
    SUB B
    ... 182 ;mod to access lower screen
    JP NC,ERR5< ...
    chev chev May 2011 Sinclair Basic
  • Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…

    ... . the main loop sends the screen (SCR) bytes to the pc ... , 0x1b00

    _main: ;; send screen bytes at 115.200 bauds ... /> send: push bc
    call _rs232_write
    pop bc
    dec bc
    ld ...
    tstih tstih May 2011 Development
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... 's stuck in the printer buffer). Here's the assembler for ... ]
    org 23480
    PATCH: POP BC ;discard unused return address
    Battle Bunny Battle Bunny May 2011 Games
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... , clears the area of screen you're about to print ... doit1 ;
    pop af ;
    pop de ;
    pop bc ;
    pop hl ;
    ... /> ld (chrad), hl ; on the screen and calculate the address
    screen.
    ld a, (coords_y) ;< ...
    chev chev May 2011 Sinclair Basic
  • fast font engine possible?inspired by the recent "proportional font" thread for zx basic and ideas for gui and having done some of the work on this in the past i wonder if it …

    ... br /> .yposOk:
    ; calc screen address
    ; A is ypos ... br /> pop af
    pop bc
    pop de
    pop hl
    pop ix< ...
    ; scroll the whole screen one line up
    call ... printing routine expects a blank screen line and does no ...
    Ketmar Ketmar May 2011 Development
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... that anyway on the options screen).[/QUOTE]

    You might ...
    Jimmy Jimmy June 2011 Games
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... the MAKE-ROOM routine
    pop bc
    ld hl, CH_DATA + ... 00001111 ; mask half of the screen byte
    or c ; ... result back to screen
    inc d ; next screen location
    ...
    Einar Saukas Einar Saukas August 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... the MAKE-ROOM routine
    pop bc
    ld hl, CH_DATA + ... 00001111 ; mask half of the screen byte
    or c ; ... result back to screen
    inc d ; next screen location
    ...
    Einar Saukas Einar Saukas August 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... the MAKE-ROOM routine
    pop bc
    ld hl, CH_DATA + ... 00001111 ; mask half of the screen byte
    or c ; ... result back to screen
    inc d ; next screen location
    ...
    Einar Saukas Einar Saukas August 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... ld (hl),a ; Write to screen (7)

    inc ... position_var ; Point to next screen position before POPing HL< ... />
    pop af
    pop bc
    pop de
    pop hl ;
    ... br /> scrntab defw 16384 ;screen address table
    defw ...
    R-Tape R-Tape September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... blank out the screen by pointing SP ... bc ; 11

    exx ; 4

    pop af ; 10
    pop bc ... ; 10
    pop de ; 10
    pop hl ; 10 - POP ... de ; 11
    push bc ; 11
    push af ...
    Zoltar Zoltar September 2011 Development
  • line, plot and circle in whole 256x192 displayhi! are there some way to draw lines, or whatever, in the whole 256x192 display, than just the above 256x176 part? (this is the msx1 version i made o…

    ...
    CALL doplot
    POP BC
    EX (SP),HL ; ... LD H,B ;now HL = screen addr
    AND %00000111 ;now ... LD (HL),A ;move to screen
    POP HL ;coords
    RET ...
    roko roko September 2011 Sinclair Basic
<1…567891011…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