2020-05-14 11:36:10 -04:00
|
|
|
TARGET = os.bin
|
2019-12-31 15:07:39 -05:00
|
|
|
BASEDIR = ../..
|
2020-05-08 06:50:34 -04:00
|
|
|
FDIR = $(BASEDIR)/forth
|
|
|
|
EDIR = $(BASEDIR)/emul
|
2020-05-14 10:55:39 -04:00
|
|
|
STAGE = $(EDIR)/stage
|
2020-01-02 16:59:38 -05:00
|
|
|
EMUL = $(BASEDIR)/emul/hw/ti/ti84
|
2019-11-07 13:42:40 -05:00
|
|
|
MKTIUPGRADE = mktiupgrade
|
2019-11-07 11:52:29 -05:00
|
|
|
|
|
|
|
.PHONY: all
|
2020-05-08 06:50:34 -04:00
|
|
|
all: $(TARGET)
|
2020-05-14 10:55:39 -04:00
|
|
|
$(TARGET): xcomp.fs $(STAGE)
|
|
|
|
cat xcomp.fs | $(STAGE) > $@
|
2020-01-01 22:48:01 -05:00
|
|
|
|
2020-01-02 16:59:38 -05:00
|
|
|
$(EMUL):
|
|
|
|
$(MAKE) -C ${@:%/ti84=%}
|
|
|
|
|
|
|
|
.PHONY: emul
|
|
|
|
emul: $(EMUL) $(TARGET)
|
|
|
|
$(EMUL) $(TARGET)
|
|
|
|
|
2020-01-01 22:48:01 -05:00
|
|
|
os.rom: $(TARGET)
|
|
|
|
cp $(TARGET) $@
|
2019-11-07 11:52:29 -05:00
|
|
|
truncate -s 1M $@
|
|
|
|
|
2020-01-01 22:48:01 -05:00
|
|
|
os.8xu: os.rom
|
|
|
|
$(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 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
|