@perl -w check-romsrc.pl
clean:
- rm -f *.o *.elf *.s19 *.b *.a rom.tar.bz2 romsrc.s crctab.h version.h m68hc11-gdb gencrctab crctest
+ rm -f *.o *.elf *.s19 *.b *.a rom.tar.lz romsrc.s crctab.h version.h m68hc11-gdb gencrctab crctest
crctest: crctest.c crctab.h
gcc -o $@ $<
size: rom2.s19
$(SIZE) $<
-rom.tar.bz2:
+rom.tar.lz:
rm -f romsrc.s crctab.h
- tar c README Makefile gdbsimrc *.pl *.c *.h *.s *.x | bzip2 -c -9 > $@
+ tar c README Makefile gdbsimrc *.pl *.c *.h *.s *.x | lzip -c -9 > $@
-romsrc.s: rom.tar.bz2 src2asm.pl
+romsrc.s: rom.tar.lz src2asm.pl
perl -w src2asm.pl < $< > $@
main_basic.c: version.h
}
close OD;
if (!defined $origin) {
- print "WARNING!!! No bz2 data could be found in the ROM image!\n";
+ print "WARNING!!! No lzip data could be found in the ROM image!\n";
exit 1;
}
$origin = hex($origin);
}
$pl_origin = hex($pl_origin);
if ($pl_origin != $origin) {
- printf "WARNING!!! The origin of the bz2 data is now 0x%04x. This needs to\n", $origin;
+ printf "WARNING!!! The origin of the lzip data is now 0x%04x. This needs to\n", $origin;
printf " be updated in src2asm.pl (which currently says 0x%04x).\n", $pl_origin;
exit 3;
}
-printf "Origin of bz2 data is 0x%04x and correct.\n", $origin;
+printf "Origin of lzip data is 0x%04x and correct.\n", $origin;
s[2] = _rom_src_data[2];
s[3] = '\0';
send_string(s);
- send_string(CRLF " Type YES to download rom.tar.bz2 via XMODEM: ");
+ send_string(CRLF " Type YES to download rom.tar.lz via XMODEM: ");
msg_clr();
while (!sci_have_packet); /* spin */
if (!my_strncmp("YES", (char*)sci_rx_buf, 3)) {