moved cart header into seperate file, moved nmi stub into several file, tweaked linker config

This commit is contained in:
mrdudz
2015-11-29 16:01:36 +01:00
parent 1893e24da9
commit c636675521
8 changed files with 53 additions and 50 deletions

View 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