mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
ROM banking and base color, nw
This commit is contained in:
parent
8b7b803578
commit
f4a3b0fbfa
@ -54,7 +54,7 @@ void metlfrzr_state::legacy_fg_draw(bitmap_ind16 &bitmap,const rectangle &clipre
|
|||||||
int x = count / 32;
|
int x = count / 32;
|
||||||
|
|
||||||
UINT16 tile = m_vram[count*2+0] + ((m_vram[count*2+1] & 0xf0) << 4);
|
UINT16 tile = m_vram[count*2+0] + ((m_vram[count*2+1] & 0xf0) << 4);
|
||||||
UINT8 color = 0;//(m_fgattr[count] & 0x3f) + (m_pal_bank<<6);
|
UINT8 color = m_vram[count*2+1] & 0xf;
|
||||||
|
|
||||||
gfx_0->transpen(bitmap,cliprect,tile,color,0,0,x*8,y*8,0xf);
|
gfx_0->transpen(bitmap,cliprect,tile,color,0,0,x*8,y*8,0xf);
|
||||||
}
|
}
|
||||||
@ -72,6 +72,8 @@ UINT32 metlfrzr_state::screen_update_metlfrzr(screen_device &screen, bitmap_ind1
|
|||||||
WRITE8_MEMBER(metlfrzr_state::output_w)
|
WRITE8_MEMBER(metlfrzr_state::output_w)
|
||||||
{
|
{
|
||||||
// bit 7: flip screen
|
// bit 7: flip screen
|
||||||
|
membank("bank1")->set_entry((data & 0xc) >> 2);
|
||||||
|
|
||||||
if(data & 0x7f)
|
if(data & 0x7f)
|
||||||
printf("%02x\n",data);
|
printf("%02x\n",data);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user