2 ; original audiotest.s by PeT (mess@utanet.at)
10 .word 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0 ; get out of sensitiv area
13 editbuffer1: .byte 0,0,0,0, 0,0,0,0 ;0,1,2,3,4,5,6,7
15 editbuffer2: .byte 0,0,0,0, 0,0,0,0 ;8,9,$a,$b,$c,$d,$e,$f
33 chars: .incbin "cga2.chr"
34 hex2asc: .byte "0123456789abcdef"
36 ;-------------------------------------------------------------------------------
37 .export IRQStub, NMIStub
49 ;-------------------------------------------------------------------------------
192 ;-------------------------------------------------------------------------------
216 notup:lda controlsedge
233 notdown:lda controlsedge
239 notleft:lda controlsedge
246 notright:lda controlsedge
264 notstart:lda controlsedge
295 notselect:lda controlsedge
300 writea:lda editbuffer1,y
305 writeb:lda editbuffer2-8,y
310 notbuttona:lda controlsedge
314 reada:lda (readaddr),y
319 readb:lda (readaddr),y
330 ;-------------------------------------------------------------------------------