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 lcdtest.s by PeT (mess@utanet.at)
.export _main
.include "gamate.inc"
.zeropage
@@ -32,15 +31,15 @@ xdesc: .byte "0123456789abcdefghijklmnopqrstuv", 0
ydesc: .byte "0123456789ABCDEFGHIJKLMNOPQRSTUV", 0
;-------------------------------------------------------------------------------
.export IRQStub, NMIStub
.proc nmi
.proc NMIStub
inc nmi_count
rts
.endproc
.export IRQStub
.proc IRQStub
inc irq_count
@@ -55,8 +54,9 @@ ydesc: .byte "0123456789ABCDEFGHIJKLMNOPQRSTUV", 0
.endproc
;-------------------------------------------------------------------------------
.export Start
.proc _main
.proc Start
lda #0
sta LCD_XPOS