Esempio n. 1
0
static READ16_HANDLER( pokey_word_r )
{
	if (offset & 0x10)
		return pokey2_r(offset & 0x0f);
	else
		return pokey1_r(offset & 0x0f);
}
Esempio 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);
}
Esempio n. 3
0
static READ16_HANDLER( pokey1_word_r ) { return pokey1_r(offset); }
Esempio n. 4
0
int foodf_pokey1_r (int offset) { return pokey1_r (offset/2); }