Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/scripts/mb.floppy @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | dc01b8d40ee0 |
children |
rev | line source |
---|---|
2187
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
1 -t |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
2 -x |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
3 tmode .1 pau=0 |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
4 echo * NitrOS-9 Level 2 Boot Creation Script |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
5 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
6 echo * This script creates a bootable floppy disk |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
7 echo * using the standard.bl bootlist file. |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
8 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
9 echo * The resulting disk will boot NitrOS-9 from drive 0. |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
10 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
11 echo "Please type the destination device (e.g. /d0, /d1)" |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
12 var.1 |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
13 prompt Insert a blank disk in %1 and press a key: |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
14 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
15 echo * Step 1: Format disk in %1 |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
16 format %1 "NitrOS-9 Level 2 Boot Disk" r |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
17 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
18 echo * Step 2: Create a custom boot track |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
19 merge ../MODULES/BOOTTRACK/rel_80 ../MODULES/BOOTTRACK/boot_1773_6ms ../MODULES/BOOTTRACK/krn>-bttemp |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
20 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
21 echo * Step 3: Create the bootfile and boot track |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
22 os9gen %1 -t=bttemp<../BOOTLISTS/standard.bl |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
23 del bttemp |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
24 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
25 echo * Step 4: Populate the disk with essential files |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
26 copy ../MODULES/SYSMODS/sysgo_dd %1/sysgo |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
27 makdir %1/CMDS |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
28 copy -w=%1/CMDS ../CMDS/shell ../CMDS/grfdrv |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
29 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
30 echo * We're done |