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