Mercurial > hg > Members > kono > nitros9-code
changeset 1874:9db5440eef21
Converted to perl scripts
author | boisy |
---|---|
date | Thu, 11 Aug 2005 03:21:53 +0000 |
parents | df5378cb9581 |
children | 298e596aa143 |
files | scripts/bundi scripts/dwbootl1 scripts/dwbootl2 scripts/ideboot scripts/idebootl1 scripts/idebootl2 scripts/makeboot |
diffstat | 7 files changed, 443 insertions(+), 168 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/bundi Thu Aug 11 02:15:35 2005 +0000 +++ b/scripts/bundi Thu Aug 11 03:21:53 2005 +0000 @@ -1,8 +1,8 @@ -#!/bin/tcsh +#!/usr/bin/perl # # BUNDI - Build the Ultimate NitrOS-9 Disk Image # -# This script builds the ULTIMATE NitrOS-9/6309 Level 2 disk image +# This script builds the ULTIMATE NitrOS-9 disk image, # complete with HDB-DOS drives! # # The resulting image has a NitrOS-9 partition and an HDB-DOS partition. @@ -13,70 +13,78 @@ # $00B100 OS-9 Offset in HDB-DOS # # ATTENTION! Set the HDB-DOS offset in your HDB-DOS ROM here! (must be in decimal) -set hdbdos_offset=45312 # 0x00B100 +$hdbdos_offset = 45312; # 0x00B100 # ATTENTION! Set the number of HDB-DOS virtual disks (must be in decimal) -set num_hdbdos_disks=128 +$num_hdbdos_disks = 128; +$NITROS9DIR = $ENV{'NITROS9DIR'}; +$CLOUD9DIR = $ENV{'CLOUD9DIR'}; + -# Check for argument -if ($2 == "") then - echo "Usage: bundi <bootscript> <diskname>" - exit -endif +# Check for proper number of arguments +$numargs = $#ARGV + 1; +if ($numargs != 2) +{ + print "Usage: bundi <bootscript> <diskname>\n"; + exit; +} + +$scriptname = $ARGV[0]; +$diskname = $ARGV[1]; -set diskname=$2 -set multiplier=2 -@ os9_sectors = $hdbdos_offset * $multiplier -echo $os9_sectors -@ hdb_drives = $num_hdbdos_disks - 2 + +$multiplier = 2; +$os9_sectors = $hdbdos_offset * $multiplier; +printf("Number of sectors: %d\n", $os9_sectors); +$hdb_drives = $num_hdbdos_disks - 2; -echo "########## PART I ##########" -echo "# #" -echo "# Assemble EVERYTHING! #" -echo "# #" -echo "#############################" -echo -echo "Step 1 - Making the ENTIRE NitrOS-9 Project (could take a while)..." -#(pushd $NITROS9DIR; make dsk; popd)>&/dev/null +print "########## PART I ##########\n"; +print "# #\n"; +print "# Assemble EVERYTHING! #\n"; +print "# #\n"; +print "#############################\n\n"; -echo "Step 2 - Making the HDB-DOS Product..." -(pushd $CLOUD9DIR/Products/HDB-DOS/Software; make dsk; popd)>&/dev/null +print "Step 1 - Making the ENTIRE NitrOS-9 Project (could take a while)...\n"; +#system("cd $NITROS9DIR; make dsk>&/dev/null"); -echo "Step 3 - Making the Ved Product..." -(pushd $CLOUD9DIR/Products/Ved/Software; make dsk; popd)>&/dev/null +print "Step 2 - Making the HDB-DOS Product...\n"; +system("cd $CLOUD9DIR/Products/HDB-DOS/Software; make dsk>&/dev/null"); -echo "########## PART II ##########" -echo "# #" -echo "# Prepare the Disk Image #" -echo "# #" -echo "#############################" -echo -echo "Step 1 - Format the disk and make the boot disk" -os9 format -qe -l$os9_sectors tmp.dsk -./$1>&/dev/null -os9 gen -b=bootfile -t=boottrack tmp.dsk>&/dev/null -os9 copy -o=0 $NITROS9DIR/6309l2/modules/sysgo_dd tmp.dsk,sysgo -os9 attr tmp.dsk,sysgo -epepr -os9 dsave -e $NITROS9DIR/6309l2/nos96309l2_80d.dsk, tmp.dsk, >&/dev/null -os9 dsave -e $NITROS9DIR/3rdparty/packages/uucpbb/uucpbb21_6309.dsk, tmp.dsk, >&/dev/null -os9 dsave -e $NITROS9DIR/3rdparty/packages/cc/cc.dsk, tmp.dsk, >&/dev/null -os9 dsave -e $NITROS9DIR/3rdparty/packages/basic09/basic09v010100.dsk, tmp.dsk, >&/dev/null -os9 dsave -e $CLOUD9DIR/Products/Ved/Software/ved.dsk, tmp.dsk, >&/dev/null -os9 format -qe -ss -dd boot.dsk -os9 gen -b=bootfile -t=boottrack boot.dsk>&/dev/null -rm bootfile boottrack +print "Step 3 - Making the Ved Product...\n"; +system("cd $ENV{'CLOUD9DIR'}/Products/Ved/Software; make dsk>&/dev/null"); + +print "########## PART II ##########\n"; +print "# #\n"; +print "# Prepare the Disk Image #\n"; +print "# #\n"; +print "#############################\n\n"; -echo "Step 2 - Build the HDB-DOS drives" -rm hdbdrives.dsk -decb dskini -h$hdb_drives hdbdrives.dsk -rm hdbdrives2.dsk -cat $CLOUD9DIR/Products/HDB-DOS/Software/hdbdos.dsk hdbdrives.dsk boot.dsk>hdbdrives2.dsk -rm hdbdrives.dsk boot.dsk -decb hdbconv hdbdrives2.dsk hdbdrives.dsk -rm hdbdrives2.dsk +print "Step 1 - Format the disk and make the boot disk\n"; +system("os9 format -qe -l$os9_sectors tmp.dsk"); +system("./$scriptname>&/dev/null"); +system("os9 gen -b=bootfile -t=boottrack tmp.dsk>&/dev/null"); +system("os9 copy -o=0 $NITROS9DIR/6309l2/modules/sysgo_dd tmp.dsk,sysgo"); +system("os9 attr tmp.dsk,sysgo -epepr"); +system("os9 dsave -e $NITROS9DIR/6309l2/nos96309l2_80d.dsk, tmp.dsk, >&/dev/null"); +system("os9 dsave -e $NITROS9DIR/3rdparty/packages/uucpbb/uucpbb21_6309.dsk, tmp.dsk, >&/dev/null"); +system("os9 dsave -e $NITROS9DIR/3rdparty/packages/cc/cc.dsk, tmp.dsk, >&/dev/null"); +system("os9 dsave -e $NITROS9DIR/3rdparty/packages/basic09/basic09v010100.dsk, tmp.dsk, >&/dev/null"); +system("os9 dsave -e $CLOUD9DIR/Products/Ved/Software/ved.dsk, tmp.dsk, >&/dev/null"); +system("os9 format -qe -ss -dd boot.dsk"); +system("os9 gen -b=bootfile -t=boottrack boot.dsk>&/dev/null"); +system("rm bootfile boottrack"); -echo "Step 3 - Put it all together" -rm $diskname -cat tmp.dsk hdbdrives.dsk>$diskname -#rm tmp.dsk hdbdrives.dsk +print "Step 2 - Build the HDB-DOS drives\n"; +system("rm hdbdrives.dsk"); +system("decb dskini -h$hdb_drives hdbdrives.dsk"); +system("rm hdbdrives2.dsk"); +system("cat $CLOUD9DIR/Products/HDB-DOS/Software/hdbdos.dsk hdbdrives.dsk boot.dsk>hdbdrives2.dsk"); +system("rm hdbdrives.dsk boot.dsk"); +system("decb hdbconv hdbdrives2.dsk hdbdrives.dsk"); +system("rm hdbdrives2.dsk"); -echo "Ok, we're done! The file $diskname is now a fresh disk image." +print "Step 3 - Put it all together\n"; +system("rm $diskname"); +system("cat tmp.dsk hdbdrives.dsk>$diskname"); +system("rm tmp.dsk hdbdrives.dsk"); + +print "Ok, we're done! The file $diskname is now a fresh disk image.\n";
--- a/scripts/dwbootl1 Thu Aug 11 02:15:35 2005 +0000 +++ b/scripts/dwbootl1 Thu Aug 11 03:21:53 2005 +0000 @@ -1,40 +1,77 @@ -# Makes 'bootlist' and 'bootfile' in the current directory -set md=$NITROS9DIR/6809l1/modules -set sd=$CLOUD9DIR/Products/SuperDrivers/software/6809l1 -set dd=$CLOUD9DIR/Products/DriveWire/software/6809l1 +#!/usr/bin/perl +# Makes 'bootlist' and 'bootfile' in the current directory for NitrOS-9 Level 2 +$NITROS9DIR = $ENV{'NITROS9DIR'}; +$CLOUD9DIR = $ENV{'CLOUD9DIR'}; -set tracklist_1773="$md/rel $md/krn $md/krnp2 $md/init $md/boot_1773_6ms" -set tracklist_tc3="$md/rel $md/krn $md/krnp2 $md/init $sd/boot_tc3" -set tracklist_ide="$md/rel $md/krn $md/krnp2 $md/init $sd/boot_ide" -set tracklist_dw="$md/rel $md/krn $md/krnp2 $md/init $dd/boot_dw" +if (@ARGV[0] == '') +{ + $DISTRO = "6809l1"; +} +else +{ + $DISTRO = @ARGV[0]."l1"; +} + +$md="$NITROS9DIR/$DISTRO/modules"; +$sd="$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO"; +$dd="$CLOUD9DIR/Products/DriveWire/software/$DISTRO"; + +@tracklist_dw=( + "$md/rel", + "$md/krn", + "$md/krnp2", + "$md/init", + "$dd/boot_dw"); # IDE Boot with IDE Master as /DD -set bootlist_dw="$md/ioman $md/rbf.mn $dd/drivewire.dr $dd/ddx0.dd $dd/x1.dd $dd/x2.dd $dd/x3.dd $md/rb1773.dr $md/d0_80d.dd $md/d1_40d.dd $md/scf.mn $md/ccio.dr $md/co32.io $md/term32.dt $md/sc6551.dr $md/t2_sc6551.dd $md/t3_sc6551.dd $md/pipeman.mn $md/piper.dr $md/pipe.dd $md/clock_60hz $dd/clock2_dw $md/sysgo_dd" -#set bootlist_dw="$md/ioman $md/rbf.mn $sd/rbsuper.dr $sd/llide.dr $sd/lltc3.dr $sd/i0_ide.dd $sd/i0_ide.dd $sd/i1_ide.dd $sd/ih_ide.dd $sd/s0_tc3.dd $sd/s1_tc3.dd $sd/s2_tc3.dd $sd/s3_tc3.dd $sd/s4_tc3.dd $sd/s5_tc3.dd $sd/s6_tc3.dd $sd/s7_tc3.dd $sd/sh_tc3.dd $dd/drivewire.dr $dd/ddx0.dd $dd/x1.dd $dd/x2.dd $dd/x3.dd $md/rb1773.dr $md/d0_80d.dd $md/d1_40d.dd $md/scf.mn $md/ccio.dr $md/co32.io $md/term32.dt $md/sc6551.dr $md/t2_sc6551.dd $md/t3_sc6551.dd $md/pipeman.mn $md/piper.dr $md/pipe.dd $md/clock_60hz $dd/clock2_dw $md/sysgo_dd" - -# $(C9)/Products/SuperDrivers/software/6809l1/lldw.dr \ -# $(C9)/Products/SuperDrivers/software/6809l1/ddx0.dd \ -# $(C9)/Products/SuperDrivers/software/6809l1/x1.dd \ -# $(C9)/Products/SuperDrivers/software/6809l1/x2.dd \ -# $(C9)/Products/SuperDrivers/software/6809l1/x3.dd \ - +@bootlist_dw=("$md/ioman", + "$md/rbf.mn", + "$dd/drivewire.dr", + "$dd/ddx0.dd", + "$dd/x1.dd", + "$dd/x2.dd", + "$dd/x3.dd", + "$md/rb1773.dr", + "$md/d0_80d.dd", + "$md/d1_40d.dd", + "$md/scf.mn", + "$md/ccio.dr", + "$md/co32.io", + "$md/term32.dt", + "$md/sc6551.dr", + "$md/t2_sc6551.dd", + "$md/t3_sc6551.dd", + "$md/pipeman.mn", + "$md/piper.dr", + "$md/pipe.dd", + "$md/clock_60hz", + "$dd/clock2_dw", + "$md/sysgo_dd"); # Select our bootlist and tracklist -set bootlist="$bootlist_dw" -set tracklist="$tracklist_dw" +@bootlist = @bootlist_dw; +@tracklist = @tracklist_dw; # Create the files -if (-e bootfile) then - rm bootfile -endif -foreach file ($bootlist) - cat $file>>bootfile -end -if (-e boottrack) then - rm boottrack -endif -foreach file ($tracklist) - cat $file>>boottrack -end +if (-e "bootfile") +{ + system("rm bootfile"); +} + +foreach $file (@bootlist) +{ + printf("cat $file>>bootfile\n"); + system("cat $file>>bootfile"); +} +if (-e "boottrack") +{ + system("rm boottrack"); +} + +foreach $file (@tracklist) +{ + printf("cat $file>>boottrack\n"); + system("cat $file>>boottrack"); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/dwbootl2 Thu Aug 11 03:21:53 2005 +0000 @@ -0,0 +1,95 @@ +#!/usr/bin/perl +# Makes 'bootlist' and 'bootfile' in the current directory for NitrOS-9 Level 2 +$NITROS9DIR = $ENV{'NITROS9DIR'}; +$CLOUD9DIR = $ENV{'CLOUD9DIR'}; + +if (@ARGV[0] == '') +{ + $DISTRO = "6809l2"; +} +else +{ + $DISTRO = @ARGV[0]."l2"; +} + +$md="$NITROS9DIR/$DISTRO/modules"; +$sd="$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO"; +$dd="$CLOUD9DIR/Products/DriveWire/software/$DISTRO"; + +@tracklist_dw=( + "$md/rel_80", + "$dd/boot_dw", + "$md/krn"); + +# DriveWire Boot with /X0 as /DD +@bootlist_dw=( + "$md/krnp2", + "$md/ioman", + "$md/init", + "$md/rbf.mn", + "$dd/drivewire.dr", + "$dd/ddx0.dd", + "$dd/x1.dd", + "$dd/x2.dd", + "$dd/x3.dd", + "$md/rb1773.dr", + "$md/d0_80d.dd", + "$md/d1_40d.dd", + "$md/scf.mn", + "$md/cc3io.dr", + "$md/term_win80.dt", + "$md/keydrv_cc3.sb", + "$md/joydrv_joy.sb", + "$md/snddrv_cc3.sb", + "$md/grfint.io", + "$md/w.dw", + "$md/w1.dw", + "$md/w2.dw", + "$md/w3.dw", + "$md/w4.dw", + "$md/w5.dw", + "$md/w6.dw", + "$md/w7.dw", + "$md/sc6551.dr", + "$md/t2_sc6551.dd", + "$md/t3_sc6551.dd", + "$md/pipeman.mn", + "$md/piper.dr", + "$md/pipe.dd", + "$md/clock_60hz", + "$md/clock2_cloud9"); + +# $(C9)/Products/SuperDrivers/software/$DISTRO/lldw.dr \ +# $(C9)/Products/SuperDrivers/software/$DISTRO/ddx0.dd \ +# $(C9)/Products/SuperDrivers/software/$DISTRO/x1.dd \ +# $(C9)/Products/SuperDrivers/software/$DISTRO/x2.dd \ +# $(C9)/Products/SuperDrivers/software/$DISTRO/x3.dd \ + + + +# Select our bootlist and tracklist +@bootlist = @bootlist_dw; +@tracklist = @tracklist_dw; + +# Create the files +if (-e "bootfile") +{ + system("rm bootfile"); +} + +foreach $file (@bootlist) +{ + printf("cat $file>>bootfile\n"); + system("cat $file>>bootfile"); +} + +if (-e "boottrack") +{ + system("rm boottrack"); +} + +foreach $file (@tracklist) +{ + printf("cat $file>>boottrack\n"); + system("cat $file>>boottrack"); +}
--- a/scripts/ideboot Thu Aug 11 02:15:35 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -# Makes 'bootlist' and 'bootfile' in the current directory -set md=$NITROS9DIR/6309l2/modules -set sd=$CLOUD9DIR/Products/SuperDrivers/software/6309l2 -set dd=$CLOUD9DIR/Products/DriveWire/software/6309l2 - -set tracklist_1773="$md/rel_80 $md/boot_1773_6ms $md/krn" -set tracklist_tc3="$md/rel_80 $sd/boot_tc3 $md/krn" -set tracklist_ide="$md/rel_80 $sd/boot_ide $md/krn" -set tracklist_dw="$md/rel_80 $dd/boot_dw $md/krn" - -# IDE Boot with IDE Master as /DD -set bootlist_ide="$md/krnp2 $md/ioman $md/init $md/rbf.mn $sd/rbsuper.dr $sd/llide.dr $sd/lltc3.dr $sd/dd_ide.dd $sd/i0_ide.dd $sd/i1_ide.dd $sd/ih_ide.dd $sd/s0_tc3.dd $sd/s1_tc3.dd $sd/s2_tc3.dd $sd/s3_tc3.dd $sd/s4_tc3.dd $sd/s5_tc3.dd $sd/s6_tc3.dd $sd/s7_tc3.dd $sd/sh_tc3.dd $dd/drivewire.dr $dd/x0.dd $dd/x1.dd $dd/x2.dd $dd/x3.dd $md/rb1773.dr $md/d0_80d.dd $md/d1_40d.dd $md/scf.mn $md/cc3io.dr $md/term_win80.dt $md/keydrv_cc3.sb $md/joydrv_joy.sb $md/snddrv_cc3.sb $md/grfint.io $md/w.dw $md/w1.dw $md/w2.dw $md/w3.dw $md/w4.dw $md/w5.dw $md/w6.dw $md/w7.dw $md/sc6551.dr $md/t2_sc6551.dd $md/t3_sc6551.dd $md/pipeman.mn $md/piper.dr $md/pipe.dd $md/clock_60hz $md/clock2_cloud9" - -# $(C9)/Products/SuperDrivers/software/6309l2/lldw.dr \ -# $(C9)/Products/SuperDrivers/software/6309l2/ddx0.dd \ -# $(C9)/Products/SuperDrivers/software/6309l2/x1.dd \ -# $(C9)/Products/SuperDrivers/software/6309l2/x2.dd \ -# $(C9)/Products/SuperDrivers/software/6309l2/x3.dd \ - - - -# Select our bootlist and tracklist -set bootlist="$bootlist_ide" -set tracklist="$tracklist_ide" - -# Create the files -if (-e bootfile) then - rm bootfile -endif -foreach file ($bootlist) - cat $file>>bootfile -end -if (-e boottrack) then - rm boottrack -endif -foreach file ($tracklist) - cat $file>>boottrack -end -
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/idebootl1 Thu Aug 11 03:21:53 2005 +0000 @@ -0,0 +1,88 @@ +#!/usr/bin/perl +# Makes 'bootlist' and 'bootfile' in the current directory for NitrOS-9 Level 2 +$NITROS9DIR = $ENV{'NITROS9DIR'}; +$CLOUD9DIR = $ENV{'CLOUD9DIR'}; + +if (@ARGV[0] == '') +{ + $DISTRO = "6809l1"; +} +else +{ + $DISTRO = @ARGV[0]."l1"; +} + +$md="$NITROS9DIR/$DISTRO/modules"; +$sd="$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO"; +$dd="$CLOUD9DIR/Products/DriveWire/software/$DISTRO"; + +@tracklist_ide=( + "$md/rel", + "$md/krn", + "$md/krnp2", + "$md/init", + "$sd/boot_ide"); + +# IDE Boot with IDE Master as /DD +@bootlist_ide=("$md/ioman", + "$md/rbf.mn", + "$sd/rbsuper.dr", + "$sd/llide.dr", + "$sd/lltc3.dr", + "$sd/dd_ide.dd", + "$sd/i0_ide.dd", + "$sd/i1_ide.dd", + "$sd/ih_ide.dd", + "$sd/s0_tc3.dd", + "$sd/s1_tc3.dd", + "$sd/s2_tc3.dd", + "$sd/s3_tc3.dd", + "$sd/s4_tc3.dd", + "$sd/s5_tc3.dd", + "$sd/s6_tc3.dd", + "$sd/s7_tc3.dd", + "$sd/sh_tc3.dd", + "$md/rb1773.dr", + "$md/d0_80d.dd", + "$md/d1_40d.dd", + "$md/scf.mn", + "$md/ccio.dr", + "$md/co32.io", + "$md/term32.dt", + "$md/sc6551.dr", + "$md/t2_sc6551.dd", + "$md/t3_sc6551.dd", + "$md/pipeman.mn", + "$md/piper.dr", + "$md/pipe.dd", + "$md/clock_60hz", + "$md/clock2_cloud9", + "$md/sysgo_dd"); + + +# Select our bootlist and tracklist +@bootlist = @bootlist_ide; +@tracklist = @tracklist_ide; + +# Create the files +if (-e "bootfile") +{ + system("rm bootfile"); +} + +foreach $file (@bootlist) +{ + printf("cat $file>>bootfile\n"); + system("cat $file>>bootfile"); +} + +if (-e "boottrack") +{ + system("rm boottrack"); +} + +foreach $file (@tracklist) +{ + printf("cat $file>>boottrack\n"); + system("cat $file>>boottrack"); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/idebootl2 Thu Aug 11 03:21:53 2005 +0000 @@ -0,0 +1,125 @@ +#!/usr/bin/perl +# Makes 'bootlist' and 'bootfile' in the current directory for NitrOS-9 Level 2 +$NITROS9DIR = $ENV{'NITROS9DIR'}; +$CLOUD9DIR = $ENV{'CLOUD9DIR'}; + +if (@ARGV[0] == '') +{ + $DISTRO = "6809l2"; +} +else +{ + $DISTRO = @ARGV[0]."l2"; +} + +$md="$NITROS9DIR/$DISTRO/modules"; +$sd="$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO"; +$dd="$CLOUD9DIR/Products/DriveWire/software/$DISTRO"; + +@tracklist_1773=( + "$md/rel_80", + "$md/boot_1773_6ms", + "$md/krn"); + +@tracklist_tc3=( + "$md/rel_80", + "$sd/boot_tc3", + "$md/krn"); + +@tracklist_ide=( + "$md/rel_80", + "$sd/boot_ide", + "$md/krn"); + +@tracklist_dw=( + "$md/rel_80", + "$dd/boot_dw", + "$md/krn"); + +# IDE Boot with IDE Master as /DD +@bootlist_ide=("$md/krnp2", + "$md/ioman", + "$md/init", + "$md/rbf.mn", + "$sd/rbsuper.dr", + "$sd/llide.dr", + "$sd/lltc3.dr", + "$sd/dd_ide.dd", + "$sd/i0_ide.dd", + "$sd/i1_ide.dd", + "$sd/ih_ide.dd", + "$sd/s0_tc3.dd", + "$sd/s1_tc3.dd", + "$sd/s2_tc3.dd", + "$sd/s3_tc3.dd", + "$sd/s4_tc3.dd", + "$sd/s5_tc3.dd", + "$sd/s6_tc3.dd", + "$sd/s7_tc3.dd", + "$sd/sh_tc3.dd", + "$dd/drivewire.dr", + "$dd/x0.dd", + "$dd/x1.dd", + "$dd/x2.dd", + "$dd/x3.dd", + "$md/rb1773.dr", + "$md/d0_80d.dd", + "$md/d1_40d.dd", + "$md/scf.mn", + "$md/cc3io.dr", + "$md/term_win80.dt", + "$md/keydrv_cc3.sb", + "$md/joydrv_joy.sb", + "$md/snddrv_cc3.sb", + "$md/grfint.io", + "$md/w.dw", + "$md/w1.dw", + "$md/w2.dw", + "$md/w3.dw", + "$md/w4.dw", + "$md/w5.dw", + "$md/w6.dw", + "$md/w7.dw", + "$md/sc6551.dr", + "$md/t2_sc6551.dd", + "$md/t3_sc6551.dd", + "$md/pipeman.mn", + "$md/piper.dr", + "$md/pipe.dd", + "$md/clock_60hz", + "$md/clock2_cloud9"); + +# $(C9)/Products/SuperDrivers/software/$DISTRO/lldw.dr \ +# $(C9)/Products/SuperDrivers/software/$DISTRO/ddx0.dd \ +# $(C9)/Products/SuperDrivers/software/$DISTRO/x1.dd \ +# $(C9)/Products/SuperDrivers/software/$DISTRO/x2.dd \ +# $(C9)/Products/SuperDrivers/software/$DISTRO/x3.dd \ + + + +# Select our bootlist and tracklist +@bootlist = @bootlist_ide; +@tracklist = @tracklist_ide; + +# Create the files +if (-e "bootfile") +{ + system("rm bootfile"); +} + +foreach $file (@bootlist) +{ + printf("cat $file>>bootfile\n"); + system("cat $file>>bootfile"); +} + +if (-e "boottrack") +{ + system("rm boottrack"); +} + +foreach $file (@tracklist) +{ + printf("cat $file>>boottrack\n"); + system("cat $file>>boottrack"); +}
--- a/scripts/makeboot Thu Aug 11 02:15:35 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -# Makes 'bootlist' and 'bootfile' in the current directory -set md=$NITROS9DIR/6309l2/modules -set sd=$CLOUD9DIR/Products/SuperDrivers/software/6309l2 -set dd=$CLOUD9DIR/Products/DriveWire/software/6309l2 - -set tracklist_1773="$md/rel_80 $md/boot_1773_6ms $md/krn" -set tracklist_tc3="$md/rel_80 $sd/boot_tc3 $md/krn" -set tracklist_ide="$md/rel_80 $sd/boot_ide $md/krn" -set tracklist_dw="$md/rel_80 $dd/boot_dw $md/krn" - -# IDE Boot with IDE Master as /DD -set bootlist_ide="$md/krnp2 $md/ioman $md/init $md/rbf.mn $sd/rbsuper.dr $sd/llide.dr $sd/lltc3.dr $sd/dd_ide.dd $sd/i0_ide.dd $sd/i1_ide.dd $sd/ih_ide.dd $sd/s0_tc3.dd $sd/s1_tc3.dd $sd/s2_tc3.dd $sd/s3_tc3.dd $sd/s4_tc3.dd $sd/s5_tc3.dd $sd/s6_tc3.dd $sd/s7_tc3.dd $sd/sh_tc3.dd $dd/drivewire.dr $dd/x0.dd $dd/x1.dd $dd/x2.dd $dd/x3.dd $md/rb1773.dr $md/d0_80d.dd $md/d1_40d.dd $md/scf.mn $md/cc3io.dr $md/term_win80.dt $md/keydrv_cc3.sb $md/joydrv_joy.sb $md/snddrv_cc3.sb $md/grfint.io $md/w.dw $md/w1.dw $md/w2.dw $md/w3.dw $md/w4.dw $md/w5.dw $md/w6.dw $md/w7.dw $md/sc6551.dr $md/t2_sc6551.dd $md/t3_sc6551.dd $md/pipeman.mn $md/piper.dr $md/pipe.dd $md/clock_60hz $md/clock2_cloud9" - -# $(C9)/Products/SuperDrivers/software/6309l2/lldw.dr \ -# $(C9)/Products/SuperDrivers/software/6309l2/ddx0.dd \ -# $(C9)/Products/SuperDrivers/software/6309l2/x1.dd \ -# $(C9)/Products/SuperDrivers/software/6309l2/x2.dd \ -# $(C9)/Products/SuperDrivers/software/6309l2/x3.dd \ - - - -# Select our bootlist and tracklist -set bootlist="$bootlist_ide" -set tracklist="$tracklist_ide" - -# Create the files -if (-e bootfile) then - rm bootfile -endif -foreach file ($bootlist) - cat $file>>bootfile -end -if (-e boottrack) then - rm boottrack -endif -foreach file ($tracklist) - cat $file>>boottrack -end -