mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
Final note, nw
This commit is contained in:
parent
bf5f643205
commit
de50674f43
@ -149,18 +149,28 @@ void fortyl_state::fortyl_set_scroll_x( int offset )
|
||||
m_bg_tilemap->set_scrollx(offset / 2, x);
|
||||
}
|
||||
|
||||
/*!
|
||||
@brief various video related outputs
|
||||
--x- ---- Screen disable bit
|
||||
---- x--- Global screen color bank
|
||||
---- -x-- Pix RAM color bank select
|
||||
---- ---x Flip Screen set
|
||||
*/
|
||||
WRITE8_MEMBER(fortyl_state::fortyl_pixram_sel_w)
|
||||
{
|
||||
int offs;
|
||||
int f = data & 0x01;
|
||||
bool col_bank = bool(data & 8);
|
||||
bool cur_col_bank = bool(data & 8);
|
||||
|
||||
if(data & 0xd2)
|
||||
popmessage("pixram sel = %02x, contact MAMEdev",data);
|
||||
|
||||
m_pixram_sel = (data & 0x04) >> 2;
|
||||
m_screen_disable = bool(data & 0x20); // Undoukai
|
||||
|
||||
if(col_bank != m_color_bank)
|
||||
if(cur_col_bank != m_color_bank)
|
||||
{
|
||||
m_color_bank = col_bank;
|
||||
m_color_bank = cur_col_bank;
|
||||
redraw_pixels();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user