@@ -2,7 +2,7 @@ VPATH = src
22
33# Common source files
44ASM_SRCS = simplefile.s irq.s
5- C_SRCS = main.c ncm.c pic.c volume.c sound.c view.c engine.c interrupt.c memmanage.c sprite.c logic.c
5+ C_SRCS = main.c ncm.c pic.c volume.c sound.c view.c engine.c interrupt.c memmanage.c sprite.c logic.c parser.c init.c
66C1541 = c1541
77INC = -I./include
88
@@ -22,22 +22,24 @@ obj/%-debug.o: %.s
2222obj/% -debug.o : % .c
2323 cc6502 --target=mega65 --debug --list-file=$(@:%.o=%.clst ) -o $@ $<
2424
25- agi.prg : $(OBJS )
26- ln6502 --target=mega65 mega65-agi.scm - o $@ $^ --output-format=prg --list-file=agi-mega65.cmap
25+ agi.prg : mega65-agi.scm $(OBJS )
26+ ln6502 --target=mega65 - o $@ $^ --raw-multiple-memories --output-format=prg --list-file=agi-mega65.cmap
2727
2828agi.elf : $(OBJS_DEBUG )
29- ln6502 --target=mega65 mega65-agi.scm --debug -o $@ $^ --list-file=agi-debug.cmap --semi-hosted
29+ ln6502 --target=mega65 --debug -o $@ $^ --list-file=agi-debug.cmap --semi-hosted
3030
3131agi.d81 : agi.prg
3232 $(C1541 ) -format " agi,a1" d81 agi.d81
3333 $(C1541 ) -attach agi.d81 -write agi.prg agi.c65
34+ $(C1541 ) -attach agi.d81 -write nographics.raw nographics,s
3435 $(C1541 ) -attach agi.d81 -write volumes/LOGDIR logdir,s
3536 $(C1541 ) -attach agi.d81 -write volumes/PICDIR picdir,s
3637 $(C1541 ) -attach agi.d81 -write volumes/SNDDIR snddir,s
3738 $(C1541 ) -attach agi.d81 -write volumes/VIEWDIR viewdir,s
3839 $(C1541 ) -attach agi.d81 -write volumes/VOL.0 vol.0,s
3940 $(C1541 ) -attach agi.d81 -write volumes/VOL.1 vol.1,s
4041 $(C1541 ) -attach agi.d81 -write volumes/VOL.2 vol.2,s
42+ $(C1541 ) -attach agi.d81 -write volumes/WORDS.TOK words.tok,s
4143
4244clean :
4345 -rm $(OBJS ) $(OBJS:%.o=%.clst ) $(OBJS_DEBUG ) $(OBJS_DEBUG:%.o=%.clst )
0 commit comments