summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2017-10-17 13:54:43 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2017-10-17 13:54:43 -0400
commitf61a7177661da922de5b772e12b6339866034a2d (patch) (github)
treedbf074e41b188e483810fb57624df1394b42ba4c
parent8f0d2b5735165e495ff18f722fdfc16ec8a39108 (diff)
downloadmame-f61a7177661da922de5b772e12b6339866034a2d.tar.bz2
mame-f61a7177661da922de5b772e12b6339866034a2d.zip
tk80.cpp: Correct clocks and CPU type for nectk85 (nw)
-rw-r--r--src/mame/drivers/tk80.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/tk80.cpp b/src/mame/drivers/tk80.cpp
index 0e9424e0c88..d9be3869a7b 100644
--- a/src/mame/drivers/tk80.cpp
+++ b/src/mame/drivers/tk80.cpp
@@ -14,8 +14,8 @@ TK80 (Training Kit 80) considered to be Japan's first home computer.
It consisted of 25 keys and 8 LED digits, and was programmed in hex.
The Mikrolab is a Russian clone which appears to be almost completely identical.
-TK85 seems to be the same as TK80, except is has a larger ROM. No
-schematics etc are available. Thanks to 'Nama' who dumped the rom.
+TK85 seems to be the same as TK80, except it has a 8085 and a larger ROM.
+No schematics etc are available. Thanks to 'Nama' who dumped the rom.
It has 25 keys, so a few aren't defined yet.
ND-80Z : http://www.alles.or.jp/~thisida/nd80z3syokai.html (newer version)
@@ -250,7 +250,7 @@ WRITE8_MEMBER( tk80_state::mikrolab_serial_w )
static MACHINE_CONFIG_START( tk80 )
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu",I8080, XTAL_1MHz) // 18.432 / 9
+ MCFG_CPU_ADD("maincpu", I8080A, XTAL_18_432MHz / 9)
MCFG_CPU_PROGRAM_MAP(tk80_mem)
MCFG_CPU_IO_MAP(tk80_io)
@@ -293,8 +293,9 @@ static MACHINE_CONFIG_START( nd80z )
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( tk85, tk80 )
- MCFG_CPU_MODIFY("maincpu")
+ MCFG_CPU_REPLACE("maincpu", I8085A, XTAL_4_9152MHz)
MCFG_CPU_PROGRAM_MAP(tk85_mem)
+ MCFG_CPU_IO_MAP(tk80_io)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( ics8080, tk80 )