void deco16_get_info(UINT32 state, cpuinfo *info) { switch (state) { /* --- the following bits of info are returned as 64-bit signed integers --- */ case CPUINFO_INT_DATABUS_WIDTH + ADDRESS_SPACE_IO: info->i = 8; break; case CPUINFO_INT_ADDRBUS_WIDTH + ADDRESS_SPACE_IO: info->i = 8; break; /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_SET_INFO: info->setinfo = deco16_set_info; break; case CPUINFO_PTR_INIT: info->init = deco16_init; break; case CPUINFO_PTR_RESET: info->reset = deco16_reset; break; case CPUINFO_PTR_EXECUTE: info->execute = deco16_execute; break; #ifdef MAME_DEBUG case CPUINFO_PTR_DISASSEMBLE: info->disassemble = deco16_dasm; break; #endif /* --- the following bits of info are returned as NULL-terminated strings --- */ case CPUINFO_STR_NAME: strcpy(info->s, "DECO CPU16"); break; case CPUINFO_STR_CORE_FAMILY: strcpy(info->s, "DECO"); break; case CPUINFO_STR_CORE_VERSION: strcpy(info->s, "0.1"); break; case CPUINFO_STR_CORE_FILE: strcpy(info->s, __FILE__); break; case CPUINFO_STR_CORE_CREDITS: strcpy(info->s, "Copyright (c) 1998 Juergen Buchmueller\nCopyright (c) 2001-2003 Bryan McPhail\nall rights reserved."); break; default: m6502_get_info(state, info); break; } }
void n2a03_get_info(UINT32 state, cpuinfo *info) { switch (state) { /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_INIT: info->init = n2a03_init; break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case CPUINFO_STR_NAME: strcpy(info->s, "N2A03"); break; default: m6502_get_info(state, info); break; } }
void n2a03_get_info(UINT32 state, union cpuinfo *info) { switch (state) { /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_INIT: info->init = n2a03_init; break; case CPUINFO_PTR_REGISTER_LAYOUT: info->p = n2a03_reg_layout; break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case CPUINFO_STR_NAME: strcpy(info->s = cpuintrf_temp_str(), "N2A03"); break; default: m6502_get_info(state, info); break; } }
void m8502_get_info(UINT32 state, union cpuinfo *info) { switch (state) { /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_INIT: info->init = m6510_init; break; case CPUINFO_PTR_DISASSEMBLE: info->disassemble = m6510_dasm; break; case CPUINFO_PTR_REGISTER_LAYOUT: info->p = m6510_reg_layout; break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case CPUINFO_STR_NAME: strcpy(info->s = cpuintrf_temp_str(), "M8502"); break; default: m6502_get_info(state, info); break; } }
void m65c02_get_info(UINT32 state, cpuinfo *info) { switch (state) { /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_SET_INFO: info->setinfo = m65c02_set_info; break; case CPUINFO_PTR_INIT: info->init = m65c02_init; break; case CPUINFO_PTR_RESET: info->reset = m65c02_reset; break; case CPUINFO_PTR_EXECUTE: info->execute = m65c02_execute; break; #ifdef MAME_DEBUG case CPUINFO_PTR_DISASSEMBLE: info->disassemble = m65c02_dasm; break; #endif /* --- the following bits of info are returned as NULL-terminated strings --- */ case CPUINFO_STR_NAME: strcpy(info->s, "M65C02"); break; default: m6502_get_info(state, info); break; } }
void m65c02_get_info(UINT32 state, union cpuinfo *info) { switch (state) { /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_SET_INFO: info->setinfo = m65c02_set_info; break; case CPUINFO_PTR_INIT: info->init = m65c02_init; break; case CPUINFO_PTR_RESET: info->reset = m65c02_reset; break; case CPUINFO_PTR_EXECUTE: info->execute = m65c02_execute; break; case CPUINFO_PTR_REGISTER_LAYOUT: info->p = m65c02_reg_layout; break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case CPUINFO_STR_NAME: strcpy(info->s = cpuintrf_temp_str(), "M65C02"); break; default: m6502_get_info(state, info); break; } }
void m6510_get_info(UINT32 state, cpuinfo *info) { switch (state) { /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_SET_INFO: info->setinfo = m6510_set_info; break; case CPUINFO_PTR_INIT: info->init = m6510_init; break; case CPUINFO_PTR_RESET: info->reset = m6510_reset; break; #ifdef MAME_DEBUG case CPUINFO_PTR_DISASSEMBLE: info->disassemble = m6510_dasm; break; #endif case CPUINFO_PTR_INTERNAL_MEMORY_MAP: info->internal_map = construct_map_m6510_mem; break; case CPUINFO_PTR_M6510_PORTREAD: info->f = (genf *) m6502.port_read; break; case CPUINFO_PTR_M6510_PORTWRITE: info->f = (genf *) m6502.port_write; break; /* --- the following bits of info are returned as NULL-terminated strings --- */ case CPUINFO_STR_NAME: strcpy(info->s, "M6510"); break; /* --- the following bits of info are set as 64-bit signed integers --- */ case CPUINFO_INT_M6510_PORT: info->i = m6510_get_port(); break; default: m6502_get_info(state, info); break; } }