Mercurial > hg > Members > kono > nitros9-code
changeset 1876:38899e05f2f3
Streamlining how bundi works
author | boisy |
---|---|
date | Thu, 11 Aug 2005 17:26:24 +0000 |
parents | 298e596aa143 |
children | 898d3d6d5eef |
files | scripts/bootlistl2 scripts/bundi scripts/bundil1 scripts/dwbootl1 scripts/dwbootl2 scripts/idebootl1 scripts/idebootl2 scripts/tracklistl2 |
diffstat | 8 files changed, 224 insertions(+), 501 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/bootlistl2 Thu Aug 11 13:06:24 2005 +0000 +++ b/scripts/bootlistl2 Thu Aug 11 17:26:24 2005 +0000 @@ -1,39 +1,134 @@ -# NitrOS-9 Level 2 Bootlist +*************************************** +* NitrOS-9 Level 2 Bootlist +* +* $Id$ +* +* This bootlist is presented as an example for creating custom bootfiles. +* A module may be excluded from the bootfile if an asterisk (*) is the +* first character of the line. +* +*************************************** +* Kernel/System Section +* +* These modules are mandatory. $NITROS9DIR/$DISTRO/modules/krnp2 +*$NITROS9DIR/$DISTRO/modules/krnp3_perr +*$NITROS9DIR/$DISTRO/modules/krnp4_regdump $NITROS9DIR/$DISTRO/modules/ioman -$NITROS9DIR/$DISTRO/modules/init +$NITROS9DIR/$DISTRO/moduleS/init +* +*************************************** +* RBF Section +* $NITROS9DIR/$DISTRO/modules/rbf.mn -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/rbsuper.dr -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/llide.dr -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/lltc3.dr -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/dd_ide.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/i0_ide.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/i1_ide.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/ih_ide.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s0_tc3.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s1_tc3.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s2_tc3.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s3_tc3.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s4_tc3.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s5_tc3.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s6_tc3.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s7_tc3.dd -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/sh_tc3.dd -$CLOUD9DIR/Products/DriveWire/software/$DISTRO/drivewire.dr -$CLOUD9DIR/Products/DriveWire/software/$DISTRO/x0.dd -$CLOUD9DIR/Products/DriveWire/software/$DISTRO/x1.dd -$CLOUD9DIR/Products/DriveWire/software/$DISTRO/x2.dd -$CLOUD9DIR/Products/DriveWire/software/$DISTRO/x3.dd +* +* DriveWire driver (Cloud-9 product) +*$NITROS9DIR/$DISTRO/modules/drivewire.dr +* DriveWire descriptors - select as needed +*$CLOUD9DIR/Products/DriveWire/software/$DISTRO/ddx0.dd +*$CLOUD9DIR/Products/DriveWire/software/$DISTRO/x0.dd +*$CLOUD9DIR/Products/DriveWire/software/$DISTRO/x1.dd +*$CLOUD9DIR/Products/DriveWire/software/$DISTRO/x2.dd +*$CLOUD9DIR/Products/DriveWire/software/$DISTRO/x3.dd +* +* SuperDriver Package (Cloud-9 product) +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/rbsuper.dr +* Select Low level SCSI and/or IDE driver +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/lltc3.dr +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/llide.dr +* SuperDriver descriptors - select as needed +* SCSI descriptors (IDs 0-7) +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s0_tc3.dd +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s1_tc3.dd +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s2_tc3.dd +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s3_tc3.dd +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s4_tc3.dd +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s5_tc3.dd +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s6_tc3.dd +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/s7_tc3.dd +* SCSI HDB-DOS descriptor +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/sh_ide.dd +* IDE descriptors (master/slave) +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/i0_ide.dd +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/i1_ide.dd +* IDE HDB-DOS descriptor +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/ih_ide.dd +* +* WD1773 floppy support for Tandy and compatible disk controllers $NITROS9DIR/$DISTRO/modules/rb1773.dr -$NITROS9DIR/$DISTRO/modules/d0_80d.dd +* WD1773 floppy support for Disto Super Controller II +*$NITROS9DIR/$DISTRO/modules/rb1773_scii_ff74.dr +*$NITROS9DIR/$DISTRO/modules/rb1773_scii_ff58.dr +* Floppy device descriptors +* DD - default device - choose one if needed +*$NITROS9DIR/$DISTRO/modules/ddd0_35s.dd +$NITROS9DIR/$DISTRO/modules/ddd0_40d.dd +*../MODULES/RBF/ddd0_80d.dd +* D0 - drive 0 - choose one if needed +*$NITROS9DIR/$DISTRO/modules/d0_35s.dd +$NITROS9DIR/$DISTRO/modules/d0_40d.dd +*$NITROS9DIR/$DISTRO/modules/d0_80d.dd +* D1 - drive 1 - choose one if needed +*$NITROS9DIR/$DISTRO/modules/d1_35s.dd $NITROS9DIR/$DISTRO/modules/d1_40d.dd +*$NITROS9DIR/$DISTRO/modules/d1_80d.dd +* D2 - drive 2 - choose one if needed +*$NITROS9DIR/$DISTRO/modules/d2_35s.dd +$NITROS9DIR/$DISTRO/modules/d2_40d.dd +*$NITROS9DIR/$DISTRO/modules/d2_80d.dd +* D3 - drive 3 - choose if needed +*$NITROS9DIR/$DISTRO/modules/d3_35s.dd +* +* RAMDisk driver +*$NITROS9DIR/$DISTRO/modules/rammer.dr +* RAMDisk descriptors - select as needed +*$NITROS9DIR/$DISTRO/modules/ddr0_8k.dd +*$NITROS9DIR/$DISTRO/modules/ddr0_96k.dd +*$NITROS9DIR/$DISTRO/modules/ddr0_128k.dd +*$NITROS9DIR/$DISTRO/modules/ddr0_192k.dd +*$NITROS9DIR/$DISTRO/modules/r0_8k.dd +*$NITROS9DIR/$DISTRO/modules/r0_96k.dd +*$NITROS9DIR/$DISTRO/modules/r0_128k.dd +*$NITROS9DIR/$DISTRO/modules/r0_192k.dd +* Memory device descriptor +*$NITROS9DIR/$DISTRO/modules/md.dd +*************************************** +* SCF Section +* $NITROS9DIR/$DISTRO/modules/scf.mn +* +* CoCo 3 I/O driver +* Joystick modules: choose Joystick OR +* (M)icrosoft or (L)ogitech mouse using 6551 or 6552 ACIA $NITROS9DIR/$DISTRO/modules/cc3io.dr +$NITROS9DIR/$DISTRO/modules/keydrv_cc3.sb +$NITROS9DIR/$DISTRO/modules/snddrv_cc3.sb +$NITROS9DIR/$DISTRO/modules/joydrv_joy.sb +*$NITROS9DIR/$DISTRO/modules/joydrv_6551M.sb +*$NITROS9DIR/$DISTRO/modules/joydrv_6552M.sb +*$NITROS9DIR/$DISTRO/modules/joydrv_6551L.sb +*$NITROS9DIR/$DISTRO/modules/joydrv_6552L.sb +* +* GrfInt/WindInt subroutine module +* Use WindInt with Multi-Vue; use GrfInt +* for basic text and graphic window support.. +* Select only one. +*$NITROS9DIR/$DISTRO/modules/grfint.io +$NITROS9DIR/$DISTRO/modules/windint.io +* +* VDGInt I/O subroutine module +* Select one or both +*$NITROS9DIR/$DISTRO/modules/vdgint.io +*$NITROS9DIR/$DISTRO/modules/vdgint_small.io +* +* Select only one term descriptor +*$NITROS9DIR/$DISTRO/modules/term_vdg.dt +*$NITROS9DIR/$DISTRO/modules/term_win40.dt $NITROS9DIR/$DISTRO/modules/term_win80.dt -$NITROS9DIR/$DISTRO/modules/keydrv_cc3.sb -$NITROS9DIR/$DISTRO/modules/joydrv_joy.sb -$NITROS9DIR/$DISTRO/modules/snddrv_cc3.sb -$NITROS9DIR/$DISTRO/modules/grfint.io +*$NITROS9DIR/$DISTRO/modules/term_sio.dt +*$NITROS9DIR/$DISTRO/modules/term_sc6551.dt +* +* Select as many window descriptors as needed $NITROS9DIR/$DISTRO/modules/w.dw $NITROS9DIR/$DISTRO/modules/w1.dw $NITROS9DIR/$DISTRO/modules/w2.dw @@ -42,12 +137,79 @@ $NITROS9DIR/$DISTRO/modules/w5.dw $NITROS9DIR/$DISTRO/modules/w6.dw $NITROS9DIR/$DISTRO/modules/w7.dw -$NITROS9DIR/$DISTRO/modules/sc6551.dr -$NITROS9DIR/$DISTRO/modules/t2_sc6551.dd -$NITROS9DIR/$DISTRO/modules/t3_sc6551.dd +* +* Select as many VDG window descriptors as needed +*$NITROS9DIR/$DISTRO/modules/v1.dw +*$NITROS9DIR/$DISTRO/modules/v2.dw +*$NITROS9DIR/$DISTRO/modules/v3.dw +*$NITROS9DIR/$DISTRO/modules/v4.dw +*$NITROS9DIR/$DISTRO/modules/v5.dw +*$NITROS9DIR/$DISTRO/modules/v6.dw +*$NITROS9DIR/$DISTRO/modules/v7.dw +* +* Serial port drivers +* Built-In RS-232 port +*$NITROS9DIR/$DISTRO/modules/sio.dr +*$NITROS9DIR/$DISTRO/modules/t1.dd +* 6551 ACIA +*$NITROS9DIR/$DISTRO/modules/sc6551.dr +*$NITROS9DIR/$DISTRO/modules/t2_sc6551.dd +*$NITROS9DIR/$DISTRO/modules/t3_sc6551.dd +* Tandy Modem Pak +*$NITROS9DIR/$DISTRO/modules/modpak.dr +*$NITROS9DIR/$DISTRO/modules/m1.dd +*$NITROS9DIR/$DISTRO/modules/m2.dd +* +* Printer drivers +*$NITROS9DIR/$DISTRO/modules/printer.dr +*$NITROS9DIR/$DISTRO/modules/p.dd +* +* VRN is a driver module used by certain games, including King's Quest III, +* Leisure Suit Larry and Flight Simulator II. A /nil descriptor is also +* supported. +$NITROS9DIR/$DISTRO/modules/vrn.dr +$NITROS9DIR/$DISTRO/modules/vi.dd +$NITROS9DIR/$DISTRO/modules/ftdd.dd +* +*************************************** +* Pipe Section +* +* Pipes are a useful but optional part of a system. $NITROS9DIR/$DISTRO/modules/pipeman.mn $NITROS9DIR/$DISTRO/modules/piper.dr $NITROS9DIR/$DISTRO/modules/pipe.dd +* +*************************************** +* Clock Section +* +* Select one clock module depending upon your power line frequency +* (60Hz = USA/Canada; 50Hz = Europe, Australia) $NITROS9DIR/$DISTRO/modules/clock_60hz -$NITROS9DIR/$DISTRO/modules/clock2_cloud9 -#tom +*$NITROS9DIR/$DISTRO/modules/clock_50hz +* Select one clock2 module that supports your real-time clock, if any. +* Besides support for the internal software clock, the following +* hardware clocks are supported: Burke & Burke, Disto 2-N-1, Disto 4-N-1, +* Eliminator, Harris, SmartWatch, Cloud-9, the MESS emulator, Jeff +* Vavasour's CoCo emulator, and DriveWire. +$NITROS9DIR/$DISTRO/modules/clock2_soft +*$NITROS9DIR/$DISTRO/modules/clock2_bnb +*$NITROS9DIR/$DISTRO/modules/clock2_disto2 +*$NITROS9DIR/$DISTRO/modules/clock2_disto4 +*$NITROS9DIR/$DISTRO/modules/clock2_elim +*$NITROS9DIR/$DISTRO/modules/clock2_harris +*$NITROS9DIR/$DISTRO/modules/clock2_smart +*$NITROS9DIR/$DISTRO/modules/clock2_jvemu +*$NITROS9DIR/$DISTRO/modules/clock2_messemu +*$NITROS9DIR/$DISTRO/modules/clock2_cloud9 +*$NITROS9DIR/$DISTRO/modules/clock2_dw +* +*************************************** +* System Kick-Start Module +* +* Choose which startup module you wish to use. (sysgo_dd is recommended +* for most configurations.) +* +* Alternatively, this module can reside in the root directory of the +* boot device, saving precious system RAM. +$NITROS9DIR/$DISTRO/modules/sysgo_dd +*$NITROS9DIR/$DISTRO/modules/sysgo_h0
--- a/scripts/bundi Thu Aug 11 13:06:24 2005 +0000 +++ b/scripts/bundi Thu Aug 11 17:26:24 2005 +0000 @@ -74,7 +74,7 @@ close(FILE); foreach $element (@bootarray) { - if ($element =~ /^#/) + if (($element =~ /^#/) || ($element =~ /^\*/)) { $element = ""; } @@ -85,8 +85,6 @@ } } - - $bls = "@bootarray"; system("cat $bls>bootfile"); @@ -96,7 +94,7 @@ close(FILE); foreach $element (@trackarray) { - if ($element =~ /^#/) + if (($element =~ /^#/) || ($element =~ /^\*/)) { $element = ""; }
--- a/scripts/bundil1 Thu Aug 11 13:06:24 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ -#!/bin/tcsh -# -# BUNDI - Build the Ultimate NitrOS-9 Disk Image -# -# This script builds the ULTIMATE NitrOS-9/6309 Level 2 disk image -# complete with HDB-DOS drives! -# -# The resulting image has a NitrOS-9 partition and an HDB-DOS partition. -# The first drive of the HDB-DOS partition is the HDB-DOS distribution -# diskette. The last drive is the NitrOS-9 boot disk. -# -# Size of image is 90,624 256-byte sectors, which fits in -# $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 -# ATTENTION! Set the number of HDB-DOS virtual disks (must be in decimal) -set num_hdbdos_disks=128 -set ver=6809l1 - -# Check for argument -if ($2 == "") then - echo "Usage: bundi <bootscript> <diskname>" - exit -endif - -set diskname=$2 -set multiplier=2 -@ os9_sectors = $hdbdos_offset * $multiplier -echo $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 - -echo "Step 2 - Making the HDB-DOS Product..." -(pushd $CLOUD9DIR/Products/HDB-DOS/Software; make dsk; popd)>&/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 dsave -e $NITROS9DIR/$ver/nos96809l1_80d.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 format -qe -ss -dd boot.dsk -os9 gen -b=bootfile -t=boottrack boot.dsk>&/dev/null -rm bootfile boottrack - -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 - -echo "Step 3 - Put it all together" -rm $diskname -cat tmp.dsk hdbdrives.dsk>$diskname -rm tmp.dsk hdbdrives.dsk - -echo "Ok, we're done! The file $diskname is now a fresh disk image."
--- a/scripts/dwbootl1 Thu Aug 11 13:06:24 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ -#!/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_dw=( - "$md/rel", - "$md/krn", - "$md/krnp2", - "$md/init", - "$dd/boot_dw"); - -# IDE Boot with IDE Master as /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 -@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/dwbootl2 Thu Aug 11 13:06:24 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,95 +0,0 @@ -#!/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/idebootl1 Thu Aug 11 13:06:24 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -#!/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"); -}
--- a/scripts/idebootl2 Thu Aug 11 13:06:24 2005 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,125 +0,0 @@ -#!/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/tracklistl2 Thu Aug 11 13:06:24 2005 +0000 +++ b/scripts/tracklistl2 Thu Aug 11 17:26:24 2005 +0000 @@ -1,4 +1,28 @@ -# Boot track list for NitrOS-9 Level 2 -$NITROS9DIR/$DISTRO/modules/rel_80 -$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/boot_ide +* Boot track list for NitrOS-9 Level 2 +* +* REL module - ONLY ONE MUST BE SELECTED! +* +*$NITROS9DIR/$DISTRO/modules/rel_32 +*$NITROS9DIR/$DISTRO/modules/rel_40 +*$NITROS9DIR/$DISTRO/modules/rel_80 +* +* Booters - ONLY ONE MUST BE SELECTED! +* +* NitrOS-9 Standard Booters +*$NITROS9DIR/$DISTRO/modules/boot_1773_30ms +$NITROS9DIR/$DISTRO/modules/boot_1773_6ms +*$NITROS9DIR/$DISTRO/modules/boot_burke +*$NITROS9DIR/$DISTRO/modules/boot_rampak +*$NITROS9DIR/$DISTRO/modules/boot_wd1002 +* SuperDriver Booters +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/boot_d4n1 +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/boot_hdii +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/boot_ide +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/boot_ktlr +*$CLOUD9DIR/Products/SuperDrivers/software/$DISTRO/boot_tc3 +* DriveWire Booters +*$CLOUD9DIR/Products/DriveWire/software/$DISTRO/boot_dw +* +* The NitrOS-9 Kernel - THIS MUST BE SELECTED! +* $NITROS9DIR/$DISTRO/modules/krn