Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
717B

  1. # See /doc/hw/z80/ti84.txt
  2. TARGET = os.bin
  3. BASE = ../../..
  4. CDIR = $(BASE)/cvm
  5. STAGE = $(CDIR)/stage
  6. BLKPACK = $(BASE)/tools/blkpack
  7. EMUL = $(BASE)/emul/z80/ti84
  8. MKTIUPGRADE = mktiupgrade
  9. .PHONY: all
  10. all: $(TARGET)
  11. $(TARGET): xcomp.fs $(STAGE) blkfs
  12. $(STAGE) blkfs < xcomp.fs > $@
  13. $(BLKPACK):
  14. $(MAKE) -C ../tools
  15. blkfs: $(BLKPACK)
  16. cat $(BASE)/blk.fs blk.fs | $(BLKPACK) > $@
  17. $(STAGE):
  18. $(MAKE) -C $(CDIR) stage
  19. $(EMUL):
  20. $(MAKE) -C ${@:%/ti84=%}
  21. .PHONY: emul
  22. emul: $(EMUL) $(TARGET)
  23. $(EMUL) $(TARGET)
  24. os.rom: $(TARGET)
  25. dd if=$(TARGET) bs=1M of=$@ conv=sync
  26. os.8xu: os.rom
  27. $(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 00
  28. .PHONY: send
  29. send: os.8xu
  30. tilp -n --calc ti84+ --cable DirectLink os.8xu