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.
This commit is contained in:
Wayne Warthen
2024-11-07 18:47:06 -08:00
parent 68d88be975
commit e97c0d7288
4 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

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

View File

@@ -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)