Example #1
0
static READ8_HANDLER( shift_rev_r )
{
    UINT8 hi = *shift_hi ^ 0x07;
    UINT8 lo = BITSWAP8(*shift_lo,0,1,2,3,4,5,6,7);

    UINT8 ret = shift_common(hi, lo);

    return BITSWAP8(ret,7,0,1,2,3,4,5,6) & 0x7f;
}
Example #2
0
static READ8_HANDLER( shift_rev_r )
{
	madalien_state *state = space->machine().driver_data<madalien_state>();
	UINT8 hi = *state->m_shift_hi ^ 0x07;
	UINT8 lo = BITSWAP8(*state->m_shift_lo,0,1,2,3,4,5,6,7);

	UINT8 ret = shift_common(space->machine(), hi, lo);

	return BITSWAP8(ret,7,0,1,2,3,4,5,6) & 0x7f;
}
Example #3
0
static READ8_HANDLER( shift_r )
{
	madalien_state *state = space->machine().driver_data<madalien_state>();
	return shift_common(space->machine(), *state->m_shift_hi, *state->m_shift_lo);
}
Example #4
0
static READ8_HANDLER( shift_r )
{
    return shift_common(*shift_hi, *shift_lo);
}