annotate level2/coco3/scripts/mb.dw @ 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 229d216a4c11
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3079
229d216a4c11 level2/6309 bootfile script: Fix typo in options
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
7 echo * using the dw.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
f7e2fbabc999 Fixed prompts in scripts
boisy
parents: 2187
diff changeset
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