view level3/coco3/scripts/mbL3.floppy @ 3109:118cd9951d24

Small fixups in level 3 boot script And add it and the boot list to the coco3 build.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 28 Feb 2016 22:48:32 +0100
parents
children
line wrap: on
line source

-t
-x
tmode .1 pau=0
echo * NitrOS-9 Level 3 Boot Creation Script
echo *
echo * This script creates a bootable Level 3 floppy disk
echo * The resulting disk will boot NitrOS-9 Level 3 from the drive selected next
echo *
echo "Please enter the target disk (e.g. /d0, /d1"
var.1
dmode %1 sid=1 cyl=23
prompt Is the right disk in %1? Press a key
echo *
echo * Step 1: Format the disk in %1
format %1 "NitrOS9 Level 3 Boot" R
echo *
echo * Step 2: Create a custom boot track
touch bttemp
del bttemp
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 %1 -t=bttemp <../bootlists/standardL3.bl
vfy bttemp
ident -s %1/os9boot
echo *
echo * Step 4: Populate the disk with essential files
copy ../modules/sysmods/sysgo_dd %1/sysgo
makdir %1/CMDS
copy -w=%1/CMDS ../CMDS/shell ../CMDS/grfdrv
echo Adding an errmsg file on the floppy for krnp3 to use
makdir %1/SYS
copy /dd/sys/errmsg %1/SYS/errmsg
echo *
echo * All done