-
Zynaps scrolling - anyone ever reverse enginnered this?Zynaps has IMO some impressive scrolling - it utilises 18 character rows of the display file, so quite a large active play area, and scrolls 2 pixels…
... rst 32 ; 34276
add a, l ; 34277
... ld hl, 20 ; 34430
add hl, sp ; 34433
ld sp, hl ; ... 34434
pop hl ; ... sp, 32 ; 34496
add ix, sp ; 34499
... -
How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…
... hl, bc
add hl, hl
add hl, hl
add hl, hl
ld de,(23606)
add hl ... error. therefore, we add the following line to ... hl, bc
add hl, hl
add hl, hl
addTimmy September 2020 Development
-
How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…
... de = dest
pop hl ; hl = number
push ... a
add hl,bc
jr c, num2 ... hl, bc
add hl, hl
add hl, hl
add hl, hl
ld de,(23606)
add hl ... a
add hl,bc
jr c, ... -
Easiest way to figure instruction lengthGiven a start address, what is the easiest way to find out instruction length at that address in Z80? I found [url="http://www.z80.info/decoding.htm"…
... dynamic instructions such as JP HL. I thought I could catch ... them, check where HL points to, and relocate. However ... /> POP HL ; hl now has PC
ADD HL,DE ; add 100
JP (HL) ; and ... -
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…
... ; e = row*2
add hl, de ; hl = screen address of top row ... of screen address
inc hl ; hl points to high byte of ... screen address
ex de, hl ; hl = screen address of cell at ... , (ix+2) ; e = col
add hl, de ; adjust screen address for ... -
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…
... ; e = row*2
add hl, de ; hl = screen address of top row ... of screen address
inc hl ; hl points to high byte of ... screen address
ex de, hl ; hl = screen address of cell at ... , (ix+2) ; e = col
add hl, de ; adjust screen address for ...