Mercurial > hg > Members > kono > nitros9-code
changeset 2956:34edacfd1142
bootroms: Add ROM kernel image for booting from floppy
The kernel is sitting in ROM but includes the boot_1773_6ms
module for loading the bootfile from a floppy.
For bootstrapping NitrOS-9 using the normal floppy disks (images),
without any disk BASIC installed. Can be useful for emulator
bundling and NitrOS-9 purists.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 08 Feb 2014 02:12:11 +0100 |
parents | a0b770fab355 |
children | 62445183dc96 |
files | level1/coco1/bootroms/makefile |
diffstat | 1 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/coco1/bootroms/makefile Sun Feb 09 21:44:25 2014 +0100 +++ b/level1/coco1/bootroms/makefile Sat Feb 08 02:12:11 2014 +0100 @@ -8,6 +8,8 @@ KERNEL_ROM = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init $(MD)/boot_rom +KERNEL_ROM_1773 = $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init $(MD)/boot_1773_6ms + BOOTFILE_ROM = $(MD)/rominfo $(MD)/ioman \ $(MD)/scf.mn $(MD)/vtio.dr \ $(MD)/covdg.io \ @@ -16,6 +18,8 @@ $(CMDS)/shell_21 \ $(MD)/clock_60hz $(MD)/clock2_soft +BOOTFILE_ROM_1773 = $(MD)/rominfo + BOOTFILE_ROMPAK = $(MD)/rominfo_pak $(MD)/ioman \ $(MD)/scf.mn $(MD)/vtio.dr \ $(MD)/covdg.io \ @@ -24,7 +28,7 @@ $(CMDS)/shell_21 \ $(MD)/clock_60hz $(MD)/clock2_soft -BOOTROMS = nos96809l1.rom nos96809l1.rompak +BOOTROMS = nos96809l1.rom nos96809l1.rompak nos96809l1_1773.rom KERNELS = kernel_rom ALLROMS = $(BOOTROMS) @@ -32,6 +36,16 @@ all: $(ALLROMS) # Bootfiles +# Kernel file in ROM (no BASIC needed), but boot file on floppy +nos96809l1_1773.rom: $(BOOTFILE_ROM_1773) $(KERNEL_ROM_1773) $(DEPENDS) + $(MERGE) $(BOOTFILE_ROM_1773)>$@.tmp + $(PADROM) 11776 $@.tmp + $(MERGE) $(KERNEL_ROM_1773)>kernel_rom + $(PADROM) 4592 kernel_rom + $(MERGE) $@.tmp kernel_rom>$@.tmp2 + $(MERGE) $@.tmp2 $(MD)/vectors>$@ + $(RM) $@.tmp $@.tmp2 + nos96809l1.rom: $(BOOTFILE_ROM) $(KERNEL_ROM) $(DEPENDS) $(MERGE) $(BOOTFILE_ROM)>$@.tmp $(PADROM) 11776 $@.tmp