use an equivalent read member function for mockingboard tms5220 rather than directly calling an internal tms5220 function, and add a note (nw)

This commit is contained in:
Lord-Nightmare 2018-09-13 12:25:45 -04:00
parent 3a949405af
commit 60ca98d14c

View File

@ -90,6 +90,7 @@ void a2bus_echoplus_device::device_add_mconfig(machine_config &config)
SPEAKER(config, "echosp").front_center();
TMS5220(config, m_tms, 640000);
// echo+ has a TSP5220C soldered down on it
m_tms->add_route(ALL_OUTPUTS, "echosp", 1.0);
}
@ -413,7 +414,7 @@ uint8_t a2bus_echoplus_device::read_c0nx(uint8_t offset)
switch (offset)
{
case 0:
return 0x1f | m_tms->read_status();
return 0x1f | m_tms->status_r(machine().dummy_space(), 0, 0xff);
}
return 0;