diff options
author | 2018-01-23 17:41:16 +0100 | |
---|---|---|
committer | 2018-01-23 17:41:35 +0100 | |
commit | 1b17d9882e14c1b00f08049e160224ddf8d098e6 (patch) | |
tree | c85df17557d61797c207f70a80e6bfead8a373b4 | |
parent | 891c542e25f94c7d80887ffa6f03710d7143beca (diff) |
hh_tms1k: fix led mask for bankshot (nw)
-rw-r--r-- | src/devices/cpu/tms1000/tms1k_base.cpp | 3 | ||||
-rw-r--r-- | src/mame/drivers/hh_tms1k.cpp | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/cpu/tms1000/tms1k_base.cpp b/src/devices/cpu/tms1000/tms1k_base.cpp index 780cb399cd3..62ff54cdd0d 100644 --- a/src/devices/cpu/tms1000/tms1k_base.cpp +++ b/src/devices/cpu/tms1000/tms1k_base.cpp @@ -6,6 +6,9 @@ TODO: - accurate INIT pin (currently, just use INPUT_LINE_RESET) + - emulate newer die revisions? TMS1xxx rev. E and up have 4 cycles + per opcode instead of 6. But which steps go where, is unknown. + For now, just overclock the MCU instead. The TMS0980 and TMS1000-family MCU cores are very similar. The TMS0980 has a diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index 0ab920fa945..44976c5aac4 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -7218,7 +7218,7 @@ public: void bankshot_state::prepare_display() { - display_matrix(7, 11, m_o, m_r & ~3); + display_matrix(8, 11, m_o, m_r & ~3); } WRITE16_MEMBER(bankshot_state::write_r) @@ -7236,9 +7236,8 @@ WRITE16_MEMBER(bankshot_state::write_r) WRITE16_MEMBER(bankshot_state::write_o) { - // O0-O6: led state - // O7: N/C - m_o = data & 0x7f; + // O0-O7: led state + m_o = data; prepare_display(); } |