[Coco] Formatting L.R. Tech Hard Drive in OS9 Level II

Mark J. Blair nf6x at nf6x.net
Mon Jan 11 02:59:34 EST 2016


Even though it appears to have been unnecessary, I'm curious about whether I built the llktlr stuff correctly. Here's how I modified level2/coco3/modules/makefile. Does it look like I hacked it correctly?

...src/nitros9% hg diff level2/coco3/modules/makefile
diff -r 900100ea305c level2/coco3/modules/makefile
--- a/level2/coco3/modules/makefile	Tue Dec 22 21:43:23 2015 +0100
+++ b/level2/coco3/modules/makefile	Sun Jan 10 23:56:32 2016 -0800
@@ -16,6 +16,7 @@
 CLOCKMESSEMU    = -DRTCMessEmu=1
 CLOCKJVEMU      = -DRTCJVEmu=1
 TC3FLAGS        = $(AFLAGS) -DTC3=1 $(FLAGS)
+KTLRFLAGS        = $(AFLAGS) -DKTLR=1 $(FLAGS)
 IDEFLAGS        = $(AFLAGS) -DIDE=1 $(FLAGS)
 SDFLAGS         = $(AFLAGS) -DCOCOSDC=1 -DITTYP=128 $(FLAGS)
 
@@ -48,7 +49,8 @@
 		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 \
-		ddsd0_cocosdc.dd sd0_cocosdc.dd sd1_cocosdc.dd
+		ddsd0_cocosdc.dd sd0_cocosdc.dd sd1_cocosdc.dd \
+		llktlr.dr dds0_ktlr.dd s0_ktlr.dd s1_ktlr.dd sh_ktlr.dd
 
 SCF		= scf.mn \
 		vtio.dr vrn.dr scbbp.dr scbbt.dr scdwp.dr sspak.dr sc6551.dr \
@@ -185,6 +187,10 @@
 lltc3.dr: llscsi.asm
 	$(AS) $(ASOUT)$@ $< $(TC3FLAGS)
 
+# LR Tech Driver
+llktlr.dr: llscsi.asm
+	$(AS) $(ASOUT)$@ $< $(KTLRFLAGS)
+
 # IDE Driver
 llide.dr: llide.asm
 	$(AS) $(ASOUT)$@ $< $(IDEFLAGS)
@@ -381,6 +387,19 @@
 sh_tc3.dd: superdesc.asm
 	$(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(HDBDOS)
 
+# LR Tech Descriptors
+dds0_ktlr.dd: superdesc.asm
+	$(AS) $(ASOUT)$@ $< $(KTLRFLAGS) $(ID0) -DDD=1
+
+s0_ktlr.dd: superdesc.asm
+	$(AS) $(ASOUT)$@ $< $(KTLRFLAGS) $(ID0) $(SCSI_HD)
+
+s1_ktlr.dd: superdesc.asm
+	$(AS) $(ASOUT)$@ $< $(KTLRFLAGS) $(ID1) $(SCSI_HD)
+
+sh_ktlr.dd: superdesc.asm
+	$(AS) $(ASOUT)$@ $< $(KTLRFLAGS) $(HDBDOS)
+
 # IDE Descriptors
 ddi0_ide.dd: superdesc.asm
 	$(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER) -DDD=1




More information about the Coco mailing list