static void r6532_write_portA(int n, UINT8 data) { r6532[n]->DRA = data; if (r6532[n]->intf.portA_w != NULL) { r6532[n]->intf.portA_w(0, r6532_combineA(n, 0xFF)); } }
static UINT8 r6532_read_portA(int n) { if (r6532[n]->intf.portA_r != NULL) { return r6532_combineA(n, r6532[n]->intf.portA_r(0)); } logerror("Read from unhandled 6532 #%d port A\n", n); return 0; }
static void r6532_write_portA(int n, UINT8 data) { r6532[n]->DRA = data; if (r6532[n]->intf.portA_w != NULL) { r6532[n]->intf.portA_w(0, r6532_combineA(n, 0xFF)); } else logerror("Write %02x to unhandled 6532 #%d port A\n", data, n); }