From e646178b9b62ee1d91424e3b9619febd97d5c53d Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Tue, 20 Feb 2018 15:54:12 -0800 Subject: [PATCH 1/2] correct launch filename --- src/onbeyond/onbeyond.system.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/onbeyond/onbeyond.system.s b/src/onbeyond/onbeyond.system.s index 3f381f9..ee838ac 100644 --- a/src/onbeyond/onbeyond.system.s +++ b/src/onbeyond/onbeyond.system.s @@ -73,7 +73,7 @@ quit jsr $bf00 bcs quit dec filename ora #$30 - sta filename+2 + sta version + ;get volume name @@ -156,7 +156,8 @@ ca_parms filename !byte (filename_e-filename)-1 - !text "ONBEYONDZ5U" + !text "ONBEYONDZ" +version !text "5U" filename_e !byte $D3,$C1,$CE,$A0,$C9,$CE,$C3,$AE From 3e75ff67d18f20c117a95cbce15b975ad9911ab4 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Tue, 20 Feb 2018 16:35:15 -0800 Subject: [PATCH 2/2] Windows makefile --- winmake.bat | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 winmake.bat diff --git a/winmake.bat b/winmake.bat new file mode 100644 index 0000000..a0759f7 --- /dev/null +++ b/winmake.bat @@ -0,0 +1,71 @@ +@echo off +if "%1" equ "clean" ( +echo y|1>nul 2>nul rd build /s +goto :EOF +) + +2>nul md build +if "%1" equ "asm" ( +call :asm +goto :EOF +) + +set DISK=PitchDark.2mg + +if "%1" equ "dsk" ( +call :asm +call :dsk +set DISK= +goto :EOF +) + +if "%1" equ "txt" ( +call :asm +call :dsk +call :txt +set DISK= +goto :EOF +) + +goto :EOF + +:asm +acme src\grue.system.s +acme src\pitchdark.a +acme src\onbeyond\onbeyond.system.s +acme src\onbeyond\z3\z3.s +acme src\onbeyond\z4\z4.s +acme src\onbeyond\z5\z5.s +acme src\onbeyond\z5u\z5u.s +goto :EOF + +:dsk +1>nul copy /y res\"Pitch Dark.master games collection.do.not.edit.2mg" build\%DISK% +1>nul copy /y res\WEEGUI build\ +1>nul copy /y res\_FileInformation.txt build\ +cadius ADDFILE build\%DISK% "/PITCH.DARK/" "build\GRUE.SYSTEM" +cadius ADDFILE build\%DISK% "/PITCH.DARK/" "build\PITCH.DARK" +cadius ADDFILE build\%DISK% "/PITCH.DARK/" "build\WEEGUI" +cadius ADDFILE build\%DISK% "/PITCH.DARK/" "build\ONBEYOND.SYSTEM" +cadius ADDFILE build\%DISK% "/PITCH.DARK/" "build\ONBEYONDZ3" +cadius ADDFILE build\%DISK% "/PITCH.DARK/" "build\ONBEYONDZ4" +cadius ADDFILE build\%DISK% "/PITCH.DARK/" "build\ONBEYONDZ5" +cadius ADDFILE build\%DISK% "/PITCH.DARK/" "build\ONBEYONDZ5U" +goto :EOF + +:txt +md text +python3 bin\textnormalize.py text\* +cadius ADDFOLDER %disk% "/PITCH.DARK/TEXT" text +goto :EOF + +/* +make script for Windows environments +a qkumba monstrosity from 2018-02-20 +requires ACME, CADIUS, Python +https://sourceforge.net/projects/acme-crossass/ +https://www.brutaldeluxe.fr/products/crossdevtools/cadius/ +https://github.com/mach-kernel/cadius +https://www.python.org/ +requires ACME, CADIUS, Python to be in path +*/