some more fiddling
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
|
||||
.export reset, irq, nmi ; FIXME
|
||||
|
||||
|
||||
.include "gamate.inc"
|
||||
|
||||
.zeropage
|
||||
addr: .word 0
|
||||
psa: .word 0
|
||||
@@ -17,12 +22,6 @@ xpos: .byte 0
|
||||
ypos: .byte 0
|
||||
|
||||
.code
|
||||
checksum: .word 0
|
||||
.byte 1,0,1
|
||||
.byte "COPYRIGHT BIT CORPORATION", 0, $ff
|
||||
jmp reset
|
||||
jmp nmi
|
||||
jmp irq
|
||||
|
||||
chars:
|
||||
.incbin "cga2.chr"
|
||||
@@ -37,6 +36,7 @@ ydesc: .byte "0123456789ABCDEFGHIJKLMNOPQRSTUV", 0
|
||||
rts
|
||||
.endproc
|
||||
|
||||
|
||||
.proc irq
|
||||
inc irq_count
|
||||
lda count
|
||||
@@ -88,7 +88,6 @@ ydesc: .byte "0123456789ABCDEFGHIJKLMNOPQRSTUV", 0
|
||||
sty lcd_y
|
||||
jsr printstringy
|
||||
|
||||
|
||||
lda #<format
|
||||
ldx #>format
|
||||
ldy #8
|
||||
@@ -177,6 +176,7 @@ ydesc: .byte "0123456789ABCDEFGHIJKLMNOPQRSTUV", 0
|
||||
lda #'V'
|
||||
jsr printsign
|
||||
|
||||
|
||||
lda #1
|
||||
sta nmi_enable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user