From 0376c1814187ccb1bce3ae686342f207b9a947df Mon Sep 17 00:00:00 2001 From: dschmenk Date: Wed, 4 Feb 2015 15:49:05 -0800 Subject: [PATCH] ROM code with support for $C800 and slot independence --- pidrive/Makefile | 29 +++ pidrive/PROGROM#FC0801 | Bin 114 -> 371 bytes pidrive/rom.cfg | 2 +- pidrive/rom.s | 440 +++++++++++++++++++++++++++++++++++++---- pidrive/slotrom.s | 212 -------------------- 5 files changed, 437 insertions(+), 246 deletions(-) create mode 100755 pidrive/Makefile delete mode 100755 pidrive/slotrom.s diff --git a/pidrive/Makefile b/pidrive/Makefile new file mode 100755 index 0000000..0ddf6d8 --- /dev/null +++ b/pidrive/Makefile @@ -0,0 +1,29 @@ +.SUFFIXES = +AFLAGS = -o $@ +ROM = ROM\#062000 +VDRV = PIDRIVE\#062000 +VCLK = PICLOCK\#062000 +# +# Image filetypes for CiderPress +# +PLATYPE = \#ed0000 +BINTYPE = \#060000 +SYSTYPE = \#ff0000 +TXTTYPE = \#040000 + +all: $(ROM) $(VDRV) $(VCLK) + +clean: + -rm $(ROM) $(VDRV) $(VCLK) *.o *~ + +$(ROM): rom.s + ca65 rom.s -o rom.o + ld65 -o $(ROM) -C rom.cfg rom.o + +$(VDRV): pidrive.s + ca65 pidrive.s -o pidrive.o + ld65 -o $(VDRV) -C drvr.cfg pidrive.o + +$(VCLK): piclock.s + ca65 piclock.s -o piclock.o + ld65 -o $(VCLK) -C drvr.cfg piclock.o diff --git a/pidrive/PROGROM#FC0801 b/pidrive/PROGROM#FC0801 index 5909dfc2cbcc97228c930cf6bf22697025693d30..6ff9418421d2a58273899718acff5adba30f50fb 100755 GIT binary patch literal 371 zcmaLTu}i~16vy$OgL>!U;;J0i3<*@oor!G{p`N5lpiM$jsFi|?qm$s^)>i)qXD6pF zZtYg+5Cm!Z7YJSaH*8vmPEK!l@c4e-F4@8>G_sBHk8T+rzi33tXGzp7D@~fF$x$Oa zc;RspT_vi?(ni!O)+O$xXplYhgWQ}*+eVihz|R+YkU37(GVn-_pzZ@Qa0V9ZKK6-KUmsUF$+Sryja}AA-!CC oM8y#}rtu%BDjaFxoZhTJwpc!9O$ljtgK|%A|Din4yCntq1yJN`T>t<8 literal 114 zcmb2+U}f0#T*E}uTFJ@B-_b=O$lq7TQN_r>z(9$?l7o$*MJXW2-#y6DS0UKPKLjML ztYjU`;Ksql(CB%=;GmJIDMJ{C2!qRoM;e|dEDSA;G#Rov