diff --git a/Makefile b/Makefile index 245752a9..85bfc5bd 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ mkdos33fs.o: mkdos33fs.c dos33.h install: - cp dos33 asoft_detoken mkdos33fs tokenize_asoft make_b dos33_text2ascii.c integer_detoken /usr/local/bin + cp dos33 asoft_detoken mkdos33fs tokenize_asoft make_b dos33_text2ascii integer_detoken /usr/local/bin clean: rm -f *~ *.o asoft_detoken dos33 make_b mkdos33fs tokenize_asoft dos33_text2ascii integer_detoken diff --git a/TODO b/TODO index d44a83c4..5887cb8b 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,6 @@ +Fix undelete, it doesn't re-allocate all the sectors. + + + Validate that apple filenames are valid in all cases diff --git a/char2hex.c b/char2hex.c new file mode 100644 index 00000000..86abc30e --- /dev/null +++ b/char2hex.c @@ -0,0 +1,17 @@ +#include + +#include "version.h" + +int main(int argc, char **argv) { + + int input; + + while(1) { + + input=fgetc(stdin); + if (input==EOF) break; + printf("$%02X,",input|0x80); + } + + return 0; +}