2019-11-07 11:52:29 -05:00
|
|
|
TARGET = os.rom
|
2019-12-31 15:07:39 -05:00
|
|
|
BASEDIR = ../..
|
|
|
|
ZASM = $(BASEDIR)/emul/zasm/zasm
|
|
|
|
KERNEL = $(BASEDIR)/kernel
|
|
|
|
APPS = $(BASEDIR)/apps
|
2019-11-07 13:42:40 -05:00
|
|
|
MKTIUPGRADE = mktiupgrade
|
2019-11-07 11:52:29 -05:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): glue.asm
|
2019-12-31 15:07:39 -05:00
|
|
|
$(ZASM) $(KERNEL) $(APPS) < glue.asm > $@
|
2019-11-07 11:52:29 -05:00
|
|
|
truncate -s 1M $@
|
|
|
|
|
2019-11-07 13:42:40 -05:00
|
|
|
os.8xu: $(TARGET)
|
2019-12-31 15:07:39 -05:00
|
|
|
$(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ $(TARGET) $@ 00
|
2019-11-07 13:42:40 -05:00
|
|
|
|
|
|
|
.PHONY: send
|
|
|
|
send: os.8xu
|
2019-12-31 15:07:39 -05:00
|
|
|
tilp -n --calc ti84+ --cable DirectLink os.8xu
|