src/mess/image.h
| r2268 | r2269 | |
| 24 | 24 | |
| 25 | 25 | typedef enum |
| 26 | 26 | { |
| 27 | /* List of all supported devices. Refer to the device by these names only */ |
| 28 | IO_UNKNOWN, |
| 29 | IO_CARTSLOT, /* 1 - Cartridge Port, as found on most console and on some computers */ |
| 30 | IO_FLOPPY, /* 2 - Floppy Disk unit */ |
| 31 | IO_HARDDISK, /* 3 - Hard Disk unit */ |
| 32 | IO_CYLINDER, /* 4 - Magnetically-Coated Cylinder */ |
| 33 | IO_CASSETTE, /* 5 - Cassette Recorder (common on early home computers) */ |
| 34 | IO_PUNCHCARD, /* 6 - Card Puncher/Reader */ |
| 35 | IO_PUNCHTAPE, /* 7 - Tape Puncher/Reader (reels instead of punchcards) */ |
| 36 | IO_PRINTER, /* 8 - Printer device */ |
| 37 | IO_SERIAL, /* 9 - Generic Serial Port */ |
| 38 | IO_PARALLEL, /* 10 - Generic Parallel Port */ |
| 39 | IO_SNAPSHOT, /* 11 - Complete 'snapshot' of the state of the computer */ |
| 40 | IO_QUICKLOAD, /* 12 - Allow to load program/data into memory, without matching any actual device */ |
| 41 | IO_MEMCARD, /* 13 - Memory card */ |
| 42 | IO_CDROM, /* 14 - optical CD-ROM disc */ |
| 43 | IO_COUNT /* 15 - Total Number of IO_devices for searching */ |
| 44 | } iodevice_t; |
| 45 | |
| 46 | |
| 47 | |
| 48 | typedef enum |
| 49 | { |
| 27 | 50 | IMAGE_ERROR_SUCCESS, |
| 28 | 51 | IMAGE_ERROR_INTERNAL, |
| 29 | 52 | IMAGE_ERROR_UNSUPPORTED, |
src/mess/device.h
| r2268 | r2269 | |
| 16 | 16 | // MESS headers |
| 17 | 17 | #include "osdmess.h" |
| 18 | 18 | #include "opresolv.h" |
| 19 | #include "image.h" |
| 19 | 20 | |
| 20 | 21 | |
| 21 | 22 | /************************************* |
| r2268 | r2269 | |
| 203 | 204 | * |
| 204 | 205 | *************************************/ |
| 205 | 206 | |
| 206 | | typedef enum |
| 207 | | { |
| 208 | | /* List of all supported devices. Refer to the device by these names only */ |
| 209 | | IO_CARTSLOT, /* 0 - Cartridge Port, as found on most console and on some computers */ |
| 210 | | IO_FLOPPY, /* 1 - Floppy Disk unit */ |
| 211 | | IO_HARDDISK, /* 2 - Hard Disk unit */ |
| 212 | | IO_CYLINDER, /* 3 - Magnetically-Coated Cylinder */ |
| 213 | | IO_CASSETTE, /* 4 - Cassette Recorder (common on early home computers) */ |
| 214 | | IO_PUNCHCARD, /* 5 - Card Puncher/Reader */ |
| 215 | | IO_PUNCHTAPE, /* 6 - Tape Puncher/Reader (reels instead of punchcards) */ |
| 216 | | IO_PRINTER, /* 7 - Printer device */ |
| 217 | | IO_SERIAL, /* 8 - Generic Serial Port */ |
| 218 | | IO_PARALLEL, /* 9 - Generic Parallel Port */ |
| 219 | | IO_SNAPSHOT, /* 10 - Complete 'snapshot' of the state of the computer */ |
| 220 | | IO_QUICKLOAD, /* 11 - Allow to load program/data into memory, without matching any actual device */ |
| 221 | | IO_MEMCARD, /* 12 - Memory card */ |
| 222 | | IO_CDROM, /* 13 - optical CD-ROM disc */ |
| 223 | | IO_COUNT /* 14 - Total Number of IO_devices for searching */ |
| 224 | | } iodevice_t; |
| 225 | | |
| 226 | | |
| 227 | | |
| 228 | 207 | struct CreateImageOptions |
| 229 | 208 | { |
| 230 | 209 | const char *name; |