mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
This commit adds a default (ZSDOS) system image to all disk images that didn't already have a system image in their boot tracks. - Enables the disk label to be displayed by SLABEL and the Slices Inventory functions for all disk images. - Enables all disk images to have a basic boot mechanism allowing things like automatic batch processing to be added to any disk image. - Changed "ws4" disk image to "wp" to reflect the fact that the disk image has multiple word processing distribuitions (WordStar 4 in user area 0 and ZDE in user area 1).
26 lines
843 B
Makefile
26 lines
843 B
Makefile
DEST=../../Binary
|
|
|
|
HD1KIMGS = $(DEST)/hd1k_cpm22.img $(DEST)/hd1k_zsdos.img $(DEST)/hd1k_nzcom.img \
|
|
$(DEST)/hd1k_cpm3.img $(DEST)/hd1k_zpm3.img $(DEST)/hd1k_wp.img
|
|
|
|
ROMS := $(wildcard $(DEST)/SZ80_*.upd)
|
|
ROMS := $(patsubst $(DEST)/%.upd,%,$(ROMS))
|
|
|
|
OBJECTS := $(patsubst %,%_hd1k_prefix.dat,$(ROMS))
|
|
OBJECTS += $(patsubst %,%_hd1k_combo.img,$(ROMS))
|
|
|
|
TOOLS = ../../Tools
|
|
|
|
include $(TOOLS)/Makefile.inc
|
|
|
|
DIFFPATH = $(DIFFTO)/Binary
|
|
|
|
%_hd1k_prefix.dat: $(DEST)/%.upd
|
|
srec_cat -generate 0x0 0x100000 --constant 0x00 -o temp.dat -binary
|
|
srec_cat temp.dat -binary -exclude 0x1B8 0x200 sz80_ptbl.bin -binary -offset 0x1B8 -o temp.dat -binary
|
|
srec_cat temp.dat -binary -exclude 0x80000 0xA0000 $< -binary -offset 0x80000 -o temp.dat -binary
|
|
mv temp.dat $@
|
|
|
|
%_hd1k_combo.img: %_hd1k_prefix.dat $(HD1KIMGS)
|
|
cat $^ > $@
|