[Coco] creatdsk.c source

Mannequin* mannslists at invigorated.org
Sat Dec 24 10:04:58 EST 2005


Bob Devries wrote:
> Here's a QAD C code file I just threw together to make a dsk file from a
> floppy. Hehe, this works on the MESS emulator.... making a .dsk file
> from a .dsk file for the emu, in the emu.
> 
> /* Creatdsk.c - A util to create a .dsk file to be used by */
> /* the JV or MESS emulators under OS9                      */
...
> #include <stdio.h>
> #include <errno.h>
...
>        strcpy (diskname, argv[1]);
...

In Microware C, you didn't have to include string.h when you used the
string manipulation functions? Wouldn't that have added to the
executables size with those (and other) functions compiled in and not
being used?

Anyone want to explain this for me?

Thanks.
-M.



More information about the Coco mailing list