mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
(notes)
This commit is contained in:
parent
0d4a88ab7b
commit
61734ad07c
@ -3024,7 +3024,8 @@ INPUT_PORTS_END
|
|||||||
Not much information is available for this game.
|
Not much information is available for this game.
|
||||||
It may have had an amber monitor?
|
It may have had an amber monitor?
|
||||||
|
|
||||||
XTAL 20MHz
|
20MHz XTAL, 2MHz CPU
|
||||||
|
video: 15625Hz
|
||||||
|
|
||||||
TODO: sound
|
TODO: sound
|
||||||
|
|
||||||
@ -3032,11 +3033,11 @@ INPUT_PORTS_END
|
|||||||
|
|
||||||
static ADDRESS_MAP_START( attackfc_io_map, AS_IO, 8, _8080bw_state )
|
static ADDRESS_MAP_START( attackfc_io_map, AS_IO, 8, _8080bw_state )
|
||||||
AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
|
AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
|
||||||
AM_RANGE(0x02, 0x02) AM_WRITENOP
|
AM_RANGE(0x02, 0x02) AM_WRITENOP // lamp?
|
||||||
AM_RANGE(0x03, 0x03) AM_DEVREADWRITE("mb14241", mb14241_device, shift_result_r, shift_data_w)
|
AM_RANGE(0x03, 0x03) AM_DEVREADWRITE("mb14241", mb14241_device, shift_result_r, shift_data_w)
|
||||||
AM_RANGE(0x04, 0x04) AM_WRITENOP
|
AM_RANGE(0x04, 0x04) AM_WRITENOP // coinlock?
|
||||||
AM_RANGE(0x05, 0x05) AM_WRITENOP
|
AM_RANGE(0x05, 0x05) AM_WRITENOP // sound?
|
||||||
AM_RANGE(0x06, 0x06) AM_WRITENOP
|
AM_RANGE(0x06, 0x06) AM_WRITENOP // sound?
|
||||||
AM_RANGE(0x07, 0x07) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
|
AM_RANGE(0x07, 0x07) AM_DEVWRITE("mb14241", mb14241_device, shift_count_w)
|
||||||
ADDRESS_MAP_END
|
ADDRESS_MAP_END
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ TODO:
|
|||||||
- Improve alpha blending. In Viper Phase 1, see the blue "Viper" logo when on the
|
- Improve alpha blending. In Viper Phase 1, see the blue "Viper" logo when on the
|
||||||
"push 1 or 2 players button" screen. Note that the alpha blended red logo on the
|
"push 1 or 2 players button" screen. Note that the alpha blended red logo on the
|
||||||
title screen is tiles(that effect is emulated), this blue logo is sprites.
|
title screen is tiles(that effect is emulated), this blue logo is sprites.
|
||||||
|
The current implementation is a crude hack.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -492,9 +492,9 @@ VIDEO_START_MEMBER(seibuspi_state,spi)
|
|||||||
int i;
|
int i;
|
||||||
int region_length;
|
int region_length;
|
||||||
|
|
||||||
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 );
|
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 );
|
||||||
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 );
|
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 );
|
||||||
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 );
|
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 );
|
||||||
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 );
|
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 );
|
||||||
|
|
||||||
m_text_layer->set_transparent_pen(31);
|
m_text_layer->set_transparent_pen(31);
|
||||||
@ -550,29 +550,6 @@ VIDEO_START_MEMBER(seibuspi_state,spi)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef UNUSED_FUNCTION
|
|
||||||
void seibuspi_state::set_rowscroll(tilemap_t *layer, int scroll, INT16* rows)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
int x = m_scrollram[scroll] & 0xffff;
|
|
||||||
int y = (m_scrollram[scroll] >> 16) & 0xffff;
|
|
||||||
layer->set_scroll_rows(512);
|
|
||||||
for( i=0; i < 512; i++ )
|
|
||||||
{
|
|
||||||
layer->set_scrollx(i, x + rows[i]);
|
|
||||||
}
|
|
||||||
layer->set_scrolly(0, y);
|
|
||||||
}
|
|
||||||
|
|
||||||
void seibuspi_state::set_scroll(tilemap_t *layer, int scroll)
|
|
||||||
{
|
|
||||||
int x = m_scrollram[scroll] & 0xffff;
|
|
||||||
int y = (m_scrollram[scroll] >> 16) & 0xffff;
|
|
||||||
layer->set_scrollx(0, x);
|
|
||||||
layer->set_scrolly(0, y);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
void seibuspi_state::combine_tilemap(bitmap_rgb32 &bitmap, const rectangle &cliprect, tilemap_t *tile, int x, int y, int opaque, INT16 *rowscroll)
|
void seibuspi_state::combine_tilemap(bitmap_rgb32 &bitmap, const rectangle &cliprect, tilemap_t *tile, int x, int y, int opaque, INT16 *rowscroll)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user