Previous 15994 Revisions Next

r1825 Sunday 2nd March, 2008 at 14:41:47 UTC by Nathan Woods
Eliminated MESS_DEVINFO_PTR_STATUS; it was not being used
[src/mess]device.h
[src/mess/devices]basicdsk.c dsk.c
[src/mess/drivers]oric.c pc8801.c

src/mess/devices/dsk.c
r1824r1825
547547      case MESS_DEVINFO_PTR_INIT:                     info->init = device_init_dsk_floppy; break;
548548      case MESS_DEVINFO_PTR_LOAD:                     info->load = device_load_dsk_floppy; break;
549549      case MESS_DEVINFO_PTR_UNLOAD:                  info->unload = device_unload_dsk_floppy; break;
550      case MESS_DEVINFO_PTR_STATUS:                  /* info->status = floppy_status; */ break;
551550
552551      /* --- the following bits of info are returned as NULL-terminated strings --- */
553552      case MESS_DEVINFO_STR_DEV_FILE:                  strcpy(info->s = device_temp_str(), __FILE__); break;
src/mess/devices/basicdsk.c
r1824r1825
588588      /* --- the following bits of info are returned as pointers to data or functions --- */
589589      case MESS_DEVINFO_PTR_INIT:                  info->init = device_init_basicdsk_floppy; break;
590590      case MESS_DEVINFO_PTR_UNLOAD:               info->unload = device_unload_basicdsk_floppy; break;
591      case MESS_DEVINFO_PTR_STATUS:               /* info->status = floppy_status; */ break;
592591
593592      /* --- the following bits of info are returned as NULL-terminated strings --- */
594593      case MESS_DEVINFO_STR_DEV_FILE:               strcpy(info->s = device_temp_str(), __FILE__); break;
src/mess/device.h
r1824r1825
4949   MESS_DEVINFO_PTR_LOAD,
5050   MESS_DEVINFO_PTR_UNLOAD,
5151   MESS_DEVINFO_PTR_CREATE,
52   MESS_DEVINFO_PTR_STATUS,
5352   MESS_DEVINFO_PTR_DISPLAY,
5453   MESS_DEVINFO_PTR_PARTIAL_HASH,
5554   MESS_DEVINFO_PTR_VERIFY,
src/mess/drivers/pc8801.c
r1824r1825
573573      /* --- the following bits of info are returned as pointers to data or functions --- */
574574      case MESS_DEVINFO_PTR_INIT:                     info->init = device_init_d88image_floppy; break;
575575      case MESS_DEVINFO_PTR_LOAD:                     info->load = device_load_d88image_floppy; break;
576      case MESS_DEVINFO_PTR_STATUS:                  /* info->status = floppy_status; */ break;
577576
578577      /* --- the following bits of info are returned as NULL-terminated strings --- */
579578      case MESS_DEVINFO_STR_FILE_EXTENSIONS:            strcpy(info->s = device_temp_str(), "d88"); break;
src/mess/drivers/oric.c
r1824r1825
569569      /* --- the following bits of info are returned as pointers to data or functions --- */
570570      case MESS_DEVINFO_PTR_INIT:                     info->init = device_init_oric_floppy; break;
571571      case MESS_DEVINFO_PTR_LOAD:                     info->load = device_load_oric_floppy; break;
572      case MESS_DEVINFO_PTR_STATUS:                  /* info->status = floppy_status; */ break;
573572
574573      /* --- the following bits of info are returned as NULL-terminated strings --- */
575574      case MESS_DEVINFO_STR_FILE_EXTENSIONS:            strcpy(info->s = device_temp_str(), "dsk"); break;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team