dos33fsprogs/dos33fs-utils/char2hex.c
2016-12-08 23:04:56 -05:00

17 lines
197 B
C

#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;
}