first commit
This commit is contained in:
27
build.ps1
Normal file
27
build.ps1
Normal file
@@ -0,0 +1,27 @@
|
||||
# Build Script for Amiga Game
|
||||
|
||||
$vasm = ".\vasmm68k_mot.exe"
|
||||
$bootSrc = "boot.s"
|
||||
$gameSrc = "main.s"
|
||||
$bootBin = "boot.bin"
|
||||
$gameBin = "game.bin"
|
||||
|
||||
# 1. Compile Bootblock
|
||||
Write-Host "Compiling Bootblock..."
|
||||
& $vasm -Fbin -o $bootBin $bootSrc
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Error "Bootblock compilation failed!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# 2. Compile Game
|
||||
Write-Host "Compiling Game..."
|
||||
& $vasm -Fbin -o $gameBin $gameSrc
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Error "Game compilation failed!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# 3. Create ADF
|
||||
Write-Host "Creating ADF..."
|
||||
.\make_adf.ps1
|
||||
Reference in New Issue
Block a user