hh_tms1k: fix led mask for bankshot (nw)

This commit is contained in:
hap 2018-01-23 17:41:16 +01:00
parent 891c542e25
commit 1b17d9882e
2 changed files with 6 additions and 4 deletions

View File

@ -6,6 +6,9 @@
TODO: TODO:
- accurate INIT pin (currently, just use INPUT_LINE_RESET) - 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 The TMS0980 and TMS1000-family MCU cores are very similar. The TMS0980 has a

View File

@ -7218,7 +7218,7 @@ public:
void bankshot_state::prepare_display() 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) WRITE16_MEMBER(bankshot_state::write_r)
@ -7236,9 +7236,8 @@ WRITE16_MEMBER(bankshot_state::write_r)
WRITE16_MEMBER(bankshot_state::write_o) WRITE16_MEMBER(bankshot_state::write_o)
{ {
// O0-O6: led state // O0-O7: led state
// O7: N/C m_o = data;
m_o = data & 0x7f;
prepare_display(); prepare_display();
} }