some more fiddling
This commit is contained in:
@@ -1 +1,21 @@
|
||||
|
||||
|
||||
all: audiotest.bin lcdtest.bin
|
||||
|
||||
audiotest.bin: audiotest.s
|
||||
# ../../../bin/ca65 -t gamate -o audiotest.o audiotest.s
|
||||
# ../../../bin/ld65 -t gamate -o audiotest.bin audiotest.o
|
||||
../../../bin/cl65 -t gamate -o audiotest.bin audiotest.s
|
||||
|
||||
lcdtest.bin: lcdtest.s
|
||||
# ../../../bin/ca65 -t gamate -o lcdtest.o lcdtest.s
|
||||
# ../../../bin/ld65 -t gamate -o lcdtest.bin lcdtest.o
|
||||
../../../bin/cl65 -l bla.lst -t gamate -o lcdtest.bin lcdtest.s
|
||||
|
||||
test1: lcdtest.bin
|
||||
cd /home/groepaz/Desktop/mame/winmess/ && wine mess.exe gamate -window -skip_gameinfo -cart /home/groepaz/Desktop/cc65/github/cc65/testcode/lib/gamate/lcdtest.bin
|
||||
test2: audiotest.bin
|
||||
cd /home/groepaz/Desktop/mame/winmess/ && wine mess.exe gamate -window -skip_gameinfo -cart /home/groepaz/Desktop/cc65/github/cc65/testcode/lib/gamate/audiotest.bin
|
||||
|
||||
clean:
|
||||
rm -f lcdtest.o audiotest.o
|
||||
rm -f lcdtest.bin audiotest.bin
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
.export reset, irq, nmi ; FIXME
|
||||
|
||||
.include "gamate.inc"
|
||||
.zeropage
|
||||
addr: .word 0
|
||||
@@ -25,12 +28,6 @@ xpos: .byte 0
|
||||
ypos: .byte 0
|
||||
|
||||
.code
|
||||
checksum: .word 0
|
||||
.byte 1,0,1
|
||||
.byte "COPYRIGHT BIT CORPORATION", 0, $ff
|
||||
jmp reset
|
||||
jmp nmi
|
||||
jmp irq
|
||||
|
||||
chars:
|
||||
.incbin "cga2.chr"
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
|
||||
.export reset, irq, nmi ; FIXME
|
||||
|
||||
|
||||
.include "gamate.inc"
|
||||
|
||||
.zeropage
|
||||
addr: .word 0
|
||||
psa: .word 0
|
||||
@@ -17,12 +22,6 @@ xpos: .byte 0
|
||||
ypos: .byte 0
|
||||
|
||||
.code
|
||||
checksum: .word 0
|
||||
.byte 1,0,1
|
||||
.byte "COPYRIGHT BIT CORPORATION", 0, $ff
|
||||
jmp reset
|
||||
jmp nmi
|
||||
jmp irq
|
||||
|
||||
chars:
|
||||
.incbin "cga2.chr"
|
||||
@@ -37,6 +36,7 @@ ydesc: .byte "0123456789ABCDEFGHIJKLMNOPQRSTUV", 0
|
||||
rts
|
||||
.endproc
|
||||
|
||||
|
||||
.proc irq
|
||||
inc irq_count
|
||||
lda count
|
||||
@@ -88,7 +88,6 @@ ydesc: .byte "0123456789ABCDEFGHIJKLMNOPQRSTUV", 0
|
||||
sty lcd_y
|
||||
jsr printstringy
|
||||
|
||||
|
||||
lda #<format
|
||||
ldx #>format
|
||||
ldy #8
|
||||
@@ -177,6 +176,7 @@ ydesc: .byte "0123456789ABCDEFGHIJKLMNOPQRSTUV", 0
|
||||
lda #'V'
|
||||
jsr printsign
|
||||
|
||||
|
||||
lda #1
|
||||
sta nmi_enable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user