hook up 6840 read handler to berzerk.c

This commit is contained in:
Jonathan Gevaryahu 2010-03-21 07:03:26 +00:00
parent 24e7983604
commit b22cad44d4
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;
} }
} }

View File

@ -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 );