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.048s
<1…28293031323334>
  • 64x48 monochrome big pixels display ideaHi. I was playing with this idea of having a simple 64x48 bytes buffer, 1 byte per pixel, then a renderer which would take that buffer and render it…

    ... T-states to copy from buffer to screen. If you change it ... /> [CODE]pop de
    ld a,(de)
    ld h,c
    ld (hl),a ...
    inc h
    ld (hl),a
    inc h
    ld (hl ... *48=3072 chunks on the screen, this is the overhead of ...
    introspec introspec December 2014 Development
  • 64x48 monochrome big pixels display ideaHi. I was playing with this idea of having a simple 64x48 bytes buffer, 1 byte per pixel, then a renderer which would take that buffer and render it…

    ... ]pop de
    ld a,(de)
    ld h,c
    ld (hl),a ... pixels from linear buffer to screen took 50,142 ... Therefore copying entire buffer to screen will be 49,698 ... = 1,713 pixels on screen one-by-one every frame ... more than 55% of screen. This probably makes sense ...
    Einar Saukas Einar Saukas December 2014 Development
  • Alkatraz Protection System - "How to" and compo?I'm thinking about writing a "how to" regarding the [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0020807"]Alkatraz Protection System[/URL].…

    ... 00100 ;
    00110 ld sp,24984
    00120 ... ld hl,16384
    00180 ld de,16385
    00190 ld bc,6911
    00200 ld (hl ... postcount=24"]compressed screen file [LOMMSP][/ ...
    jp jp December 2014 Announcements
  • New Game(s): Sir Ababol 2 and Sir Ababol DXHere is our own Christmas Present from Mojonia! We weren't going to release these games (at least, by the moment) but we decided just yesterday to fi…

    ... we've moved on
    pop bc
    djnz dklp
    ... upper or lower screen depending on channel
    ld a,22 ;rom ... /> ld (hl),b ;get port which we LD A, to
    inc hl
    ld (hl ... in game LD HL,key1, LD A,(HL), IN A,(254), INC HL, AND (HL), CALL ...
    R-Tape R-Tape January 2015 Brand new software
  • Vertical XOR filler.. anyone?Hi, I was just wondering whether a vertical filler using XOR has ever been used on Speccy demos/games and if yes when for the first time? Just tryin…

    ... :

    pop de ;two bytes from a linear screen buffer (Y in ... L, X in H)
    xor e
    ld (hl ... h
    xor d
    ld (hl),a
    inc h
    Alone Coder Alone Coder May 2015 Development
  • Vertical XOR filler.. anyone?Hi, I was just wondering whether a vertical filler using XOR has ever been used on Speccy demos/games and if yes when for the first time? Just tryin…

    ... :

    pop de ;two bytes from a linear screen buffer (Y in ... L, X in H)
    xor e
    ld (hl ... h
    xor d
    ld (hl),a
    inc h
    mr.spiv mr.spiv May 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... LD H,0
    ADD HL,HL
    ADD HL,HL
    ADD HL,HL
    LD DE ... POP HL
    INC L
    POP DE
    POP BC
    RET;GET2 LD A ... ,H ; Get ATTR Address from screen address ...
    dbolli dbolli June 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... de  ;save screen address
     call print_tall_char
     pop de  ;screen address
     add hl,hl ;x2
     add hl,hl ;x4
     add hl,hl ;x8
     ld bc,15360 ... addressed by HL at screen address DE over 16 lines
     ld b ...
    R-Tape R-Tape June 2015 Development
  • Mirror tableCan anyone help with a byte mirror table? e.g. so you can look up a byte of a left-facing sprite and return the correct right-facing value. There …

    ... /> [code] pop de
    ld c,e
    ld a,(bc)
    ld (hl),a
    dec l
    ld c,d
    ld a,(bc)
    ld (hl ... order, therefore step over the screen (that [i]or[/i] the ...
    Hikaru Hikaru August 2015 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…

    ... /> ;; ------------------------------------------------------
    _con_putcharxy::
    pop hl ; get return address
    pop bc ; c=x, b ... ; and data
    ld (hl),a ; to screen
    dec hl ; vmem pointer back ...
    tstih tstih August 2015 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…

    ... ) When you put it to screen (using hi-res x coordinate ... vid_nextrow
    ex de,hl
    pop bc
    pop af
    dec a ... /> push hl ; store hl
    ld b,#BYTSROW ; bytes
    ls_clrlne_loop:
    ld (hl),#0 ...
    tstih tstih August 2015 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…

    ...
    ld b, 0
    REPT 5
    add hl, bc ; character gfx ... for all lines
    pop hl ; restore original screen location
    ret ; all ...
    Kiwi Kiwi September 2015 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…

    ...
    ld (hl), a
    inc de
    inc h
    pop bc
    ld b, (hl) ; place gfx on screen
    or b
    ld (hl), a
    ld ...
    Kiwi Kiwi September 2015 Development
  • Games not compatible with the 128+ & grey +2Like the +2A & +3 thread, there are a few games that do not work correctly on the original 128+ and the grey +2. Two games that I know of that wil…

    ...
    ;
    pop ix ; 5f6e dd e1 $0ets
    ld c, (ix ... a ld sp?
    jr nz,chkb8 ; go forward if not
    ld bc ... ld hl,$0040 ; 64 instructions
    ld ($9c79),hl ; lower memory addresses
    ld ($6f19),hl ...
    jp jp October 2015 Games
  • What is the "SPECTRUM" keyword on a 128K?The 128K replaced UDG characters T and U with new commands; PLAY and SPECTRUM (or possibly the other way around.) The manual ([url="http://www.wor…

    ... Printer.
    LD SP,(#5C3D) ; ERR_SP. Purge the stack.
    POP HL ; Remove ... br /> PUSH HL ;
    LD HL,PRINT_A_1+3
    PUSH HL ;
    LD HL,ERROR_1 ; $ ... placed in the ZX Printer buffer, so you'll better ...
    zPasi zPasi October 2015 Sinclair Basic
  • Problem with BC corrupting after DJNZJust for fun, I'm messing around trying to get the level maps from Lemmings to display on the screen with machine code. It's been ages since I did an…

    ... LD HL,50213 ; MAP START ADDRESS
    LD DE,16384 ; SCREEN START ADDRESS
    LD ... LINE OF THE SCREEN, 32 CHARS
    POP DE
    LD BC,32 ; 32 ... MAP
    LD HL,22528 ; FIRST ADDRESS OF SCREEN ATTRIBS
    LD (HL),A ; LOAD ...
    mulder mulder January 2016 Development
  • 128K programmingDoes anyone know any good resources on assembly programming for the 128? All I'm after is an "idiot's-getting-started-guide" on how to utilise the…

    ... 5
    ld de,16385
    ld bc,16383

    ld (hl),0 ; ... />
    ld (hl),0

    ldir

    ld sp,49152 ; Point SP so ... ROM bank 1
    ; leaving screen 0 visible.
    ; Changing ...
    Mysterion Mysterion February 2016 Development
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... INKed pixels within a random screen rectangle: [code]
    900 CLEAR ...
    ld a,(HL)
    POINTLP:rlca
    djnz POINTLP
    pop bc
    Battle Bunny Battle Bunny April 2016 Sinclair Basic
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... br /> ld bc,$0507
    push bc
    call addfunc
    pop af ... hl,sp ; HL now points to what you PUSHed before calling addfunc
    ld ... You see: no PUSH or POP in addfunc. No need ... to POP things of the stack ...
    RetroTechie RetroTechie April 2016 Development
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... much faster and smaller 'ld r,(hl) ; inc hl' to grab values as ... because for pixel placement on screen the engine has to rotate ... form the graphic written to screen.

    Here is the ... in a char to a buffer at address SP1V_PIXELBUFFER. ix points ...
    Alcoholics Anonymous Alcoholics Anonymous April 2016 Development
  • Let's copy buffers!Figured I'd do some double buffered graphics, so I can render for several frames before displaying stuff. Yes, I mean on a 48k speccy, so no 128k spe…

    ... POP your first two bytes into HL and write with LD (NN),HL, then ... stack-based shift using AF,BC,DE,HL and alternates and IX ... quick (10 cycles) and LD (NN),HL takes 16. Though it might ... the pixel part of the screen. Is this deliberate, to test ...
    joefish joefish April 2016 Development
  • Let's copy buffers!Figured I'd do some double buffered graphics, so I can render for several frames before displaying stuff. Yes, I mean on a 48k speccy, so no 128k spe…

    ... forgot: a large bunch of POP HL: LD (NN),HL. 13T/byte uncontended, same ... way of POKEing the LD HL,NN: PUSH HL thing effectively...)[/color]
    buffer RAM is in uncontended memory ... the raster is drawing the screen - what's it like ...
    Hikaru Hikaru April 2016 Development
  • Let's copy buffers!Figured I'd do some double buffered graphics, so I can render for several frames before displaying stuff. Yes, I mean on a 48k speccy, so no 128k spe…

    ... forgot: a large bunch of POP HL: LD (NN),HL. 13T/byte uncontended, same ... bunch of "LD HL,nn; PUSH HL" instructions. Drawing into the buffer amounts to ... background pattern for free. Put BC and AF to the mix ...
    gp2000 gp2000 April 2016 Development
  • Let's copy buffers!Figured I'd do some double buffered graphics, so I can render for several frames before displaying stuff. Yes, I mean on a 48k speccy, so no 128k spe…

    ... forgot: a large bunch of POP HL: LD (NN),HL. 13T/byte uncontended, same ... bunch of "LD HL,nn; PUSH HL" instructions. Drawing into the buffer amounts to ... two registers, i.e. LD DE,NN: LD BC,MM: PUSH DE: PUSH ...
    Hikaru Hikaru April 2016 Development
  • P.O.W.As far as I know, a port of P.O.W. (Prisoners of War) from NHK, doesn't exist. [img]https://cld.pt/dl/download/61d19b5e-453b-489c-b17b-d3ed6fccd594/…

    ... a kind of horizontally looped buffer so that you only need ... that gets copied to the screen, load SP with a suitable constant ... /> ld (hl),a
    dec l
    ld a,(hl)
    dec l
    ld (hl ...
    Hikaru Hikaru June 2016 Development
  • P.O.W.As far as I know, a port of P.O.W. (Prisoners of War) from NHK, doesn't exist. [img]https://cld.pt/dl/download/61d19b5e-453b-489c-b17b-d3ed6fccd594/…

    ... gets copied to the screen, load SP with a suitable constant ... and insert an extra ADD HL,SP before the JP PE ... ld (hl),a
    dec l
    ld a,(hl)
    dec l
    ld (hl ... , or uncontended buffer RAM, to avoid writting to screen (contended RAM ...
    RMartins RMartins June 2016 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