ti84: use dd instead of truncate

More portable
This commit is contained in:
Virgil Dupras 2020-05-15 17:25:58 -04:00
parent 852c775b5b
commit ebc70be8e8

View File

@ -19,8 +19,7 @@ emul: $(EMUL) $(TARGET)
$(EMUL) $(TARGET) $(EMUL) $(TARGET)
os.rom: $(TARGET) os.rom: $(TARGET)
cp $(TARGET) $@ dd if=$(TARGET) bs=1M of=$@ conv=sync
truncate -s 1M $@
os.8xu: os.rom os.8xu: os.rom
$(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 00 $(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 00