/* joiner.c - joins files together */ /* Version 1.1 25-JAN-96 */ /* Copyright © 1996 Sean Riddle */ /* Freely distributable on any medium given all copyrights are retained */ /* by the author and no charge greater than $7.00 is made for obtaining */ /* this software */ /* Please send all bug reports and update ideas to: */ /* sriddle@ionet.net */ /* latest version at: */ /* Please don't hurl on my URL! */ /* usage: joiner <...> */ /* output to stdout, so use redirection */ /* ex: joiner rom1 rom2 rom3 FILL:4096:FF rom4 FILL:4096:0 rom5 > bigrom */ /* compiled on Amiga SAS/C 6.56 */ #include #include #include #include #define BUFSIZE 256 void main(int argc,char *argv[]) { FILE *fpin; int i,j; int size; unsigned char byte; unsigned char fill[BUFSIZE]; struct stat st; if(argc>1) { for(i=1;i <...>'\n",argv[0]); }