mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
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:
parent
3a949405af
commit
60ca98d14c
@ -90,6 +90,7 @@ void a2bus_echoplus_device::device_add_mconfig(machine_config &config)
|
|||||||
|
|
||||||
SPEAKER(config, "echosp").front_center();
|
SPEAKER(config, "echosp").front_center();
|
||||||
TMS5220(config, m_tms, 640000);
|
TMS5220(config, m_tms, 640000);
|
||||||
|
// echo+ has a TSP5220C soldered down on it
|
||||||
m_tms->add_route(ALL_OUTPUTS, "echosp", 1.0);
|
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)
|
switch (offset)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
return 0x1f | m_tms->read_status();
|
return 0x1f | m_tms->status_r(machine().dummy_space(), 0, 0xff);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user