Minimal Doc of Revised Disk Image Creation Process

This commit is contained in:
Wayne Warthen
2025-07-18 14:35:25 -07:00
parent 8a5f9eed2d
commit c5da5b60a8
4 changed files with 69 additions and 324 deletions

View File

@@ -1,3 +1,6 @@
:: This script will build all slice images and all aggregate disk
:: images.
@echo off
setlocal
@@ -5,17 +8,27 @@ SETLOCAL EnableDelayedExpansion
copy hd1k_prefix.dat ..\..\Binary\ || exit /b
:: For each floppy disk image definition (fd_*.txt), invoke PowerShell
:: to build the image.
for %%f in (fd_*.txt) do (
set Image=%%~nf
PowerShell -ExecutionPolicy Unrestricted .\BuildImg.ps1 fd144_!Image:fd_=! || exit /b
)
:: For each hard disk slice image definition (hd_*.txt), invoke
:: PowerShell to build the slice image. Note that both hd512 and
:: hd1k style images are built.
for %%f in (hd_*.txt) do (
set Image=%%~nf
PowerShell -ExecutionPolicy Unrestricted .\BuildImg.ps1 hd512_!Image:hd_=! || exit /b
PowerShell -ExecutionPolicy Unrestricted .\BuildImg.ps1 hd1k_!Image:hd_=! || exit /b
)
:: For each aggregate disk image definition (*.def), invoke PowerShell
:: to build the disk image.
for %%f in (*.def) do (
PowerShell -ExecutionPolicy Unrestricted .\BuildDsk.ps1 hd512_%%~nf || exit /b
PowerShell -ExecutionPolicy Unrestricted .\BuildDsk.ps1 hd1k_%%~nf || exit /b