static WRITE8_HANDLER( pacland_flipscreen_w ) { int bit = !BIT(offset,11); /* can't use flip_screen_set(space->machine, ) because the visible area is asymmetrical */ flip_screen_set_no_update(space->machine, bit); tilemap_set_flip_all(space->machine,flip_screen_get(space->machine) ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0); }
void twincobr_flipscreen(running_machine *machine, int flip) { tilemap_set_flip_all(machine, (flip ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0)); twincobr_flip_screen = flip; if (flip) { scroll_x = -58; scroll_y = -29; if (toaplan_main_cpu == 1) scroll_y += 256; /* Wardner */ } else { scroll_x = 55; scroll_y = 30; } }
static WRITE8_HANDLER( sprcros2_m_port7_w ) { UINT8 *RAM = memory_region(space->machine, "master"); //76543210 //x------- unused //-x------ bankswitch halves of scm-01.10k into c000-dfff //--xx---- unused //----x--- irq enable //-----x-- ?? off with title flash and screen clears, possibly layer/sprite enable //------x- flip screen //-------x nmi enable if((sprcros2_m_port7^data)&0x40) memory_set_bankptr(space->machine, 1,&RAM[0x10000+((data&0x40)<<7)]); tilemap_set_flip_all( space->machine,data&0x02?(TILEMAP_FLIPX|TILEMAP_FLIPY):0 ); sprcros2_m_port7 = data; }
void karnov_flipscreen_w( running_machine *machine, int data ) { karnov_state *state = (karnov_state *)machine->driver_data; state->flipscreen = data; tilemap_set_flip_all(machine, state->flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0); }