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