Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/scripts/mb.dw @ 3076:d28d94edee79
Found SDFLAGS from level1/coco1/modules/makefile was missing. Added line.
author | David Ladd <drencor-xeen@users.sf.net> |
---|---|
date | Mon, 23 Feb 2015 15:00:06 -0600 |
parents | 28ed72477814 |
children | 229d216a4c11 |
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 DriveWire 3 disk image |
2724
05b648103e78
Renamed dw3.sb to dwio.sb and rbdw3 to rbdw
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2197
diff
changeset
|
7 echo * using the .bl bootlist file. |
2187
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 DriveWire disk 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. /x0, /x1)" |
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 |
2197 | 17 ynn |
2187
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
18 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
19 echo * Step 2: Create a custom boot track |
2872
dbc6d0647ac4
Rename various dw3 files to dw
Tormod Volden <debian.tormod@gmail.com>
parents:
2197
diff
changeset
|
20 merge ../MODULES/BOOTTRACK/rel_80 ../MODULES/BOOTTRACK/boot_dw ../MODULES/BOOTTRACK/krn>-bttemp |
2187
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
21 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
22 echo * Step 3: Create the bootfile and boot track |
2872
dbc6d0647ac4
Rename various dw3 files to dw
Tormod Volden <debian.tormod@gmail.com>
parents:
2197
diff
changeset
|
23 os9gen %1 -t=bttemp<../BOOTLISTS/dw.bl |
2187
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
24 del bttemp |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
25 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
26 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
|
27 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
|
28 makdir %1/CMDS |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
29 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
|
30 echo * |
dc01b8d40ee0
created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
boisy
parents:
diff
changeset
|
31 echo * We're done |