Mercurial > hg > Members > kono > nitros9-code
comparison level1/d64/scripts/mb.ddisk @ 3277:33d539c123cf
d64: Add mb.ddisk script for making Dragon boot floppy
At least it works in XRoar when running off a 80d floppy
and preparing a new 40d boot floppy in the second drive.
The "format" must be run manually for now since there is
not enough memory to run it from inside the script...
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 07 Mar 2020 23:15:05 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3276:524cf44d557d | 3277:33d539c123cf |
---|---|
1 -t | |
2 -x | |
3 tmode .1 pau=0 | |
4 echo * NitrOS-9 Level 1 Boot Creation Script | |
5 echo * | |
6 echo * This script creates a bootable floppy disk | |
7 echo * using the ddisk_40d.bl bootlist file. | |
8 echo * | |
9 echo * The resulting disk will boot NitrOS-9 from drive 0. | |
10 echo * | |
11 *prompt Insert a blank disk in /d1 and press a key: | |
12 echo * Step 1: | |
13 echo Insert a Dragon formatted disk in /d1 | |
14 prompt (formatted using options fd 2 '40) and press a key: | |
15 *echo * | |
16 *echo * Step 1: Format disk in /d1 | |
17 *format /d1 "NitrOS-9 Level 1 Boot Disk" r fd 2 '40 | |
18 echo * | |
19 echo * Step 2: Create a custom boot track | |
20 *del bttemp | |
21 merge ../MODULES/BOOTTRACK/rel ../MODULES/KERNEL/krn ../MODULES/KERNEL/krnp2 ../MODULES/SYSMODS/init ../MODULES/BOOTTRACK/boot_d64>bttemp | |
22 echo * | |
23 echo * Step 3: Create the bootfile and boot track | |
24 os9gen /d1 -t=bttemp<../BOOTLISTS/ddisk_40d.bl | |
25 del bttemp | |
26 echo * | |
27 echo * Step 4: Populate the disk with essential files | |
28 copy ../MODULES/SYSMODS/sysgo_dd /d1/sysgo | |
29 makdir /d1/CMDS | |
30 copy -w=/d1/CMDS ../CMDS/shell | |
31 echo * | |
32 echo * We're done |