mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-14 15:18:06 +11:00
b1e162b8a3
Replace the "g" arg (glyph) with "c" (character). The reason why "g" was used was to save a "0x20 -" operation at all CELL! implementations, but this came with too big a drawback: it made CELL! hardly usable outside of the Grid subsystem, mostly because the user of CELL! would often have to do "0x20 -". For example, I want the SMS's Pad driver to use CELL! directly instead of having to do EMIT+XYPOS-messing-around. I would have had to do a "0x20 -" there.
40 lines
739 B
Makefile
40 lines
739 B
Makefile
# See /doc/hw/z80/ti84.txt
|
|
TARGET = os.bin
|
|
BASE = ../../..
|
|
CDIR = $(BASE)/cvm
|
|
STAGE = $(CDIR)/stage
|
|
BLKPACK = $(BASE)/tools/blkpack
|
|
EMUL = $(BASE)/emul/z80/ti84
|
|
MKTIUPGRADE = mktiupgrade
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
$(TARGET): xcomp.fs $(STAGE) blkfs
|
|
$(STAGE) blkfs < xcomp.fs > $@
|
|
|
|
$(BLKPACK):
|
|
$(MAKE) -C ../tools
|
|
|
|
blkfs: $(BLKPACK) $(BASE)/blk.fs blk.fs
|
|
cat $(BASE)/blk.fs blk.fs | $(BLKPACK) > $@
|
|
|
|
$(STAGE):
|
|
$(MAKE) -C $(CDIR) stage
|
|
|
|
$(EMUL):
|
|
$(MAKE) -C ${@:%/ti84=%}
|
|
|
|
.PHONY: emul
|
|
emul: $(EMUL) $(TARGET)
|
|
$(EMUL) $(TARGET)
|
|
|
|
os.rom: $(TARGET)
|
|
dd if=$(TARGET) bs=1M of=$@ conv=sync
|
|
|
|
os.8xu: os.rom
|
|
$(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 00
|
|
|
|
.PHONY: send
|
|
send: os.8xu
|
|
tilp -n --calc ti84+ --cable DirectLink os.8xu
|