mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
hh_tms1k: fix led mask for bankshot (nw)
This commit is contained in:
parent
891c542e25
commit
1b17d9882e
@ -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
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user