mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-06-07 11:29:33 +00:00
Wire up skeleton build framework; prove 2MG image in the emu/ folder as a buld target
This commit is contained in:
parent
0b4373469e
commit
31ab86b7fc
11
demos/fatdog/App.s
Normal file
11
demos/fatdog/App.s
Normal file
|
@ -0,0 +1,11 @@
|
|||
; IIgs Game Engine
|
||||
|
||||
TYP $B3 ; S16 file
|
||||
DSK GTEShooter
|
||||
XPL
|
||||
|
||||
; Segment #1 -- Main execution block
|
||||
|
||||
ASM Main.s
|
||||
|
||||
|
10
demos/fatdog/Main.s
Normal file
10
demos/fatdog/Main.s
Normal file
|
@ -0,0 +1,10 @@
|
|||
REL
|
||||
DSK MAINSEG
|
||||
|
||||
rtl
|
||||
|
||||
; Storage for sprites
|
||||
StackAddress ds 2
|
||||
PUT sprites/Ships.s
|
||||
|
||||
|
16
demos/fatdog/build-image.bat
Normal file
16
demos/fatdog/build-image.bat
Normal file
|
@ -0,0 +1,16 @@
|
|||
echo off
|
||||
|
||||
REM Copy all of the assets into the ProDOS image for emulator testing
|
||||
REM
|
||||
REM Pass the path of the Cadius tool as the first argument (%1)
|
||||
|
||||
set CADIUS="%1"
|
||||
set IMAGE="emu\\Base.2mg"
|
||||
set FOLDER="/GTEDEV/Build"
|
||||
|
||||
REM Cadius does not overwrite files, so clear the root folder first
|
||||
%CADIUS% DELETEFOLDER %IMAGE% %FOLDER%
|
||||
%CADIUS% CREATEFOLDER %IMAGE% %FOLDER%
|
||||
|
||||
REM Now copy files and folders as needed
|
||||
%CADIUS% ADDFILE %IMAGE% %FOLDER% src\\GTEShooter
|
|
@ -12,8 +12,12 @@
|
|||
"mrsprite": "C:\\Programs\\IIgsXDev\\bin\\MrSprite.exe"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "%npm_package_config_merlin32% -V %npm_package_config_macros% App.s",
|
||||
"build:sprites": "build-sprites.bat %npm_package_config_mrsprite%"
|
||||
"build:app": "%npm_package_config_merlin32% -V %npm_package_config_macros% App.s",
|
||||
"build:sprites": "build-sprites.bat %npm_package_config_mrsprite%",
|
||||
"build:image": "build-image.bat %npm_package_config_cadius%",
|
||||
"build:": "npm run build:sprites && npm run build:app && npm run build:image",
|
||||
"test": "npm build && %npm_package_config_gsport%",
|
||||
"debug": "%npm_package_config_crossrunner% GTEShooter -Source src\\MAINSEG_Output.txt -Debug -CompatibilityLayer"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -27,5 +31,4 @@
|
|||
"homepage": "https://github.com/lscharen/iigs-game-engine#readme",
|
||||
"devDependencies": {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user