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.160s
<1…891011121314…34>
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... /> xor a ; a=0
    ld (player_fracX), a
    ld a, WINDOW_RIGHT
    .notoffrhs
    ld c, a
    ld a, (player_fracX ...
    ; outer loop
    ld c, a
    ld a, 8
    sub c
    ld b, 8
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... /> xor a ; a=0
    ld (player_fracX), a
    ld a, WINDOW_RIGHT
    .notoffrhs
    ld c, a
    ld a, (player_fracX ...
    ; outer loop
    ld c, a
    ld a, 8
    sub c
    ld b, 8
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... /> ; b row
    ; c column
    ;
    sprite8x8aDoubleStride:
    ; zero A
    xor a
    ; outer loop
    ld c, a
    ld a, 8
    sub c
    ld b, 8
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... /> ; c = pixel x-coord/8
    ;
    sprite8x8caAlwaysLookupRow:
    ; zero A
    xor a ...
    ; outer loop
    ld c, a
    ld a, 8
    sub c
    ld b, 8
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ; outer loop
    ld c, a
    ld a, 8
    sub c
    ld b, 8
    xor a
    REPT 7
    ld (hl), a
    inc l
    ld (hl), a ...
    add c
    ld l, a
    xor a
    ; unroll loop
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... /> ld a, (quitpressed)
    dec a
    jp nz, mainloop
    xor a
    ld (quitpressed), a ... it
    add c
    ld l, a
    ld b, 15
    .loop:
    ; blit ... column C and C+1
    ld a, (de)
    xor (hl)
    ld (hl), a
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ; outer loop
    ld c, a
    ld a, 8
    sub c
    ld b, 8
    xor a
    REPT 7
    ld (hl), a
    inc l
    ld (hl), a ...
    add c
    ld l, a
    xor a
    ; unroll loop
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... it
    add c
    ld l, a
    ld b, 15
    .loop:
    ; blit ... column C and C+1
    ld a, (de)
    xor (hl)
    ld (hl), a
    C and C+1
    ld a, (de)
    xor (hl)
    ld (hl), a
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ...
    ld b, a
    ld c, 0
    ld a, 7
    sub b ; b = 7 - b. also clears ... /> ld b, a ; first loop count
    .nextlinedown
    ld a, d
    xor (hl)
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... loop count
    ld d, line_data00/256
    ld a, (hl)
    ld e, a
    ld a, (de)
    ld b, a
    inc e
    ld a, (de)
    ld c, a
    ld l, a
    xor a
    ld (hl),
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... /> xor a
    .ok
    ld hl, electrode_positions
    ld b, a
    ld a, (num_electrodes)
    ld c, a

    place_electrodes:
    ld a, (num_electrodes)
    ld b, a
    .loop
    push bc
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ...
    ; outer loop
    ld c, a
    ld a, 8
    sub c
    ld b, 8
    C and C+1
    ld a, (de)
    xor (hl)
    ld (hl), a
    C and C+1
    ld a, (de)
    xor (hl)
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ...
    ld b, a
    ld c, 0
    ld a, 7
    sub b ; b = 7 - b. also clears ... /> ld b, a ; first loop count
    .nextlinedown
    ld a, d
    xor (hl)
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... loop count
    ld d, line_data00/256
    ld a, (hl)
    ld e, a
    ld a, (de)
    ld b, a
    inc e
    ld a, (de)
    ld c, a
    xor 6
    ld l, a
    xor a
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ld (scr_out_col), a
    ret
    .nextline
    xor a
    ld (scr_out_col), a
    ld a, (scr_out_row ... /> ld l, a
    ; loop counter
    ld b, 8
    ld a, c
    .loop
    ld (hl), a ; draw ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ld a, (bc)
    ld e, a
    inc c
    ld a, (bc)
    ld d, a
    ld a, c ... /> ; loop counter
    ld b, 8
    .loop
    ld a, (hl)
    xor #FF
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ld a, (bc)
    ld e, a
    inc c
    ld a, (bc)
    ld d, a
    ld a, c ... /> ; loop counter
    ld b, 8
    .loop
    ld a, (hl)
    xor #FF
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ld a, (bc)
    ld e, a
    inc c
    ld a, (bc)
    ld d, a
    ld a, c ... /> ; loop counter
    ld b, 8
    .loop
    ld a, (hl)
    xor #FF
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ld a, (bc)
    ld e, a
    inc c
    ld a, (bc)
    ld d, a
    ld a, c ... /> ; loop counter
    ld b, 8
    .loop
    ld a, (hl)
    xor #FF
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ld a, (bc)
    ld e, a
    inc c
    ld a, (bc)
    ld d, a
    ld a, c ... /> ; loop counter
    ld b, 8
    .loop
    ld a, (hl)
    xor #FF
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ld a, (bc)
    ld e, a
    inc c
    ld a, (bc)
    ld d, a
    ld a, c ... /> ; loop counter
    ld b, 8
    .loop
    ld a, (hl)
    xor #FF
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ld a, (bc)
    ld e, a
    inc c
    ld a, (bc)
    ld d, a
    ld a, c ... /> ; loop counter
    ld b, 8
    .loop
    ld a, (hl)
    xor #FF
    ld (hl), a ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Pixel setting / general speccy codingi just started doing some cross-coding with the [url="http://www.bigfatpanda.fsnet.co.uk/z80.html"]Z80 SNA assembler[/url] and an emulator, and this …

    ...
    ld hl, pixelmsk
    ld a, c
    and 7
    ld c, a
    add ... hl, bc
    ld b, (hl ... )
    ex de, hl
    ld a, (hl)
    xor b
    ld (hl), a ...
    Lambchop Lambchop August 2004 Development
  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…

    ... to sprite data
    LD B,TOTALSPRITES ; And loop for the total number ... /> LD A,(IX+1)
    LD B,A
    LD C,(IX+0)
    INC C
    LD A,C
    robpearmain robpearmain August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... to sprite data
    LD B,TOTALSPRITES ; And loop for the total number ... /> LD A,(IX+1)
    LD B,A
    LD C,(IX+0)
    INC C
    LD A,C
    robpearmain robpearmain August 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 …

    ... br />
    LD B,160 ; Loop 128 times of 48 instructions ... LD A,B

    LD C,A
    PUSH BC
    LD A,(YPOS)
    LD B,A ... br />
    LD B,160 ; Loop 128 times of 48 ...
    robpearmain robpearmain September 2004 Development
  • 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 …

    ... contains a copy of the Background

    So, each loop I ... /> LD A,B
    RLA
    RLA
    LD C,A

    ; Col 1
    LD A ...
    robpearmain robpearmain September 2004 Development
  • Problem with rotating procedureHi folks! I wrote a proc in z80 asm, based on: x' = x * cos (z) - y * sin (z) y' = x * sin (z) + y * cos (z) I used a precalculated table of sin a…

    ... ld a,e
    add a,c
    ld e,a
    ld a,d
    adc a,b
    ld ... br /> ;data.inc 2006 (c) by Xor
    ;============================================================================
    org ...
    xor xor July 2006 Development
  • Screen LoaderCouple days ago i find very interesting loader routine in ex Yugoslavia magazine "Svet Kompjutera" from january 1987. Authors of article, calls this …

    ... /> LD A,C
    XOR &03
    LD C,A
    LD H,&00
    LD B,& ... RL C
    XOR L
    RET NZ
    LD A,C
    RRA
    LD C,A ... /> LD B,4
    LOPP LD A,(FL1)
    …
    Pegaz Pegaz August 2006 Games
<1…891011121314…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • 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
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
ld 6.3K 67.3K
a 589.5K 1.7M
b 55.2K 190K
xor 1.9K 4.8K
c 20.3K 48.8K
loop 4.8K 8.5K

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…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • can someone make manic miner in b.a.s.i.c (oh, the horrors!)can someone make manic miner (or it's first level) in b.a.s.i.c . yes i know this is stupid, but i would like to know what would happen! from matthew
  • jet set willy in b.a.s.i.c (oh, even more horrors!!!!!!!!)what about jet set willy in b.a.s.i.c ? is anyone doing that? i think it's a really bad idea, but it's sure is a funny one! oh yes, i do know a littl…
  • ant attack in b.a.s.i.ccan someone make ant attack in b.a.s.i.c . it may be impossible!<br /> from a 14 year old kid.
  • who do you use 1 key b.a.s.i.c?well how do you. is there a web site about it. i do not have the original instruction book.<br /> from a 14 year old kid (named matthew.......)<br />…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Arrays in C and C++ from a Java Programmer.I have been looking arround the web and found many conflicting answers to this question so I thaught I'd ask you folkes.<br /> <br /> What is the C a…
  • Adventure A,B,C,D,E,etcDoes anyone have any info on how this whole "Adventure A,B,etc" series came about?<br /> <br /> One of the first games I ever played on the ol' specc…

Related Searches

  • ld a r
  • d a w b
  • ld r a
  • xor c
  • xor c loop
  • ld a b or c loop
  • play a b c
  • b c bill
  • a m c
  • t a c
  • ld i a
  • ld a 3fh
  • ld a 0 call 5633
  • spectrum 2 a b rgb cables
  • out c a
  • ay out c a
  • screen address c b l
  • ld a 5b5c
  • ld bc 65533 a 254 out c
  • cpi ld a b or c

Copyright © 2024 World of Spectrum