mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
hook up 6840 read handler to berzerk.c
This commit is contained in:
parent
24e7983604
commit
b22cad44d4
@ -604,7 +604,7 @@ static READ8_HANDLER( exidy_sh8253_r )
|
|||||||
*
|
*
|
||||||
*************************************/
|
*************************************/
|
||||||
|
|
||||||
static READ8_HANDLER( exidy_sh6840_r )
|
READ8_HANDLER( exidy_sh6840_r )
|
||||||
{
|
{
|
||||||
logerror("%04X:exidy_sh6840_r - unexpected read", cpu_get_pc(space->cpu));
|
logerror("%04X:exidy_sh6840_r - unexpected read", cpu_get_pc(space->cpu));
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -536,8 +536,7 @@ static READ8_HANDLER( berzerk_audio_r )
|
|||||||
return 0;
|
return 0;
|
||||||
/* everything else reads from the 6840 */
|
/* everything else reads from the 6840 */
|
||||||
default:
|
default:
|
||||||
//return exidy_sh6840_r(space, offset); // todo: finish this
|
return exidy_sh6840_r(space, offset);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
DEVICE_GET_INFO( exidy_sound );
|
DEVICE_GET_INFO( exidy_sound );
|
||||||
#define SOUND_EXIDY DEVICE_GET_INFO_NAME( exidy_sound )
|
#define SOUND_EXIDY DEVICE_GET_INFO_NAME( exidy_sound )
|
||||||
|
|
||||||
|
READ8_HANDLER( exidy_sh6840_r );
|
||||||
WRITE8_HANDLER( exidy_sh6840_w );
|
WRITE8_HANDLER( exidy_sh6840_w );
|
||||||
WRITE8_HANDLER( exidy_sfxctrl_w );
|
WRITE8_HANDLER( exidy_sfxctrl_w );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user