mirror of
https://github.com/a2-4am/4live.git
synced 2024-12-21 11:29:20 +00:00
initial import
This commit is contained in:
parent
55bd27181c
commit
20b168f429
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.DS_Store
|
||||
/build/
|
43
Makefile
Normal file
43
Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
#
|
||||
# 4LIVE Makefile
|
||||
# assembles source code, optionally builds a disk image and mounts it
|
||||
#
|
||||
# original by Quinn Dunki on 2014-08-15
|
||||
# One Girl, One Laptop Productions
|
||||
# http://www.quinndunki.com/blondihacks
|
||||
#
|
||||
# adapted by 4am on 2016-10-16
|
||||
#
|
||||
|
||||
# program name
|
||||
PGM=4live
|
||||
A2PGM=_4LIVE
|
||||
|
||||
# project subdirectories
|
||||
BIN=bin
|
||||
BUILD=build
|
||||
RES=res
|
||||
SRC=src
|
||||
|
||||
# project files
|
||||
BLANKDISK=$(RES)/work.dsk
|
||||
BUILDDISK=$(BUILD)/$(PGM).dsk
|
||||
|
||||
# third-party tools required to build
|
||||
# https://sourceforge.net/projects/acme-crossass/
|
||||
ACME=/usr/local/bin/acme
|
||||
# https://sourceforge.net/projects/applecommander/
|
||||
AC=$(BIN)/AppleCommander.jar
|
||||
|
||||
|
||||
all: $(PGM)
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILD)
|
||||
|
||||
$(PGM):
|
||||
mkdir -p $(BUILD)
|
||||
$(ACME) -o $(BUILD)/$(PGM) $(SRC)/$(PGM).a
|
||||
cp $(BLANKDISK) $(BUILDDISK)
|
||||
java -jar $(AC) -p $(BUILDDISK) $(A2PGM) B 0x8000 < $(BUILD)/$(PGM)
|
||||
osascript $(BIN)/V2Make.scpt "`pwd`" $(BUILDDISK)
|
BIN
bin/AppleCommander.jar
Normal file
BIN
bin/AppleCommander.jar
Normal file
Binary file not shown.
BIN
bin/V2Make.scpt
Normal file
BIN
bin/V2Make.scpt
Normal file
Binary file not shown.
BIN
res/work.dsk
Executable file
BIN
res/work.dsk
Executable file
Binary file not shown.
8
src/4live.a
Normal file
8
src/4live.a
Normal file
@ -0,0 +1,8 @@
|
||||
;
|
||||
; 4LIVE
|
||||
; a 4am & san inc hack
|
||||
;
|
||||
!cpu 6502
|
||||
*=$8000
|
||||
;
|
||||
rts
|
Loading…
Reference in New Issue
Block a user