/*static INT32 cpu_get_active() { switch (nCpuType) { case 1: { return SekGetActive(); } case 2: { return VezGetActive(); } case 3: { return Sh2GetActive(); } case 4: { return m6502GetActive(); } case 5: { return ZetGetActive(); } case 6: { return M6809GetActive(); } case 7: { return HD6309GetActive(); } case 8: { return -1; } case 9: { return nActiveS2650; } } } */ static UINT8 cpu_read_byte(UINT32 a) { switch (nCpuType) { case 1: return SekReadByte(a); case 2: return cpu_readmem20(a); case 3: return Sh2ReadByte(a); case 4: return M6502ReadByte(a); case 5: return ZetReadByte(a); case 6: return M6809ReadByte(a); case 7: return HD6309ReadByte(a); case 8: return M6800ReadByte(a); case 9: return s2650_read(a); } return 0; }
/*static int cpu_get_active() { switch (nCpuType) { case 1: { return SekGetActive(); } case 2: { return VezGetActive(); } case 3: { return Sh2GetActive(); } case 4: { return m6502GetActive(); } case 5: { return ZetGetActive(); } case 6: { return M6809GetActive(); } case 7: { return HD6309GetActive(); } case 8: { return -1; } case 9: { return nActiveS2650; } } } */ static unsigned char cpu_read_byte(unsigned int a) { switch (nCpuType) { case 1: return SekReadByte(a); case 2: return cpu_readmem20(a); case 3: return Sh2ReadByte(a); case 4: return m6502_read_byte(a); case 5: return ZetReadByte(a); case 6: return M6809ReadByte(a); case 7: return HD6309ReadByte(a); case 8: return M6800ReadByte(a); case 9: return s2650_read(a); } return 0; }