mirror of
https://github.com/safiire/n65.git
synced 2025-01-24 17:31:38 +00:00
Updating the demo.asm
This commit is contained in:
parent
d67d1a6693
commit
2dca12a519
6
demo.asm
6
demo.asm
@ -134,7 +134,7 @@ init_sprites:
|
|||||||
sta $0200 ; sprite Y coordinate
|
sta $0200 ; sprite Y coordinate
|
||||||
lda #$01
|
lda #$01
|
||||||
sta $0201 ; sprite + 1 Pattern number
|
sta $0201 ; sprite + 1 Pattern number
|
||||||
sta $0203 ; sprite+3 X coordinate sprite+2, color, stays 0.
|
sta $0203 ; sprite + 3 X coordinate, sprite + 2, color, stays 0.
|
||||||
|
|
||||||
; Set initial value of dx
|
; Set initial value of dx
|
||||||
lda #$01
|
lda #$01
|
||||||
@ -272,9 +272,9 @@ not_dn:
|
|||||||
|
|
||||||
reverse_dx:
|
reverse_dx:
|
||||||
lda #$FF
|
lda #$FF
|
||||||
eor $00 ; dx
|
eor $00 ; dx Toggles between 0x1 and 0xfe (-1)
|
||||||
clc
|
clc
|
||||||
adc #$01
|
adc #$01 ; add dx, and store to variable
|
||||||
sta $00 ; dx
|
sta $00 ; dx
|
||||||
jsr low_c
|
jsr low_c
|
||||||
rts
|
rts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user