summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/scmp/scmp.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2009-11-23 11:19:15 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2009-11-23 11:19:15 +0000
commit7b1aa92c4d179d922b22074c74dd11e30d9d4946 (patch)
treedd7f77b52cc5ee174837d4967faf1561444587f3 /src/emu/cpu/scmp/scmp.c
parentd98fa09e1f7545f16147e7205ebd71eeafaf4bb6 (diff)
INS 8060 SC/MP II support (using clock divider 2), main model renamed to INS 8050 SC/MP
Diffstat (limited to 'src/emu/cpu/scmp/scmp.c')
-rw-r--r--src/emu/cpu/scmp/scmp.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/emu/cpu/scmp/scmp.c b/src/emu/cpu/scmp/scmp.c
index 529a4a28ad2..f93a70c9021 100644
--- a/src/emu/cpu/scmp/scmp.c
+++ b/src/emu/cpu/scmp/scmp.c
@@ -642,7 +642,7 @@ CPU_GET_INFO( scmp )
case CPUINFO_PTR_STATE_TABLE: info->state_table = &cpustate->state; break;
/* --- the following bits of info are returned as NULL-terminated strings --- */
- case DEVINFO_STR_NAME: strcpy(info->s, "SC/MP"); break;
+ case DEVINFO_STR_NAME: strcpy(info->s, "INS 8050 SC/MP"); break;
case DEVINFO_STR_FAMILY: strcpy(info->s, "National Semiconductor SC/MP"); break;
case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break;
case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break;
@@ -661,3 +661,20 @@ CPU_GET_INFO( scmp )
break;
}
}
+
+/**************************************************************************
+ * CPU-specific set_info
+ **************************************************************************/
+CPU_GET_INFO( ins8060 )
+{
+ switch (state)
+ {
+ /* --- the following bits of info are returned as pointers to data or functions --- */
+ case CPUINFO_INT_CLOCK_DIVIDER: info->i = 2; break;
+
+ /* --- the following bits of info are returned as NULL-terminated strings --- */
+ case DEVINFO_STR_NAME: strcpy(info->s, "INS 8060 SC/MP II"); break;
+
+ default: CPU_GET_INFO_CALL(scmp); break;
+ }
+}