mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
ZZRCC Disk Image Enhancements
Bill has provided an improved mechanism to allow ZZRCC to boot directly from CF Card. This work has been incorporated directly into the diskimage creation process for the ZZRCC disk image.
This commit is contained in:
@@ -3,8 +3,10 @@ setlocal
|
||||
|
||||
if not exist ..\..\Binary\RCZ280_nat_zzr.rom goto :eof
|
||||
|
||||
..\..\Tools\srecord\srec_cat.exe ..\..\Binary\RCZ280_nat_zzr.rom -Binary -Exclude 0x5000 0x7000 -Output ..\..\Binary\RCZ280_nat_zzr.hex -Intel
|
||||
..\..\Tools\srecord\srec_cat.exe ..\..\Binary\RCZ280_nat_zzr.rom -Binary -Exclude 0x5000 0x7000 zzr_romldr.hex -Intel -Output ..\..\Binary\RCZ280_nat_zzr.hex -Intel
|
||||
|
||||
copy /b zzr_cfldr.bin + zzr_ptbl.bin + zzr_fill_1.bin + zzr_mon.bin + zzr_fill_2.bin + ..\..\Binary\RCZ280_nat_zzr.rom + zzr_fill_3.bin ..\..\Binary\hd1024_zzr_prefix.dat
|
||||
..\..\Tools\srecord\srec_cat.exe ..\..\Binary\RCZ280_nat_zzr.hex -Intel -Output ..\..\Binary\RCZ280_nat_zzr_ldr.rom -Binary
|
||||
|
||||
copy /b zzr_cfldr.bin + zzr_ptbl.bin + zzr_fill_1.bin + zzr_mon.bin + zzr_fill_2.bin + ..\..\Binary\RCZ280_nat_zzr_ldr.rom + zzr_fill_3.bin ..\..\Binary\hd1024_zzr_prefix.dat
|
||||
|
||||
copy /b ..\..\Binary\hd1024_zzr_prefix.dat + ..\..\Binary\hd1024_cpm22.img + ..\..\Binary\hd1024_zsdos.img + ..\..\Binary\hd1024_nzcom.img + ..\..\Binary\hd1024_cpm3.img + ..\..\Binary\hd1024_zpm3.img + ..\..\Binary\hd1024_ws4.img ..\..\Binary\hd1024_zzr_combo.img
|
||||
@@ -1,6 +1,7 @@
|
||||
HD1024ZZRPREFIX = hd1024_zzr_prefix.dat
|
||||
HD1024ZZZROMBOIMG = hd1024_zzr_combo.img
|
||||
ZZRROM = ../../Binary/RCZ280_nat_zzr.rom
|
||||
ZZRLDRROM = RCZ280_nat_zzr_ldr.rom
|
||||
ZZRROMHEX = RCZ280_nat_zzr.hex
|
||||
HD1024IMGS = ../../Binary/hd1024_cpm22.img ../../Binary/hd1024_zsdos.img ../../Binary/hd1024_nzcom.img \
|
||||
../../Binary/hd1024_cpm3.img ../../Binary/hd1024_zpm3.img ../../Binary/hd1024_ws4.img
|
||||
@@ -10,7 +11,7 @@ OBJECTS :=
|
||||
|
||||
|
||||
ifneq ($(wildcard $(ZZRROM)),)
|
||||
OBJECTS += $(HD1024ZZRPREFIX) $(HD1024ZZZROMBOIMG) $(ZZRROMHEX)
|
||||
OBJECTS += $(ZZRROMHEX) $(ZZRLDRROM) $(HD1024ZZRPREFIX) $(HD1024ZZZROMBOIMG)
|
||||
endif
|
||||
|
||||
DEST=../../Binary
|
||||
@@ -22,10 +23,13 @@ include $(TOOLS)/Makefile.inc
|
||||
DIFFPATH = $(DIFFTO)/Binary
|
||||
|
||||
$(HD1024ZZRPREFIX):
|
||||
cat zzr_cfldr.bin zzr_ptbl.bin zzr_fill_1.bin zzr_mon.bin zzr_fill_2.bin $(ZZRROM) zzr_fill_3.bin >$@
|
||||
cat zzr_cfldr.bin zzr_ptbl.bin zzr_fill_1.bin zzr_mon.bin zzr_fill_2.bin $(ZZRLDRROM) zzr_fill_3.bin >$@
|
||||
|
||||
$(HD1024ZZZROMBOIMG): $(HD1024ZZRPREFIX) $(HD1024IMGS)
|
||||
cat $^ > $@
|
||||
|
||||
$(ZZRROMHEX): $(ZZRROM)
|
||||
srec_cat $(ZZRROM) -Binary -Exclude 0x5000 0x7000 -Output $(ZZRROMHEX) -Intel
|
||||
srec_cat $(ZZRROM) -Binary -Exclude 0x5000 0x7000 zzr_romldr.hex -Intel -Output $(ZZRROMHEX) -Intel
|
||||
|
||||
$(ZZRLDRROM): $(ZZRROMHEX)
|
||||
srec_cat $(ZZRROMHEX) -Intel -Output $(ZZRLDRROM) -Binary
|
||||
|
||||
@@ -9,6 +9,8 @@ Start Length Sector Count Description
|
||||
0x64000 0x9C000 0x320 0x4E0 Filler
|
||||
0x100000 0x800 Slices
|
||||
|
||||
Must insert zzr_romldr.bin at 0x5000-x5FFF of ROM image. This is also 0x29000-0x29FFF of CF image.
|
||||
|
||||
Notes
|
||||
-----
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user