mirror of
https://github.com/a2stuff/IIcSystemClock.git
synced 2025-01-14 10:29:54 +00:00
snapshot
This commit is contained in:
commit
a83025906d
35
Makefile
Normal file
35
Makefile
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
CC65 = ~/dev/cc65/bin
|
||||||
|
CAFLAGS = --target apple2enh --list-bytes 0
|
||||||
|
CCFLAGS = --config apple2-asm.cfg
|
||||||
|
|
||||||
|
OUTDIR = out
|
||||||
|
|
||||||
|
TARGETS = \
|
||||||
|
$(OUTDIR)/clock.system.SYS
|
||||||
|
|
||||||
|
# For timestamps
|
||||||
|
MM = $(shell date "+%m")
|
||||||
|
DD = $(shell date "+%d")
|
||||||
|
YY = $(shell date "+%y")
|
||||||
|
DEFINES = -D DD=$(DD) -D MM=$(MM) -D YY=$(YY)
|
||||||
|
|
||||||
|
.PHONY: clean all
|
||||||
|
all: $(OUTDIR) $(TARGETS)
|
||||||
|
|
||||||
|
$(OUTDIR):
|
||||||
|
mkdir -p $(OUTDIR)
|
||||||
|
|
||||||
|
HEADERS = $(wildcard *.inc)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(OUTDIR)/*.o
|
||||||
|
rm -f $(OUTDIR)/*.list
|
||||||
|
rm -f $(OUTDIR)/$(TARGETS)
|
||||||
|
|
||||||
|
$(OUTDIR)/%.o: %.s $(HEADERS)
|
||||||
|
$(CC65)/ca65 $(CAFLAGS) $(DEFINES) --listing $(basename $@).list -o $@ $<
|
||||||
|
|
||||||
|
$(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
|
||||||
|
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
|
||||||
|
xattr -wx prodos.AuxType '00 20' $@
|
1227
clock.system.s
Normal file
1227
clock.system.s
Normal file
File diff suppressed because it is too large
Load Diff
8
da.info
Normal file
8
da.info
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
GLOBAL {
|
||||||
|
OUTPUTNAME "clock.system.s";
|
||||||
|
INPUTNAME "orig/CLOCK.SYSTEM.SYS";
|
||||||
|
STARTADDR $2000;
|
||||||
|
CPU "6502";
|
||||||
|
};
|
||||||
|
|
||||||
|
RANGE { START $2000; END $FFFF; TYPE Code; };
|
BIN
orig/CLOCK.SYSTEM.SYS
Normal file
BIN
orig/CLOCK.SYSTEM.SYS
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user