2020-05-15 01:36:10 +10:00
|
|
|
TARGET = os.bin
|
2020-09-21 10:24:09 +10:00
|
|
|
BASE = ../..
|
|
|
|
CDIR = $(BASE)/cvm
|
2020-06-27 11:23:13 +10:00
|
|
|
STAGE = $(CDIR)/stage
|
2020-09-21 10:24:09 +10:00
|
|
|
BLKPACK = $(BASE)/tools/blkpack
|
2020-10-25 05:37:19 +11:00
|
|
|
EMUL = $(BASE)/emul/ti/ti84
|
2019-11-08 05:42:40 +11:00
|
|
|
MKTIUPGRADE = mktiupgrade
|
2019-11-08 03:52:29 +11:00
|
|
|
|
|
|
|
.PHONY: all
|
2020-05-08 20:50:34 +10:00
|
|
|
all: $(TARGET)
|
2020-09-21 10:24:09 +10:00
|
|
|
$(TARGET): xcomp.fs $(STAGE) blkfs
|
|
|
|
$(STAGE) blkfs < xcomp.fs > $@
|
|
|
|
|
|
|
|
$(BLKPACK):
|
|
|
|
$(MAKE) -C ../tools
|
|
|
|
|
|
|
|
blkfs: $(BLKPACK)
|
|
|
|
$(BLKPACK) $(BASE)/blk blk > $@
|
2020-01-02 14:48:01 +11:00
|
|
|
|
2020-06-12 02:23:59 +10:00
|
|
|
$(STAGE):
|
2020-06-27 11:23:13 +10:00
|
|
|
$(MAKE) -C $(CDIR) stage
|
2020-06-12 02:23:59 +10:00
|
|
|
|
2020-01-03 08:59:38 +11:00
|
|
|
$(EMUL):
|
|
|
|
$(MAKE) -C ${@:%/ti84=%}
|
|
|
|
|
|
|
|
.PHONY: emul
|
|
|
|
emul: $(EMUL) $(TARGET)
|
|
|
|
$(EMUL) $(TARGET)
|
|
|
|
|
2020-01-02 14:48:01 +11:00
|
|
|
os.rom: $(TARGET)
|
2020-05-16 07:25:58 +10:00
|
|
|
dd if=$(TARGET) bs=1M of=$@ conv=sync
|
2019-11-08 03:52:29 +11:00
|
|
|
|
2020-01-02 14:48:01 +11:00
|
|
|
os.8xu: os.rom
|
|
|
|
$(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 00
|
2019-11-08 05:42:40 +11:00
|
|
|
|
|
|
|
.PHONY: send
|
|
|
|
send: os.8xu
|
2020-01-01 07:07:39 +11:00
|
|
|
tilp -n --calc ti84+ --cable DirectLink os.8xu
|