mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
twin16.cpp: Correct polarity of uPD7759 ST line writes
This commit is contained in:
parent
63117eb131
commit
8dbba0b525
@ -150,12 +150,12 @@ uint8_t twin16_state::upd_busy_r()
|
||||
|
||||
void twin16_state::upd_reset_w(uint8_t data)
|
||||
{
|
||||
m_upd7759->reset_w(data & 2);
|
||||
m_upd7759->reset_w(BIT(data, 1));
|
||||
}
|
||||
|
||||
void twin16_state::upd_start_w(uint8_t data)
|
||||
{
|
||||
m_upd7759->start_w(data & 1);
|
||||
m_upd7759->start_w(!BIT(data, 0));
|
||||
}
|
||||
|
||||
/* Memory Maps */
|
||||
@ -634,6 +634,9 @@ void twin16_state::machine_reset()
|
||||
{
|
||||
m_CPUA_register = 0;
|
||||
m_CPUB_register = 0;
|
||||
|
||||
m_upd7759->reset_w(0);
|
||||
m_upd7759->start_w(1);
|
||||
}
|
||||
|
||||
void twin16_state::machine_start()
|
||||
|
Loading…
Reference in New Issue
Block a user