Browse Source

Dump ROM Disk Image Directories

- Print a catalog of the ROM disk images during the build process to make it easier too verify and determine how full they are.
master
Wayne Warthen 1 year ago
parent
commit
e97c0d7288
  1. 3
      Source/RomDsk/Build.cmd
  2. 1
      Source/RomDsk/Clean.cmd
  3. 3
      Source/RomDsk/Makefile
  4. 0
      Source/RomDsk/ROM_896KB/UNARCU10.CFG

3
Source/RomDsk/Build.cmd

@ -68,4 +68,7 @@ cpmcp -f %DiskDef% %Output%.dat ..\zsdos\zsys_%Bios%.sys 0:zsys.sys || exit /b
:: Mark all disk files R/O for safety
cpmchattr -f %DiskDef% %Output%.dat r 0:*.* || exit /b
:: Dump directory for reference
cpmls -f %DiskDef% -D %Output%.dat >%Output%.cat
goto :eof

1
Source/RomDsk/Clean.cmd

@ -2,3 +2,4 @@
setlocal
if exist *.dat del *.dat
if exist *.cat del *.cat

3
Source/RomDsk/Makefile

@ -1,5 +1,5 @@
OBJECTS = rom0_wbw.dat rom0_una.dat rom128_wbw.dat rom128_una.dat rom256_wbw.dat rom256_una.dat rom384_wbw.dat rom384_una.dat rom896_wbw.dat rom896_una.dat
OTHERS=*.dat
OTHERS=*.dat *.cat
TOOLS = ../../Tools
include $(TOOLS)/Makefile.inc
@ -41,3 +41,4 @@ rom0_%.dat:
$(CPMCP) -f $(DISKDEF) $@ ../CPM22/cpm_$(BIOS).sys 0:cpm.sys
$(CPMCP) -f $(DISKDEF) $@ ../ZSDOS/zsys_$(BIOS).sys 0:zsys.sys
$(CPMCHATTR) -f $(DISKDEF) $@ r 0:*.*
$(CPMLS) -f $(DISKDEF) -D $@ > $(@:.dat=.cat)

0
Source/RomDsk/ROM_896KB/UNUARCU10.CFG → Source/RomDsk/ROM_896KB/UNARCU10.CFG

Loading…
Cancel
Save