; original audiotest.s by PeT (mess@utanet.at)
- .export _main
.include "gamate.inc"
.zeropage
xpos: .byte 0
ypos: .byte 0
-.code
+ .code
-chars:
- .incbin "cga2.chr"
-
-hex2asc: .byte "0123456789abcdef"
+chars: .incbin "cga2.chr"
+hex2asc: .byte "0123456789abcdef"
;-------------------------------------------------------------------------------
- .export IRQStub
+ .export IRQStub, NMIStub
-.proc nmi
+.proc NMIStub
inc nmi_count
rts
.endproc
.endproc
;-------------------------------------------------------------------------------
+ .export Start
-.proc _main
+.proc Start
lda #>AUDIO_BASE
sta writeaddr+1
sta readaddr+1