some more fiddling

This commit is contained in:
mrdudz
2015-11-22 19:02:47 +01:00
parent 60285097e3
commit 88e7b5776a
7 changed files with 59 additions and 18 deletions

View File

@@ -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