src/mess/machine/i8155.c
| r5477 | r5478 | |
| 533 | 533 | /* --- the following bits of info are returned as 64-bit signed integers --- */ |
| 534 | 534 | case DEVINFO_INT_INLINE_CONFIG_BYTES: info->i = 0; break; |
| 535 | 535 | case DEVINFO_INT_CLASS: info->i = DEVICE_CLASS_PERIPHERAL; break; |
| 536 | | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(i8155_t); break; |
| 536 | case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(i8155_t); break; |
| 537 | 537 | |
| 538 | 538 | /* --- the following bits of info are returned as pointers to data or functions --- */ |
| 539 | | case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(i8155); break; |
| 539 | case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(i8155); break; |
| 540 | 540 | case DEVINFO_FCT_STOP: /* Nothing */ break; |
| 541 | | case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(i8155); break; |
| 541 | case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(i8155); break; |
| 542 | 542 | |
| 543 | 543 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 544 | 544 | case DEVINFO_STR_NAME: strcpy(info->s, "Intel 8155"); break; |
| 545 | | case DEVINFO_STR_FAMILY: strcpy(info->s, "Intel 8085"); break; |
| 545 | case DEVINFO_STR_FAMILY: strcpy(info->s, "Intel MCS-85"); break; |
| 546 | 546 | case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; |
| 547 | 547 | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; |
| 548 | 548 | case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright the MESS Team"); break; |
src/mess/machine/i8355.c
| r5477 | r5478 | |
| 219 | 219 | |
| 220 | 220 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 221 | 221 | case DEVINFO_STR_NAME: strcpy(info->s, "Intel 8355"); break; |
| 222 | | case DEVINFO_STR_FAMILY: strcpy(info->s, "Intel 8080"); break; |
| 222 | case DEVINFO_STR_FAMILY: strcpy(info->s, "Intel MCS-85"); break; |
| 223 | 223 | case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; |
| 224 | 224 | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; |
| 225 | 225 | case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright the MESS Team"); break; |