Ejemplo n.º 1
0
static READ16_HANDLER( pokey_word_r )
{
	if (offset & 0x10)
		return pokey2_r(offset & 0x0f);
	else
		return pokey1_r(offset & 0x0f);
}
Ejemplo n.º 2
0
static READ_HANDLER( dual_pokey_r )
{
	int pokey_num = (offset >> 3) & 0x01;
	int control = (offset & 0x10) >> 1;
	int pokey_reg = (offset % 8) | control;

	if (pokey_num == 0)
		return pokey1_r(pokey_reg);
	else
		return pokey2_r(pokey_reg);
}
Ejemplo n.º 3
0
static READ16_HANDLER( pokey2_word_r ) { return pokey2_r(offset); }
Ejemplo n.º 4
0
int foodf_pokey2_r (int offset) { return pokey2_r (offset/2); }