commit 8de884d561d7adae01fd07dc6b3241fbc2e9a9e9 Author: Rob Date: Sun Sep 18 20:18:29 2016 -0500 Base project template. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31880e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +local.config diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d25ed42 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +# External dependencies: +include local.config + +# Local stuff: +SRC = +PGM = jok +SYS = jok.system +TYPE = SYS +ADDR = 0x2000 +TMPL = template.po +DISK = jewel-of-kaldun.po + + +jok: $(SRC) + $(ASM) $(PGM).s + cp $(TMPL) $(DISK) + cat $(PGM) | $(AC) -p $(DISK) $(SYS) $(TYPE) $(ADDR) + $(AC) -k $(DISK) $(SYS) + $(AC) -ll $(DISK) + zip $(PGM).zip $(DISK) + +clean: + rm $(PGM) $(DISK) $(PGM).zip + diff --git a/README.md b/README.md new file mode 100644 index 0000000..9041e51 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# Jewel of Kaldun + +## Notes +* `Makefile` is very rudimentary as I am not a Makefile type person and build is so fast it doesn't matter +* Pay attention to versions +* `Makefile` makes assumptions about where things are placed, correct as necessary + +## Current setup(s) + +### Windows + +> Please note that this mixes the Cygin Unix-y path flavor with the Windows path flavor. Java (as it is a Windows application) requires Windows pathing instead of Unix pathing. See the `Makefile` configuration section. + +* Cygwin 64-bit + * git + * gcc (to compile Merlin32) + * make +* Java (Windows version) +* AppleCommander +* Merlin32 + +## Software required to build: +* [Merlin32](http://www.brutaldeluxe.fr/products/crossdevtools/merlin/index.html) by Brutal Deluxe (version 1.0) +* The command-line variant of [AppleCommander](https://sites.google.com/site/drjohnbmatthews/applecommander) (please note this project is using 1.3.5.14-ac and that the command-line options do vary across versions) +* Either a real Apple II or an emulator diff --git a/local.config.template b/local.config.template new file mode 100644 index 0000000..f561c39 --- /dev/null +++ b/local.config.template @@ -0,0 +1,9 @@ +# This a sample configuration for the Makefile. Make a copy and modify for your system. +# These particular examples are from a Cygwin setup. It can also be setup for the Linux or Mac OS X environment. + +# Full command-line to Merlin32 assembler. Note that Merlin32 requires the first path be to the Merlin library +ASM = Merlin32 -V /usr/local/share/Merlin32/Library + +# Command to launch AppleCommander +AC = java -jar "C:\Users\rob\From DOODLE4\Java Applications\AppleCommander releases\AppleCommander-1.3.5.14-ac.jar" + diff --git a/template.po b/template.po new file mode 100755 index 0000000..762dcae Binary files /dev/null and b/template.po differ