diff options
author | 2012-09-03 15:00:20 +0000 | |
---|---|---|
committer | 2012-09-03 15:00:20 +0000 | |
commit | 071eb8de4be2099c033a0c49554d5b690f5e969b (patch) | |
tree | 329c0e27c2e33cb213894b157193d37e381135e5 /src/mess/machine/upd765.c | |
parent | eb4aa7ad05d6ebc74bd88f19ca815e694734f9c7 (diff) |
Cleanup and some inheritance fixes (no whatsnew)
Diffstat (limited to 'src/mess/machine/upd765.c')
-rw-r--r-- | src/mess/machine/upd765.c | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/src/mess/machine/upd765.c b/src/mess/machine/upd765.c index 3d5ad35cc45..72acd93b342 100644 --- a/src/mess/machine/upd765.c +++ b/src/mess/machine/upd765.c @@ -2476,70 +2476,6 @@ static DEVICE_RESET( upd765 ) upd765_reset(device,0); } -DEVICE_GET_INFO( upd765a ) -{ - switch (state) - { - /* --- the following bits of info are returned as 64-bit signed integers --- */ - case DEVINFO_INT_TOKEN_BYTES: info->i = sizeof(upd765_t); break; - - /* --- the following bits of info are returned as pointers to data or functions --- */ - case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(upd765a); break; - case DEVINFO_FCT_STOP: /* Nothing */ break; - case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(upd765); break; - - /* --- the following bits of info are returned as NULL-terminated strings --- */ - case DEVINFO_STR_NAME: strcpy(info->s, "UPD765A"); break; - case DEVINFO_STR_FAMILY: strcpy(info->s, "UPD765A"); break; - case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break; - case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; - case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright MESS Team"); break; - } -} - - -DEVICE_GET_INFO( upd765b ) -{ - switch (state) - { - /* --- the following bits of info are returned as NULL-terminated strings --- */ - case DEVINFO_STR_NAME: strcpy(info->s, "UPD765B"); break; - - /* --- the following bits of info are returned as pointers to data or functions --- */ - case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(upd765b); break; - - default: DEVICE_GET_INFO_CALL(upd765a); break; - } -} - -DEVICE_GET_INFO( smc37c78 ) -{ - switch (state) - { - /* --- the following bits of info are returned as NULL-terminated strings --- */ - case DEVINFO_STR_NAME: strcpy(info->s, "SMC37C78"); break; - - /* --- the following bits of info are returned as pointers to data or functions --- */ - case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(smc37c78); break; - - default: DEVICE_GET_INFO_CALL(upd765a); break; - } -} - -DEVICE_GET_INFO( upd72065 ) -{ - switch (state) - { - /* --- the following bits of info are returned as NULL-terminated strings --- */ - case DEVINFO_STR_NAME: strcpy(info->s, "UPD72065"); break; - - /* --- the following bits of info are returned as pointers to data or functions --- */ - case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(upd72065); break; - - default: DEVICE_GET_INFO_CALL(upd765a); break; - } -} - const device_type UPD765A = &device_creator<upd765a_device>; upd765a_device::upd765a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |