static WRITE8_HANDLER( orbit_misc_w ) { orbit_state *state = space->machine().driver_data<orbit_state>(); UINT8 bit = offset >> 1; if (offset & 1) update_misc_flags(space->machine(), state->m_misc_flags | (1 << bit)); else update_misc_flags(space->machine(), state->m_misc_flags & ~(1 << bit)); }
static WRITE8_HANDLER( orbit_misc_w ) { orbit_state *state = (orbit_state *)space->machine->driver_data; UINT8 bit = offset >> 1; if (offset & 1) update_misc_flags(space->machine, state->misc_flags | (1 << bit)); else update_misc_flags(space->machine, state->misc_flags & ~(1 << bit)); }
static MACHINE_RESET( orbit ) { orbit_state *state = machine.driver_data<orbit_state>(); update_misc_flags(machine, 0); state->m_flip_screen = 0; }
static MACHINE_RESET( orbit ) { orbit_state *state = (orbit_state *)machine->driver_data; update_misc_flags(machine, 0); state->flip_screen = 0; }