Some minor fixes

This commit is contained in:
Vince Weaver 2009-08-21 21:41:00 -04:00
parent 8019e4d7dd
commit 098d6a53f4
3 changed files with 21 additions and 1 deletions

View File

@ -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

3
TODO
View File

@ -1,3 +1,6 @@
Fix undelete, it doesn't re-allocate all the sectors.
+ Validate that apple filenames are valid in all cases

17
char2hex.c Normal file
View File

@ -0,0 +1,17 @@
#include <stdio.h>
#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;
}