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.111s
<1234567…34>
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok, After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following: I have 2 x 6k Offscreen areas (Yes, that's …

    ... FLAG IS 1, FAST COPY BUFFER TO SCREEN

    It is ... /> POP IX
    POP IY
    POP DE
    POP BC
    LD SP,HL
    PUSH BC
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> LD SP,HL
    POP AF
    POP DE
    POP BC
    EXX
    POP AF
    POP ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> POP IX
    POP IY
    POP DE
    POP BC
    LD SP,HL
    PUSH BC
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> POP IX
    POP IY
    POP DE
    POP BC
    LD SP,HL
    PUSH BC
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> POP IX
    POP IY
    POP DE
    POP BC
    LD SP,HL
    PUSH BC
    buffer in linear order, which means ... a single frame. A back buffer to display copy should do ...
    Alcoholics Anonymous Alcoholics Anonymous September 2004 Development
  • Where do you stick the stack?...OK, so I've got a fair chunk of ASM code assembled from 24000 mark. The stack shouldn't get very big, just a few PUSHes and POPs of the main regis…

    ... 'll go for the printer buffer option for now. It should ... ] LD SP, HL
    POP HL
    POP BC
    LD SP, HL
    LD L, B
    LD B, C
    LD ...
    Morkin Morkin July 2013 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…

    ... THE SCREEN


    LD (STACKV1+1),SP
    LD SP,STACCR

    LD HL ... /> POP BC
    EXX
    POP AF
    POP DE
    POP BC
    LD SP,HL
    PUSH BC ...
    climacus climacus February 2016 Development
  • Where do you stick the stack?...OK, so I've got a fair chunk of ASM code assembled from 24000 mark. The stack shouldn't get very big, just a few PUSHes and POPs of the main regis…

    ... SP, where it does this sort of thing:
    [code] LD SP, HL
    POP HL ...
    POP BC
    LD SP, HL
    LD L, B
    LD B, C
    LD ...
    Battle Bunny Battle Bunny July 2013 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…

    ... buffer is linear (not in screen order) and address is stored in hl ... hl, bc
    ld sp, hl
    pop af
    pop bc
    pop de
    exx
    pop bc
    pop ...
    Sol_HSA Sol_HSA April 2016 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... a time, not the screen address one double byte at ... the right order on the screen starting one pixel line ... pop bc
    pop de
    pop hl
    pop ix
    ld hl,-32
    add hl,sp
    ld ... 't even scroll the screen in pixel row order ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... remove the push / pop of hl that would be better ... ld hl, copybuff

    .nextbuffentry
    ld a, (copyptr)
    ; check for buffer ... br /> add hl, bc
    add hl, bc
    ld sp, hl
    ld b, a< ...
    pop hl
    ld e, l
    ld a, h ...
    The President The President February 2010 Games
  • 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…

    ... /> add hl,bc ; Table pointer += BC * 2 (Y position)
    add hl,bc
    ld sp,hl ; SP now ...
    ld b,8 ; Height in pixels

    line pop hl ; POP screen line ... address from LPT
    ld a,l
    ASM ASM October 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…

    ... /> add hl,bc ; Table pointer += BC * 2 (Y position)
    add hl,bc
    ld sp,hl ; SP now ...
    ld b,8 ; Height in pixels

    line pop hl ; POP screen line ... address from LPT
    ld a,l
    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…

    ... /> add hl,bc ; Table pointer += BC * 2 (Y position)
    add hl,bc
    ld sp,hl ; SP now ...
    ld b,8 ; Height in pixels

    line pop hl ; POP screen line ... address from LPT
    ld a,l
    ASM ASM November 2010 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 ;fetch counter, save new ... second draw
    LD (HL),A ;move to screen
    POP HL ;coords
    RET ...
    roko roko September 2011 Sinclair Basic
  • automatic relocating of non-relocatable codeI was pondering upon the problem of changing absolute addresses used by CALL, JP, etc. when code is moved, without reassembling at the new location; …

    ... : ld (STACKP),sp ;save stack pointer
    ld hl,CHANGE
    add hl,bc
    ld sp,hl ;point SP ... to list of changes
    ADLOOP: pop hl
    ld a ...
    Battle Bunny Battle Bunny August 2011 Development
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... fiddling with stack)
    ld (sstack),sp
    ld sp,tad_desc+384 ;okay, i ... push de
    ld (hl),e
    inc hl
    ld (hl),d
    inc ... hl
    inc d
    ld a ...
    Mikie Mikie November 2001 Sinclair Miscellaneous
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... /> LD SP, HL
    POP AF
    EX AF, AF'
    POP DE
    POP BC
    EXX
    POP AF
    POP DE
    POP BC
    POP ... IX
    POP IY
    LD SP, HL; THE ...
    Fikee Fikee May 2004 Development
  • Game Programming Source Code & Startup HelpHi there, I'm planning on porting an existing commercial title to the speccy. I'm in the process of disassembling the original code and commenting i…

    ...

    POP BC ; c - mask, b - graphics
    LD A,(HL)
    AND ...
    LD SP,HL ; HL holds address of background graphics
    ADD HL,BC ; BC=4; width ...
    EXX
    POP AF
    POP DE
    LD SP,HL
    PUSH DE ...
    omega omega May 2007 Development
  • New assember ideaAs i work with Eclipse IDE in my job i become more and more lazy. This leads me to idea that it is time to left Notepad+Tasm combo behind and move on…

    ... .sbrk_callee

    pop hl
    pop bc
    ex (sp),hl

    .asmentry ... bc
    dec bc
    ld (hl),c
    inc hl
    ld (hl),b
    inc hl ...

    ld hl,40000
    ld bc,5000
    call sbrk_callee ...
    Alcoholics Anonymous Alcoholics Anonymous November 2007 Development
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... HL,BC=# of bytes to transfer

    ld hl,(OldSP)
    sbc hl,bc
    ld sp,hl ... pop hl
    ld sp,hl ;restore old stack (HL,DE ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... HL,BC=# of bytes to transfer

    ld hl,(OldSP)
    sbc hl,bc
    ld sp,hl ... pop hl
    ld sp,hl ;restore old stack (HL,DE ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... HL,BC=# of bytes to transfer

    ld hl,(OldSP)
    sbc hl,bc
    ld sp,hl ... ;pop hl
    ld sp,hl ;restore old stack (HL,DE ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... ld hl,0
    add hl,sp
    sbc hl,bc
    ld sp,hl ;Make HL ...
    pop bc
    pop de
    pop hl
    ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... /> LD HL,0
    ADD HL,SP ; HL equ SP

    LD D,0
    LD E ...
    POP BC ; return address in BC

    LD SP,HL ; load the SP by the ... DE
    POP HL ; the old IX in the HL
    LD SP,IX ; write ...
    Raydac Raydac June 2012 Development
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ...
    POP BC ; return address in BC

    LD SP,HL ; load the SP by the ... DE
    POP HL ; the old IX in the HL
    LD SP,IX ; write ...
    POP BC ; return address in BC

    LD SP,HL ; load the SP by the ...
    Einar Saukas Einar Saukas June 2012 Development
  • Getting Unit CHS detail in +3e BASICHello there my fellow WoS'ers I would like to know if there are system VARS or PEEK's that I could use to get the CHS info within BASIC at the mome…

    ... HERE

    ld bc,0 ;starting partition
    ld hl,40000 ;address
    pop hl ;recover hl
    ld e,64
    ld d,0
    add hl,de ...
    out (c),a
    pop bc
    ld sp,(oldstack)

    ret ...
    BCH BCH January 2013 Sinclair Basic
<1234567…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
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