mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
02947: turbosb6, turbosb7: [debug] Assertion [Phil Bennett]
This commit is contained in:
parent
54eb6adc8b
commit
3ed4a9ee43
@ -554,7 +554,7 @@ static READ8_HANDLER( tms5220_r )
|
|||||||
if (offset == 0)
|
if (offset == 0)
|
||||||
{
|
{
|
||||||
/* TMS5220 core returns status bits in D7-D6 */
|
/* TMS5220 core returns status bits in D7-D6 */
|
||||||
const device_config *tms = devtag_get_device(space->machine, SOUND, "tms");
|
const device_config *tms = devtag_get_device(space->machine, SOUND, "tms5220nl");
|
||||||
UINT8 status = tms5220_status_r(tms, 0);
|
UINT8 status = tms5220_status_r(tms, 0);
|
||||||
|
|
||||||
status = ((status & 0x80) >> 5) | ((status & 0x40) >> 5) | ((status & 0x20) >> 5);
|
status = ((status & 0x80) >> 5) | ((status & 0x40) >> 5) | ((status & 0x20) >> 5);
|
||||||
@ -567,7 +567,7 @@ static READ8_HANDLER( tms5220_r )
|
|||||||
/* TODO: Implement correctly using the state PROM */
|
/* TODO: Implement correctly using the state PROM */
|
||||||
static WRITE8_HANDLER( tms5220_w )
|
static WRITE8_HANDLER( tms5220_w )
|
||||||
{
|
{
|
||||||
const device_config *tms = devtag_get_device(space->machine, SOUND, "tms");
|
const device_config *tms = devtag_get_device(space->machine, SOUND, "tms5220nl");
|
||||||
if (offset == 0)
|
if (offset == 0)
|
||||||
{
|
{
|
||||||
tms_data = data;
|
tms_data = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user