changeset 2083:f6697985fa37

Updated
author boisy
date Fri, 21 Jul 2006 16:49:02 +0000
parents 46a0626e4009
children 6665478e81e4
files 3rdparty/packages/sierra/spacequest1/makefile 3rdparty/packages/sierra/spacequest1/startup
diffstat 2 files changed, 23 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/sierra/spacequest1/makefile	Fri Jul 21 16:48:19 2006 +0000
+++ b/3rdparty/packages/sierra/spacequest1/makefile	Fri Jul 21 16:49:02 2006 +0000
@@ -7,6 +7,11 @@
 DISK_1_40D	= sq1_d1_40d.dsk
 DISK_2_40D	= sq1_d2_40d.dsk
 DISK_80D	= sq1_80d.dsk
+
+DISK_1_40D_NAME	= "Space Quest I Disk 1"
+DISK_2_40D_NAME	= "Space Quest I Disk 2"
+DISK_80D_NAME	= "Space Quest I"
+
 CMDS		= sierra mnln scrn shdw tocgen
 MD		= $(LEVEL2)/coco3/modules
 
@@ -37,13 +42,13 @@
 TEXTFILES_D1	= startup tOC_40d.txt
 TEXTFILES	= startup tOC_80d.txt
 
-SUPPORTFILES_D1	= logDir object picDir sndDir tOC_40d viewDir vol.0 \
+SUPPORTFILES_D1	= logDir object picDir sndDir viewDir vol.0 \
 		vol.1 words.tok
 
-SUPPORTFILES_D2	= logDir object picDir sndDir tOC_40d viewDir vol.0 \
-		vol.1 vol.2 words.tok
+SUPPORTFILES_D2	= logDir object picDir sndDir viewDir vol.0 \
+		vol.2 words.tok
 
-SUPPORTFILES	= logDir object picDir sndDir tOC_80d viewDir vol.0 \
+SUPPORTFILES	= logDir object picDir sndDir viewDir vol.0 \
 		vol.1 vol.2 words.tok
 
 ALLOBJS		= $(CMDS)
@@ -56,8 +61,9 @@
 dsk:	all
 	$(RM) $(DISK_1_40D) $(DISK_2_40D) $(DISK_80D)
 	$(CD) $(LEVEL2)/coco3; make
-	$(OS9FORMAT_DS40) -q $(DISK_1_40D) -n"Space Quest I Disk 1"
-	$(OS9FORMAT_DS80) -q $(DISK_80D) -n"Space Quest I"
+	$(OS9FORMAT_DS40) -q $(DISK_1_40D) -n$(DISK_1_40D_NAME)
+	$(OS9FORMAT_DS40) -q $(DISK_2_40D) -n$(DISK_2_40D_NAME)
+	$(OS9FORMAT_DS80) -q $(DISK_80D) -n$(DISK_80D_NAME)
 	$(MERGE) $(OS9BOOT_40D)>os9boot_40d
 	$(MERGE) $(OS9BOOT_80D)>os9boot_80d
 	$(MERGE) $(KERNEL)>kernel_1773
@@ -80,15 +86,14 @@
 	$(OS9RENAME) $(DISK_80D),CMDS/sierra AutoEx
 	$(CPL) $(TEXTFILES_D1) $(DISK_1_40D),.
 	$(OS9RENAME) $(DISK_1_40D),tOC_40d.txt tOC.txt
+	tocgen $(DISK_1_40D),tOC.txt $(DISK_1_40D),tOC
+	tocgen $(DISK_1_40D),tOC.txt $(DISK_2_40D),tOC
 	$(CPL) $(TEXTFILES) $(DISK_80D),.
 	$(OS9RENAME) $(DISK_80D),tOC_80d.txt tOC.txt
+	tocgen $(DISK_80D),tOC.txt $(DISK_80D),tOC
 	$(CP) $(SUPPORTFILES_D1) $(DISK_1_40D),.
-	$(OS9RENAME) $(DISK_1_40D),tOC_40d tOC
-	$(OS9FORMAT_DS40) -q $(DISK_2_40D) -n"Space Quest I Disk 2"
 	$(CP) $(SUPPORTFILES_D2) $(DISK_2_40D),.
-	$(OS9RENAME) $(DISK_2_40D),tOC_40d tOC
 	$(CP) $(SUPPORTFILES) $(DISK_80D),.
-	$(OS9RENAME) $(DISK_80D),tOC_80d tOC
 
 dskcopy: dsk
 	$(CP) $(DISK_1_40D) $(DISK_2_40D) $(DISK_80D) $(DSKDIR)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/packages/sierra/spacequest1/startup	Fri Jul 21 16:49:02 2006 +0000
@@ -0,0 +1,8 @@
+* Echo welcome message
+echo * Sierra welcomes you to the *
+echo * world of 3-D adventuring.  *
+* Lock shell and std utils into memory
+link shell
+* Start system time from keyboard
+setime </1
+date -t