/* OS Proolix-l Utility for install boot program to boot sector */ #include #include #include #include #include #define S1 "usage: patchboot source-bootfile new-bootfile result-bootfile\n" #define S2 "can't open %s\n" #define S3 "can't read %s\n" #define S4 "can't write %s\n" #define S5 "can't close %s\n" int main (int argc, char *argv[]) {int i, h1, h2, h3; unsigned char c[512], c2[512], c3[512]; #if 0 printf ("argc=%i\n",argc); for (i=0;i