Previous 199869 Revisions Next

r32746 Tuesday 14th October, 2014 at 18:45:24 UTC by David Haywood
bl scroll (nw)
[src/mame/drivers]mario.c
[src/mame/includes]mario.h
[src/mame/video]mario.c

trunk/src/mame/includes/mario.h
r32745r32746
7676   DECLARE_WRITE8_MEMBER(mario_gfxbank_w);
7777   DECLARE_WRITE8_MEMBER(mario_palettebank_w);
7878   DECLARE_WRITE8_MEMBER(mario_scroll_w);
79   DECLARE_WRITE8_MEMBER(mariobl_scroll_w);
7980   DECLARE_WRITE8_MEMBER(mario_flip_w);
8081   DECLARE_READ8_MEMBER(mario_sh_p1_r);
8182   DECLARE_READ8_MEMBER(mario_sh_p2_r);
trunk/src/mame/video/mario.c
r32745r32746
105105   m_gfx_scroll = data + 17;
106106}
107107
108WRITE8_MEMBER(mario_state::mariobl_scroll_w)
109{
110   m_gfx_scroll = data;
111}
112
108113WRITE8_MEMBER(mario_state::mario_flip_w)
109114{
110115   if (m_flip != (data & 0x01))
trunk/src/mame/drivers/mario.c
r32745r32746
178178   AM_RANGE(0x0000, 0x5fff) AM_ROM
179179   AM_RANGE(0x6000, 0x6fff) AM_RAM
180180   AM_RANGE(0x7000, 0x71ff) AM_RAM AM_SHARE("spriteram") /* physical sprite ram */
181   AM_RANGE(0x7200, 0x73ff) AM_RAM // attrram?
181   AM_RANGE(0x7200, 0x72ff) AM_RAM // attrram? (only enough for sprites?)
182   AM_RANGE(0x7300, 0x737f) AM_RAM // probably x-scroll?
183   AM_RANGE(0x7380, 0x7380) AM_WRITE(mariobl_scroll_w)
184   AM_RANGE(0x7281, 0x73ff) AM_RAM // seems to have scroll vals for every column on this bl
182185   AM_RANGE(0x7400, 0x77ff) AM_RAM_WRITE(mario_videoram_w) AM_SHARE("videoram")
183186   //AM_RANGE(0xa000, 0xa000) AM_READ_PORT("IN1")
184187   AM_RANGE(0xa000, 0xa000) AM_READNOP   /* watchdog? */

Previous 199869 Revisions Next


© 1997-2024 The MAME Team