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.023s
<1…25262728293031…34>
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... hl
    Loop0a: push bc ;octal digit counter (within ... t ...

    push bc
    ld b,3 ... ex de,hl
    push hl
    sbc ...
    EndLoop:pop bc
    push de
    ld ...
    Battle Bunny Battle Bunny December 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... section from PUSH BC to POP BC becomes:
    [code]
    push bc
    ld ...
    ex de,hl
    push hl
    sbc hl,de ... ;DE=LHS address
    pop bc
    [/code]
    Battle Bunny Battle Bunny December 2013 Development
  • IX register - using/problemsAre there any rules on using the IX register? Are there any restrictions on the memory locations that it can access? Yes, I know it's slower than us…

    ... /> [CODE]
    L0038: PUSH AF
    PUSH HL
    push bc
    ld b ...
    djnz loop
    L0048: PUSH DE
    [/CODE]
    antoniovillena antoniovillena December 2013 Development
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... 0

    ld bc,$0501
    ld de,$0002 ... put the starting address in bc
    inc hl
    push bc
    pop hl ; I move ... the starting address from bc to hl
    and ... paginar:
    di
    ld bc,32765
    ld (BANKM),a ...
    Zup Zup December 2013 Development
  • array offset (z88dk)Im trying to simulate a 2 dimensional array by using an offset [code] #include <fzx.h> char scr[768]; int arrayoffset(char x,char y) { return (x*…

    The macro will work but it's like inlining code -- it will lead to a larger code footprint, which is what slenkar was trying to reduce.

    If code footprint is important you can modify the macro to call a function to compute the index instead -- ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • What Spectrum projects (Software/Games/Utility)(Hardware)(Others) are you working on?So, basically that :) You dont have to give names or more clues if you dont want to ;) Also, if you are working on more than one, you can tell all of…

    ... e = char c
    ; bc = uint n
    ;
    ... z

    push hl
    ldir
    bc
    pop de
    pop hl

    push hl
    push ... de
    push bc
    push af
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • Isometric GamesAs a longer term project I'm thinking of attempting an isometric game, along the lines of Alien8, but with Magic Knight. No promises though, because …

    ... that Ultimate redraw the whole screen every frame - that would be ... redraw chunks into a full screen buffer and then copy the changed ... chunks to the main screen.
    This would be a ...
    Kweepa Kweepa January 2014 Development
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... 5 and 6
    push bc ; columns 3 and 4< ... columns 17 and 18
    push bc ; columns 15 and 16< ... columns 25 and 26(*)
    push bc ; columns 25 and 26< ...
    DenisGrachev DenisGrachev January 2014 Brand new software
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... 5 and 6 (*)
    PUSH BC ; columns 5 and 6
    PUSH BC ; columns 19 and 20
    EXX
    PUSH BC ; columns 13 and 14< ... 25 and 26 (*)
    PUSH BC ; columns 25 and 26
    Einar Saukas Einar Saukas January 2014 Brand new software
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... 5 and 6 (*)
    PUSH BC ; columns 5 and 6
    PUSH BC ; columns 19 and 20
    EXX
    PUSH BC ; columns 13 and 14< ... 25 and 26 (*)
    PUSH BC ; columns 25 and 26
    Jerri Jerri January 2014 Brand new software
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... 0

    ld bc,$0501 ; open file
    ... put the starting address in bc

    inc ... I preserve the index
    push bc
    pop hl ; I ... the starting address from bc to hl
    ... br /> paginar: di
    ld bc,32765
    ld (BANKM),a ...
    Speccy_James Speccy_James February 2014 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... cycle + 1
    push bc
    jp FirstDE[/color]< ... br /> LOOP10:
    push bc
    ld a,e< ... 5b00)

    push de
    ex de,hl ... br /> SKIPDE: pop bc
    dec bc
    ld a,b ...
    Battle Bunny Battle Bunny February 2014 Development
  • Colission detection problems.G'ah...it's always the same (I've asked before too) - I'm always struggling when it comes to doing box colission checks, so I'm basically hoping you …

    ... table

    DELSHOT PUSH BC
    PUSH HL
    DEC B
    POP HL
    POP BC
    RET Z
    INC ...
    dmsmith dmsmith February 2014 Development
  • Using the stack to blit bufferI was using a ldir to blit my back buffer to the screen RAM, and it was working pretty well if not rather slow. After reading about using the stack …

    ...
    pop de
    pop bc
    pop af
    exx ... /> push bc
    push de
    push hl
    exx
    push af
    push bc
    push ... de
    push hl ...
    VBI VBI February 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... /> [CODE]print_tile:

    push bc ; temporarily store BC
    call get_screen_location
    alienbanana alienbanana March 2014 Development
  • New bicolour game: El Stompo.Phew! Finally finished my first game using Einar's fantastic Nirvana engine. [B]El Stompo.[/B] [IMG]http://i1142.photobucket.com/albums/n608/davey…

    ... 5 and 6 (*)
    PUSH BC ; columns 5 and 6
    PUSH BC ; columns 19 and 20
    EXX
    PUSH BC ; columns 13 and 14< ... 25 and 26 (*)
    PUSH BC ; columns 25 and 26
    DenisGrachev DenisGrachev April 2014 Brand new software
  • 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…

    [QUOTE=joefish;765476]So, your screen buffer is in linear order instead ... of Spectrum screen order? Good move.

    chev chev April 2014 Development
  • 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…

    [QUOTE=joefish;765476]So, your screen buffer is in linear order instead ... of Spectrum screen order? Good move.[/QUOTE]
    screen to the display area, while ...
    LuMan LuMan April 2014 Development
  • Fuller AY only gamesThe definitive list: 1) Demonstration Tape 2) Bodysnatchas 3) Star Bike

    ... /> ld de,$5c00
    ld bc,801
    ldir ;restore fuller ... /> ld a,b
    push bc
    ld bc,$fffd
    out (c ... ),a
    ld bc,$bffd
    ld a,(hl ... /> out (c),a
    pop bc
    ret[/CODE]

    Jimmy Jimmy May 2014 Games
  • 30-column 8x2 multicolor (even in 48K)I don't recall any 8x2 multicolor routine for 30 columns that would work on all Spectrum models (including the Spectrum 48K), so I decided to write i…

    ... put 19,18 )
    push bc ;170 (put 17,16)
    exx ;174
    push ix ;189 (put 15,14 ... (put 11,10)
    push bc ;222 (put 9,8 )< ... 10-11,12-13 shown) push hl ;+272,280 (put ... 14-15,16-17 shown) push de ;+288,296 (put ... 18-19,20-21 shown) push bc ;+304,312 (put 25, ...
    Alone Coder Alone Coder May 2014 Development
  • 30-column 8x2 multicolor (even in 48K)I don't recall any 8x2 multicolor routine for 30 columns that would work on all Spectrum models (including the Spectrum 48K), so I decided to write i…

    ... /> ; 16043T
    PUSH BC ; columns 16 and 17 ... /> ; 16200T
    PUSH BC ; columns 24 and 25 ... /> ; 16097T
    PUSH BC ; columns 16 and 17 ... /> ; 16258T
    PUSH BC ; columns 24 and 25 ...
    Einar Saukas Einar Saukas May 2014 Development
  • Plea for new hardwareI'm posting this as a poll as I want to judge if I'm a solo loon going on about this, or if people really are interested in either of the following S…

    ... video memory into its own screen buffer and generates a SCART-compatible ... a second or even third screen. As a minimum it should ... be able to place its screen address at least on any ... />
    Being able to double-buffer the display (like [I]SPECTRA ...
    retrogod retrogod May 2014 Hardware
  • 30-column 8x2 multicolor (even in 48K)I don't recall any 8x2 multicolor routine for 30 columns that would work on all Spectrum models (including the Spectrum 48K), so I decided to write i…

    ... and 19
    ; 16043T
    PUSH BC ; update columns 16 and 17 ... and 27
    ; 16200T
    PUSH BC ; update columns 24 and 25 ... and 19
    ; 16097T
    PUSH BC ; update columns 16 and 17 ...
    Einar Saukas Einar Saukas May 2014 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... i
    push bc ; save size
    push bc ; save size< ... size

    push hl ; save k
    ... size

    pop bc ; bc = size
    pop de ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ...

    add hl,bc
    push hl ; save array_hi + 1
    push hl

    insert_loop:

    ; de = j
    ; bc = ... ;= array[j-1]

    push bc
    call asm0_memswap ; swap(j ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 Development
  • displaying all memory activity in a screenDunno why I keep thinking about this, but here goes Is it easy enough to add a screen to an emulator that shows every memory address' activity.... …

    ... games where the off-screen buffer is for screen data. Starion is of ...
    rich_chandler rich_chandler June 2014 Emulators
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ...
    EXX
    POP BC
    PUSH BC
    JR L_24DF
    ... L_24DB: LD C, A
    PUSH DE ...
    EXX
    POP BC
    L_24DF: ...
    Battle Bunny Battle Bunny July 2014 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; …

    ... br /> here equ $
    ld bc,here-init
    sbc hl ... ,bc ;'here' = init =start of ... /> ld c,l ;BC='here' or 'init'
    push bc ; store for later ...
    mr.spiv mr.spiv August 2014 Development
<1…25262728293031…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
push 4.9K 12.7K
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…
  • Push-Push Penguin Online HighScores UpdateHey all! <br /> <br /> If you like Speccy games then you will probably like this one. It is basically a Pengo remake with A LOT of extras. This one i…
  • 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

  • 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 pop bc
  • screen buffer pop bc ld sp hl
  • screen push
  • screen push comparison
  • screen push write speed
  • blit buffer to screen contention
  • screen buffer
  • routine to scroll screen buffer by 1 pixel
  • faster copy to screen from buffer
  • screen buffer einar
  • push buffer
  • print on buffer screen

Copyright © 2024 World of Spectrum