diff level2/coco3/modules/makefile @ 2817:5c6b71612ce4 lwtools-port

Added low level CoCo SDC driver and made makefile changes for coco3 and coco3_6309 to build boot disks for this new driver. Fixed up shellplus labels.
author Boisy Pitre <boisy.pitre@nuance.com>
date Wed, 01 May 2013 08:38:04 -0500
parents 5a3acdd1c7d6
children 05426dd4e24e
line wrap: on
line diff
--- a/level2/coco3/modules/makefile	Thu Feb 14 07:29:48 2013 -0600
+++ b/level2/coco3/modules/makefile	Wed May 01 08:38:04 2013 -0500
@@ -17,6 +17,7 @@
 CLOCKJVEMU      = -DRTCJVEmu=1
 TC3FLAGS        = $(AFLAGS) -DTC3=1 $(FLAGS)
 IDEFLAGS        = $(AFLAGS) -DIDE=1 $(FLAGS)
+SDFLAGS         = $(AFLAGS) -DCOCOSDC=1 -DITTYP=128 $(FLAGS)
 
 DEPENDS		= ./makefile
 TPB		= $(3RDPARTY)/booters
@@ -42,10 +43,11 @@
 		rammer.dr r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \
 		ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd md.dd \
 		ddx0.dd x0.dd x1.dd x2.dd x3.dd \
-		rbsuper.dr lltc3.dr llide.dr \
+		rbsuper.dr lltc3.dr llide.dr llcocosdc.dr \
 		ddi0_ide.dd i0_ide.dd i1_ide.dd ih_ide.dd \
 		dds0_tc3.dd s0_tc3.dd s1_tc3.dd s2_tc3.dd s3_tc3.dd s4_tc3.dd \
-		s5_tc3.dd s6_tc3.dd sh_tc3.dd
+		s5_tc3.dd s6_tc3.dd sh_tc3.dd \
+		ddsd_cocosdc.dd sd0_cocosdc.dd sd1_cocosdc.dd
 
 SCF		= scf.mn \
 		vtio.dr vrn.dr scbbp.dr scbbt.dr scdwp.dr sspak.dr sc6551.dr \
@@ -381,6 +383,16 @@
 ih_ide.dd: superdesc.asm
 	$(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(HDBDOS)
 
+# SuperSD Descriptors
+ddsd_cocosdc.dd: superdesc.asm
+	$(AS) $(ASOUT)$@ $< $(SDFLAGS) -DDD=1
+
+sd0_cocosdc.dd: superdesc.asm
+	$(AS) $(ASOUT)$@ $< $(SDFLAGS) -DITDRV=0
+
+sd1_cocosdc.dd: superdesc.asm
+	$(AS) $(ASOUT)$@ $< $(SDFLAGS) -DITDRV=1
+
 # RFM descriptors
 ddy0.dd: rfmdesc.asm
 	$(AS) $< $(ASOUT)$@ $(AFLAGS) -DDD=1 -DDNum=0