Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/scripts/mb.floppy @ 3267:024ad1d926fd
Get gfx2 to build from cmds folders
Now that gfx2.asm needs to include coco3vtio.d the latter needs to be
built first and be accessed from the port-specific defs folder.
OTOH the one built in 3rd-party/packages/basic09 is built only later
during a full build.
(All the different defs folders and .d files still puzzle me.)
Also updated coco3fpga/defs/makefile to be based on the coco3 one.
The mc09l2 port doesn't need gfx and gfx2.
Note for later:
This whole build of basic09 components from the 3rdparty folder
during the ports builds is not very nice. At a minimum we should
try to limit the extra --includedir to the few commands needing it.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Wed, 17 Jul 2019 01:14:55 +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 |