annotate level2/coco3_6309/scripts/mb @ 1503:3ebc72b98834

new script
author boisy
date Tue, 13 Jan 2004 21:43:24 +0000
parents
children d3a421a9f13f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1503
3ebc72b98834 new script
boisy
parents:
diff changeset
1 -t
3ebc72b98834 new script
boisy
parents:
diff changeset
2 -x
3ebc72b98834 new script
boisy
parents:
diff changeset
3 echo * NitrOS-9 Level 2 Boot Creation Script
3ebc72b98834 new script
boisy
parents:
diff changeset
4 echo *
3ebc72b98834 new script
boisy
parents:
diff changeset
5 echo * This script creates a bootable floppy disk.
3ebc72b98834 new script
boisy
parents:
diff changeset
6 echo * It assumes two floppy drives.
3ebc72b98834 new script
boisy
parents:
diff changeset
7 echo *
3ebc72b98834 new script
boisy
parents:
diff changeset
8 echo * The resulting disk will boot NitrOS-9 from drive 0.
3ebc72b98834 new script
boisy
parents:
diff changeset
9 echo *
3ebc72b98834 new script
boisy
parents:
diff changeset
10 echo "Please type the destination device (e.g. /d0, d1)"
3ebc72b98834 new script
boisy
parents:
diff changeset
11 var.1
3ebc72b98834 new script
boisy
parents:
diff changeset
12 prompt Insert a blank disk in %1 and press a key:
3ebc72b98834 new script
boisy
parents:
diff changeset
13 echo *
3ebc72b98834 new script
boisy
parents:
diff changeset
14 echo * Step 1: Format disk in %1
3ebc72b98834 new script
boisy
parents:
diff changeset
15 format %1 "NitrOS-9 Level 2 Boot Disk" r
3ebc72b98834 new script
boisy
parents:
diff changeset
16 echo *
3ebc72b98834 new script
boisy
parents:
diff changeset
17 echo * Step 2: Create a custom boot track
3ebc72b98834 new script
boisy
parents:
diff changeset
18 del bttemp
3ebc72b98834 new script
boisy
parents:
diff changeset
19 merge ../MODULES/BOOTTRACK/rel_32 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/kernel>bttemp
3ebc72b98834 new script
boisy
parents:
diff changeset
20 echo *
3ebc72b98834 new script
boisy
parents:
diff changeset
21 echo * Step 3: Create the bootfile and boot track
3ebc72b98834 new script
boisy
parents:
diff changeset
22 os9gen #32k %1 -t=bttemp<../BOOTLISTS/standard.bl
3ebc72b98834 new script
boisy
parents:
diff changeset
23 del bttemp
3ebc72b98834 new script
boisy
parents:
diff changeset
24 echo *
3ebc72b98834 new script
boisy
parents:
diff changeset
25 echo * Step 4: Populate the disk with essential files
3ebc72b98834 new script
boisy
parents:
diff changeset
26 copy ../MODULES/SYSMODS/sysgo_dd %1/sysgo
3ebc72b98834 new script
boisy
parents:
diff changeset
27 makdir %1/CMDS
3ebc72b98834 new script
boisy
parents:
diff changeset
28 copy -w=%1/CMDS ../CMDS/shell ../CMDS/grfdrv
3ebc72b98834 new script
boisy
parents:
diff changeset
29 echo *
3ebc72b98834 new script
boisy
parents:
diff changeset
30 echo * We're done