]> git.sur5r.net Git - cc65/blobdiff - testcode/lib/gamate/audiotest.s
moved cart header into seperate file, moved nmi stub into several file, tweaked linke...
[cc65] / testcode / lib / gamate / audiotest.s
index 2fa38a500a8cb456a48791dc04d0f9b88488db23..1b5d22767e26d3a7718fb3a54d47f1f6ad52ca9a 100644 (file)
@@ -1,7 +1,6 @@
 
 ; original audiotest.s by PeT (mess@utanet.at)
 
-        .export _main
         .include "gamate.inc"
 
         .zeropage
@@ -29,17 +28,15 @@ psy:        .byte 0
 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
@@ -50,8 +47,9 @@ hex2asc:      .byte "0123456789abcdef"
 .endproc
 
 ;-------------------------------------------------------------------------------
+        .export Start
 
-.proc _main
+.proc   Start
         lda #>AUDIO_BASE
         sta writeaddr+1
         sta readaddr+1