changeset 1837:8c92d803f168

Added ability to specify disk step rate
author afra
date Tue, 31 May 2005 15:20:35 +0000
parents 8abe6e12dfa1
children 20adccef595a
files level1/makefile.dalpha
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/level1/makefile.dalpha	Tue May 31 15:20:13 2005 +0000
+++ b/level1/makefile.dalpha	Tue May 31 15:20:35 2005 +0000
@@ -1,10 +1,14 @@
 #
-#6809l1/makefile.dragon
+#6809l1/makefile.dalpha
 #
 # 2005-04-24, P.Harvey-Smith.
 # 	Brought into line with CoCo makefile, for generating disk
 #	names baded on CPU/Level/Release number.
 #
+# 2005-05-31, P.Harvey-Smith.
+#	Added options to specify the step rate of the created 
+#	floppy devices.
+#
 
 include ../rules.mak
 
@@ -26,6 +30,11 @@
 #WHICHSHELL	= shellplus
 WHICHSHELL	= shell_21
 
+#Default step rate for floppy drives
+#Step can be one of : 0=30ms, 1=20ms, 2=12ms, 3=6ms
+#Note old drives often require 30ms
+STEP		= 0
+
 CMDS		= $(shell $(CD) cmds; make showcocoobjs)
 BOOTTRACK	= $(shell $(CD) modules; make -f makefile.dragon showboottrack)
 KERNEL		= $(shell $(CD) modules; make -f makefile.dragon showkernel)
@@ -57,7 +66,7 @@
 	@$(ECHO) "*                                                *"
 	@$(ECHO) "**************************************************"
 	$(foreach dir, $(DIRS), ($(CD) $(dir); make);)
-	$(foreach dir, $(DDIRS), ($(CD) $(dir); make -f makefile.dragon);)
+	$(foreach dir, $(DDIRS), ($(CD) $(dir); make -f makefile.dragon STEP=$(STEP));)
 	
 # Clean all components
 clean:	dskclean