Previous 199869 Revisions Next

r23627 Tuesday 11th June, 2013 at 10:43:53 UTC by hap
(notes)
[src/mame/drivers]8080bw.c seibuspi.c
[src/mame/video]seibuspi.c

trunk/src/mame/video/seibuspi.c
r23626r23627
492492   int i;
493493   int region_length;
494494
495   m_text_layer    = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(seibuspi_state::get_text_tile_info),this), TILEMAP_SCAN_ROWS,  8,8,64,32 );
495   m_text_layer    = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(seibuspi_state::get_text_tile_info),this), TILEMAP_SCAN_ROWS,  8, 8, 64,32 );
496496   m_back_layer    = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(seibuspi_state::get_back_tile_info),this), TILEMAP_SCAN_COLS,  16,16,32,32 );
497   m_mid_layer = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(seibuspi_state::get_mid_tile_info),this), TILEMAP_SCAN_COLS,  16,16,32,32 );
497   m_mid_layer     = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(seibuspi_state::get_mid_tile_info), this), TILEMAP_SCAN_COLS,  16,16,32,32 );
498498   m_fore_layer    = &machine().tilemap().create(tilemap_get_info_delegate(FUNC(seibuspi_state::get_fore_tile_info),this), TILEMAP_SCAN_COLS,  16,16,32,32 );
499499
500500   m_text_layer->set_transparent_pen(31);
r23626r23627
550550   }
551551}
552552
553#ifdef UNUSED_FUNCTION
554void seibuspi_state::set_rowscroll(tilemap_t *layer, int scroll, INT16* rows)
555{
556   int i;
557   int x = m_scrollram[scroll] & 0xffff;
558   int y = (m_scrollram[scroll] >> 16) & 0xffff;
559   layer->set_scroll_rows(512);
560   for( i=0; i < 512; i++ )
561   {
562      layer->set_scrollx(i, x + rows[i]);
563   }
564   layer->set_scrolly(0, y);
565}
566553
567void seibuspi_state::set_scroll(tilemap_t *layer, int scroll)
568{
569   int x = m_scrollram[scroll] & 0xffff;
570   int y = (m_scrollram[scroll] >> 16) & 0xffff;
571   layer->set_scrollx(0, x);
572   layer->set_scrolly(0, y);
573}
574#endif
575
576
577554void seibuspi_state::combine_tilemap(bitmap_rgb32 &bitmap, const rectangle &cliprect, tilemap_t *tile, int x, int y, int opaque, INT16 *rowscroll)
578555{
579556   int i,j;
trunk/src/mame/drivers/8080bw.c
r23626r23627
30243024  Not much information is available for this game.
30253025  It may have had an amber monitor?
30263026
3027  XTAL 20MHz
3027  20MHz XTAL, 2MHz CPU
3028  video: 15625Hz
30283029
30293030  TODO: sound
30303031
r23626r23627
30323033
30333034static ADDRESS_MAP_START( attackfc_io_map, AS_IO, 8, _8080bw_state )
30343035   AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
3035   AM_RANGE(0x02, 0x02) AM_WRITENOP
3036   AM_RANGE(0x02, 0x02) AM_WRITENOP // lamp?
30363037   AM_RANGE(0x03, 0x03) AM_DEVREADWRITE("mb14241", mb14241_device, shift_result_r, shift_data_w)
3037   AM_RANGE(0x04, 0x04) AM_WRITENOP
3038   AM_RANGE(0x05, 0x05) AM_WRITENOP
3039   AM_RANGE(0x06, 0x06) AM_WRITENOP
3038   AM_RANGE(0x04, 0x04) AM_WRITENOP // coinlock?
3039   AM_RANGE(0x05, 0x05) AM_WRITENOP // sound?
3040   AM_RANGE(0x06, 0x06) AM_WRITENOP // sound?
30403041   AM_RANGE(0x07, 0x07) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
30413042ADDRESS_MAP_END
30423043
trunk/src/mame/drivers/seibuspi.c
r23626r23627
5252- Improve alpha blending. In Viper Phase 1, see the blue "Viper" logo when on the
5353  "push 1 or 2 players button" screen. Note that the alpha blended red logo on the
5454  title screen is tiles(that effect is emulated), this blue logo is sprites.
55  The current implementation is a crude hack.
5556
5657*/
5758

Previous 199869 Revisions Next


© 1997-2024 The MAME Team