Added Makefile to build the xHD client.

The binary is built with Merlin 32 - see https://www.brutaldeluxe.fr/products/crossdevtools/merlin/

The disk image updated with AppleCommander - see https://applecommander.github.io/
This commit is contained in:
Oliver Schmidt 2018-01-31 23:30:43 +01:00
parent 4cfc3e44d9
commit 8d7fe0bd12
2 changed files with 18 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
*.o *.o
*.exe *.exe
_FileInformation.txt
prodos.po

16
client/Makefile Normal file
View File

@ -0,0 +1,16 @@
AC ?= ac.jar
AS ?= Merlin32
.PHONY: disk
%: %.s
$(AS) . $<
z8530/xHD: z8530/xHD.s
xHDClient.po:
cp prodos.po xHDClient.po
disk: z8530/xHD | xHDClient.po
java -jar $(AC) -d xHDClient.po xHD
java -jar $(AC) -p xHDClient.po xHD sys < z8530/xHD