mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
Minimal Doc of Revised Disk Image Creation Process
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user