VIDEO_START_MEMBER(toaplan2_state,bgareggabl) { VIDEO_START_CALL_MEMBER( toaplan2 ); /* Create the Text tilemap for this game */ create_tx_tilemap(4, 4); }
VIDEO_START_MEMBER(toaplan2_state,truxton2) { VIDEO_START_CALL_MEMBER( toaplan2 ); /* Create the Text tilemap for this game */ m_gfxdecode->gfx(0)->set_source(reinterpret_cast<uint8_t *>(m_tx_gfxram.target())); create_tx_tilemap(0x1d5, 0x16a); }
VIDEO_START_MEMBER(toaplan2_state,truxton2) { VIDEO_START_CALL_MEMBER( toaplan2 ); /* Create the Text tilemap for this game */ m_gfxdecode->m_gfx[0]->set_source(reinterpret_cast<UINT8 *>(m_tx_gfxram16.target())); machine().save().register_postload(save_prepost_delegate(FUNC(toaplan2_state::truxton2_postload), this)); create_tx_tilemap(0x1d5, 0x16a); }
VIDEO_START_MEMBER(toaplan2_state,batrider) { VIDEO_START_CALL_MEMBER( toaplan2 ); m_vdp[0]->disable_sprite_buffer(); // disable buffering on this game /* Create the Text tilemap for this game */ m_gfxdecode->gfx(0)->set_source(reinterpret_cast<uint8_t *>(m_tx_gfxram.target())); create_tx_tilemap(0x1d4, 0x16b); /* Has special banking */ m_vdp[0]->set_gfxrom_banked(); }
VIDEO_START_MEMBER(toaplan2_state,fixeightbl) { VIDEO_START_CALL_MEMBER( toaplan2 ); /* Create the Text tilemap for this game */ create_tx_tilemap(); /* This bootleg has additional layer offsets on the VDP */ m_vdp[0]->set_tm_extra_offsets(0, -0x1d6 - 26, -0x1ef - 15, 0, 0 ); m_vdp[0]->set_tm_extra_offsets(1, -0x1d8 - 22, -0x1ef - 15, 0, 0 ); m_vdp[0]->set_tm_extra_offsets(2, -0x1da - 18, -0x1ef - 15, 0, 0 ); m_vdp[0]->set_sp_extra_offsets(8/*-0x1cc - 64*/, 8/*-0x1ef - 128*/, 0, 0); m_vdp[0]->init_scroll_regs(); }
VIDEO_START_MEMBER(toaplan2_state,batrider) { VIDEO_START_CALL_MEMBER( toaplan2 ); m_vdp0->sp.use_sprite_buffer = 0; // disable buffering on this game /* Create the Text tilemap for this game */ m_tx_gfxram16.allocate(RAIZING_TX_GFXRAM_SIZE/2); m_gfxdecode->m_gfx[0]->set_source(reinterpret_cast<UINT8 *>(m_tx_gfxram16.target())); machine().save().register_postload(save_prepost_delegate(FUNC(toaplan2_state::truxton2_postload), this)); create_tx_tilemap(0x1d4, 0x16b); /* Has special banking */ m_vdp0->gp9001_gfxrom_is_banked = 1; }
VIDEO_START_MEMBER(toaplan2_state,fixeightbl) { VIDEO_START_CALL_MEMBER( toaplan2 ); /* Create the Text tilemap for this game */ create_tx_tilemap(); /* This bootleg has additional layer offsets on the VDP */ m_vdp0->bg.extra_xoffset.normal = -0x1d6 -26; m_vdp0->bg.extra_yoffset.normal = -0x1ef -15; m_vdp0->fg.extra_xoffset.normal = -0x1d8 -22; m_vdp0->fg.extra_yoffset.normal = -0x1ef -15; m_vdp0->top.extra_xoffset.normal = -0x1da -18; m_vdp0->top.extra_yoffset.normal = -0x1ef -15; m_vdp0->sp.extra_xoffset.normal = 8;//-0x1cc -64; m_vdp0->sp.extra_yoffset.normal = 8;//-0x1ef -128; m_vdp0->init_scroll_regs(); }