changeset 1684:c0c47b363b5d

Script updates
author boisy
date Sat, 31 Jul 2004 21:07:08 +0000
parents 786453492c1e
children 2c7840d16a6b
files level1/modules/rbf.asm level2/coco3/bootlists/standard.bl level2/coco3/scripts/mb level2/coco3_6309/bootlists/standard.bl level2/coco3_6309/scripts/mb level2/modules/makefile
diffstat 6 files changed, 32 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/rbf.asm	Sat Jul 31 17:27:05 2004 +0000
+++ b/level1/modules/rbf.asm	Sat Jul 31 21:07:08 2004 +0000
@@ -755,7 +755,27 @@
          ldb   #E$UnkSvc
 L061C    rts
 
-L061D    ldd   #256
+L061D
+**** ADDED 06/19/2004 ****
+* Call to SS.VarSect in Driver:
+*
+* This code calls the driver's SS.VarSect GetStat, which will
+* update the PD.TYP byte in the path descriptor to the sector
+* size of the media to which this path references.
+* If the driver doesn't support the GetStat, it will return
+* an error, and won't touch the PD.TYP anyway, so we ignore it.
+         ldx   PD.RGS,y         get caller's regs
+         lda   R$B,x            get caller's B
+         pshs  x,a              save PD.RGS ptr and caller's original B
+         ldd   #D$GSTA*256+SS.VarSect   getstat function/SS.VarSect GetStat
+         stb   R$B,x            put SS.VarSect into caller's B
+         lbsr  L0CED            send it to driver
+         puls  a,x              get caller's original B and saved PD.RGS
+         bcs   L061C
+         sta   R$B,x            restore caller's original B
+****
+
+         ldd   #256
          stb   PD.BUF+2,y
          os9   F$SRqMem
          bcs   L061C
--- a/level2/coco3/bootlists/standard.bl	Sat Jul 31 17:27:05 2004 +0000
+++ b/level2/coco3/bootlists/standard.bl	Sat Jul 31 21:07:08 2004 +0000
@@ -46,13 +46,13 @@
 *../MODULES/RBF/s5_tc3.dd
 *../MODULES/RBF/s6_tc3.dd
 *../MODULES/RBF/s7_tc3.dd
-* SCSI HDB-DOS descriptor for drive 255
-*../MODULES/RBF/sh_ide_255.dd
+* SCSI HDB-DOS descriptor
+*../MODULES/RBF/sh_ide.dd
 * IDE descriptors (master/slave)
 *../MODULES/RBF/i0_ide.dd
 *../MODULES/RBF/i1_ide.dd
-* IDE HDB-DOS descriptor for drive 255
-*../MODULES/RBF/ih_ide_255.dd
+* IDE HDB-DOS descriptor
+*../MODULES/RBF/ih_ide.dd
 *
 * SuperSCSI drivers (Cloud-9 product)
 * Select SCSI driver for TC^3, Ken-Ton or Disto Controller
--- a/level2/coco3/scripts/mb	Sat Jul 31 17:27:05 2004 +0000
+++ b/level2/coco3/scripts/mb	Sat Jul 31 21:07:08 2004 +0000
@@ -18,7 +18,7 @@
 merge ../MODULES/BOOTTRACK/rel_80 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/krn>-bttemp
 echo *
 echo * Step 3: Create the bootfile and boot track
-os9gen #32k %1 -t=bttemp<../BOOTLISTS/standard.bl
+os9gen %1 -t=bttemp<../BOOTLISTS/standard.bl
 del bttemp
 echo *
 echo * Step 4: Populate the disk with essential files
--- a/level2/coco3_6309/bootlists/standard.bl	Sat Jul 31 17:27:05 2004 +0000
+++ b/level2/coco3_6309/bootlists/standard.bl	Sat Jul 31 21:07:08 2004 +0000
@@ -46,13 +46,13 @@
 *../MODULES/RBF/s5_tc3.dd
 *../MODULES/RBF/s6_tc3.dd
 *../MODULES/RBF/s7_tc3.dd
-* SCSI HDB-DOS descriptor for drive 255
-*../MODULES/RBF/sh_ide_255.dd
+* SCSI HDB-DOS descriptor
+*../MODULES/RBF/sh_ide.dd
 * IDE descriptors (master/slave)
 *../MODULES/RBF/i0_ide.dd
 *../MODULES/RBF/i1_ide.dd
-* IDE HDB-DOS descriptor for drive 255
-*../MODULES/RBF/ih_ide_255.dd
+* IDE HDB-DOS descriptor
+*../MODULES/RBF/ih_ide.dd
 *
 * SuperSCSI drivers (Cloud-9 product)
 * Select SCSI driver for TC^3, Ken-Ton or Disto Controller
--- a/level2/coco3_6309/scripts/mb	Sat Jul 31 17:27:05 2004 +0000
+++ b/level2/coco3_6309/scripts/mb	Sat Jul 31 21:07:08 2004 +0000
@@ -18,7 +18,7 @@
 merge ../MODULES/BOOTTRACK/rel_80 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/krn>-bttemp
 echo *
 echo * Step 3: Create the bootfile and boot track
-os9gen #32k %1 -t=bttemp<../BOOTLISTS/standard.bl
+os9gen %1 -t=bttemp<../BOOTLISTS/standard.bl
 del bttemp
 echo *
 echo * Step 4: Populate the disk with essential files
--- a/level2/modules/makefile	Sat Jul 31 17:27:05 2004 +0000
+++ b/level2/modules/makefile	Sat Jul 31 21:07:08 2004 +0000
@@ -17,7 +17,7 @@
 TPB		= ../../3rdparty/booters
 
 BOOTERS		= boot_1773_6ms boot_1773_30ms \
-		 boot_burke boot_idelba boot_rampak boot_wd1002
+		 boot_burke boot_rampak boot_wd1002
 BOOTTRACK	= rel_32 rel_40 rel_80 $(BOOTERS) krn
 KERNEL		= krnp2 krnp3_perr krnp4_regdump
 SYSMODS		= ioman init sysgo_h0 sysgo_dd