Exemple #1
0
static WRITE8_DEVICE_HANDLER( n7751_p2_w )
{
    /* write to P2; low 4 bits go to 8243 */
    i8243_p2_w(device, offset, data & 0x0f);

    /* output of bit $80 indicates we are ready (1) or busy (0) */
    /* no other outputs are used */
    n7751_busy = data;
}
static WRITE8_DEVICE_HANDLER( n7751_p2_w )
{
	othello_state *state = device->machine().driver_data<othello_state>();

	/* write to P2; low 4 bits go to 8243 */
	i8243_p2_w(device, offset, data & 0x0f);

	/* output of bit $80 indicates we are ready (1) or busy (0) */
	/* no other outputs are used */
	state->m_n7751_busy = data;
}