Base project template.

This commit is contained in:
Rob 2016-09-18 20:18:29 -05:00
commit 8de884d561
5 changed files with 59 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
local.config

24
Makefile Normal file
View File

@ -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

25
README.md Normal file
View File

@ -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

9
local.config.template Normal file
View File

@ -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"

BIN
template.po Executable file

Binary file not shown.