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…78910111213…34>
  • 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 …

    ... ld d,(hl)
    pop af
    ld l,a ... />
    NotNewLine pop de
    pop hl
    pop bc
    ret
    screen location is in the same ...
    mcleod_ideafix mcleod_ideafix June 2012 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 …

    ... point de at screen

    pop bc ;pop graphics into c ... inc h

    pop bc
    ld (hl),c ... inc h

    pop bc

    ld (hl ... inc h

    pop bc

    ld (hl ... /> ex de,hl ;get screen addres

    ld ...
    R-Tape R-Tape June 2012 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 …

    ... ld de,16384 ;screen address
    ld bc,string ;bc faster than ix ... /> pstring
    ld a,(bc) ;get string byte
    or ... ;point hl at screen

    pop de ;pop graphics into e and ... bc ;next byte of string

    ex de,hl ;get screen ...
    R-Tape R-Tape June 2012 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 …

    ... 16384 ;screen address
    ld bc,string ;bc faster ...
    ld a,(bc) ;get string byte
    screen

    pop de ;pop graphics ... bc ;next byte of string

    ex de,hl ;get screen ...
    Dr BEEP Dr BEEP June 2012 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 …

    ... ,16384 ;screen address
    ld bc,string ;bc faster than ... hl at screen

    pop de ;pop graphics into ... bc ;next byte of string

    ex de,hl ;get screen ... entry
    ld a,(bc) ;get string byte
    Hikaru Hikaru June 2012 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 …

    ... ,16384 ;screen address
    ld bc,string ;bc faster than ... hl at screen

    pop de ;pop graphics into ... bc ;next byte of string

    ex de,hl ;get screen ... entry
    ld a,(bc) ;get string byte
    Dr BEEP Dr BEEP June 2012 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 …

    ... ld de,16384 ;screen address
    ld bc,string ;bc faster than ix ... ;point de at screen

    pop de ;pop graphics into e and ... bc ;next byte of string

    ex de,hl ;get screen ... />
    entry ld a,(bc) ;get string byte
    add ...
    R-Tape R-Tape June 2012 Development
  • SUPER INPUTA couple days ago I searched for an "INPUT string" routine that I could use in Assembly programs and supported multiple lines, but I found none. Thus…

    ... (reset workspace)
    pop bc
    push bc
    inc bc
    call $0030 ... bc
    ld a,2
    ld (DF_SZ),a ;reset lower screen ...
    Einar Saukas Einar Saukas June 2012 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 …

    ... : dehl = long
    ; bc = char *buffer
    ; carry = write leading ... : dehl = long
    ; bc = char *buffer
    ; carry = write leading ... :

    pop hl
    pop bc
    pop de
    ex ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • 64x48 full colour graphicsHow feasible is this? Could an interrupt-driven routine be used to, for example, fill the top two thirds with a 64x32 blocky picture and leave the bo…

    ... br /> ;; First we fill screen 0 with the pattern and ... :
    push bc

    ;; Show screen 0 for exactly ... 896

    ;; Show screen 1 for exactly 224x4 = 896 ...
    ;

    pop bc
    djnz l1

    na_th_an na_th_an July 2012 Development
  • 64x48 full colour graphicsHow feasible is this? Could an interrupt-driven routine be used to, for example, fill the top two thirds with a 64x32 blocky picture and leave the bo…

    ... br /> ;; First we fill screen 0 with the pattern and ... l1:
    ;; Show screen 0 for exactly 228x4 = ... 912

    ;; Show screen 1 for exactly 228x4 = 912 ... 50 - 5 = 852

    pop bc ; 11

    ; 39 ...
    na_th_an na_th_an July 2012 Development
  • 64x48 full colour graphicsHow feasible is this? Could an interrupt-driven routine be used to, for example, fill the top two thirds with a 64x32 blocky picture and leave the bo…

    ... />
    POP DE ;MV7
    POP BC ;MV8
    POP AF ;MV9
    POP IX ... LD HL,(CurrentLineStart) ;next line screen address
    ADD HL,DE ... )
    JP M2 ;redraw the screen again

    ;--------------------
    ...
    Ralf Ralf July 2012 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... doit1 ;
    pop af ;
    pop de ;
    pop bc ;
    pop hl ;
    ret ... /> ld (chrad), hl ; on the screen and calculate the address
    and a ; screen one byte at a time ... left hand side of the screen.
    ld a, (coords_y) ;< ...
    chev chev August 2012 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... /> dontprint
    pop af
    pop bc
    pop de
    pop hl
    ei ... with hl pointing at the screen address
    ld de, ... with hl pointing at the screen address
    ld de, ...
    uglifruit uglifruit August 2012 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... a direct effect on the screen display.
    The complicated ... black paper colour down the screen.
    In the spin ... the road down the screen we copy the screen attribute bytes to ...
    lddr
    pop bc ;retrieve score
    pop hl ;retrieve road posn ...
    buzzy buzzy September 2012 Development
  • Mini scroll routineI'm looking for a routine that scrolls a small section of the screen downwards and replaces it with nothing, 2 x 2 charcter blocks to be precise, to …

    ... contents of B for different screen sizes.

    If you ... ;this way it looks the screen is being pulled down with ... says on the tin!
    pop bc ;get counter back
    djnz ... something similar but uses a screen address table and manipulates the ...
    R-Tape R-Tape October 2012 Development
  • Help needed...I am at my wits end with this pigs ear of a routine, can anyone simplify it and make it work as it should? Basically it should make the characters '…

    ... along the top of the screen, and moves it in 4 ... we're in the upper screen
    ld a,21 ; ... it'll be off the screen for longer than it is ... exit, but rem we PUSHed BC, must POP it
    ld ( ... print_string ;PRINTS ON
    exit pop bc
    djnz loop
    ;< ...
    R-Tape R-Tape October 2012 Development
  • UDG in AssemblyHello there my fellow WoS'ers I am currently having a play with z88dk and PASMO and would like to have some fun with some UDG's so is there a tutor…

    ... character row of the pixel screen. The second one, not ... addition). This gives you the screen address in DE.

    screen.

    [CODE]ORG ...

    pop hl
    pop de
    pop bc
    pop af ;restore registers ...
    joefish joefish October 2012 Development
  • UDG in AssemblyHello there my fellow WoS'ers I am currently having a play with z88dk and PASMO and would like to have some fun with some UDG's so is there a tutor…

    ... br /> ld d,(hl) ;de = screen row address fetched from table ... back in de

    pop hl ;recover graphic address in ... /> inc d ;next byte of screen, +256
    djnz loop ; ...

    pop hl
    pop de
    pop bc
    pop af ;restore registers ...
    joefish joefish October 2012 Development
  • my tiny intros[IMG]http://pouet.net/screenshots/60493.png[/IMG] [url]http://pouet.net/prod.php?which=60493[/url] the following work will appear behind Demosplash…

    ... attribute 5 on ZX'screen is defined as the ... A
    INC IX
    POP BC
    DJNZ L9DD6
    ... 4
    lp1:
    pop de: add hl, de: djnz ... /> ld bc, # 20: sbc hl, bc
    add hl, bc; another ... a
    bra1:
    pop hl: ld (hl), a: ...
    g0blinish g0blinish October 2012 Development
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... /> pop hl ;return address
    pop de ;x?
    pop bc ;y?
    pop af ... hl,28
    sbc hl,bc
    jr c, outofbounds

    ld de,@buffer
    add hl,de
    Stefan Drissen Stefan Drissen November 2012 Development
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... )
    asm
    pop hl ; RET address
    pop bc ; B=y
    Einar Saukas Einar Saukas November 2012 Development
  • Elliptical ChallengeSubsequent to the recent "Graph Plot" thread, I wrote this general purpose ellipse drawing routine which will plot (although it doesn't actually use …

    Removing the "PUSH DE : POP DE" gives a square standing ... can plot across the full screen area. (The two out-of ... need to return via the "POP HL : POP BC".)

    The circle ...
    Battle Bunny Battle Bunny November 2012 Development
  • calculator and sinusok, look at the Sysel's routine: [PHP]3 5b00 *s 4 5b00 tabsin = #7000 03 mksin 19.11.1995 Busy soft …

    ... br /> begin
    ld bc,#5b00
    ld hl,0 ... y
    push bc
    exx
    pop hl


    pop hl

    ld a ... br /> call 022B1h ; calc screen BC=y.x
    ld b ... ), a
    next_c:
    pop bc:inc c:jr nz,m1 ...
    g0blinish g0blinish December 2012 Development
  • Memory diagnostic toolIs there any sort of memory diagnostic tool for examining .Z80 files so I can easily identify large areas of blank memory? Scrolling through ZX Spin…

    ... a key when the screen is full. If ... br />
    NEXT: pop hl
    inc hl< ... /> push bc
    call INC_X
    pop bc
    pop hl
    and a
    sbc hl,bc ...
    Battle Bunny Battle Bunny February 2013 Development
<1…78910111213…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