Previous 199869 Revisions Next

r17913 Sunday 16th September, 2012 at 00:58:02 UTC by hap
fix ganjaja water
[src/mame/drivers]homerun.c
[src/mame/includes]homerun.h
[src/mame/video]homerun.c

trunk/src/mame/includes/homerun.h
r17912r17913
1515      m_maincpu(*this, "maincpu"),
1616      m_videoram(*this, "videoram"),
1717      m_spriteram(*this, "spriteram"),
18      m_colorram(*this, "colorram"),
1819      m_d7756(*this, "d7756"),
1920      m_samples(*this, "samples")
2021   { }
r17912r17913
2223   required_device<cpu_device> m_maincpu;
2324   required_shared_ptr<UINT8> m_videoram;
2425   required_shared_ptr<UINT8> m_spriteram;
26   required_shared_ptr<UINT8> m_colorram;
2527   optional_device<upd7756_device> m_d7756;
2628   optional_device<samples_device> m_samples;
2729
trunk/src/mame/video/homerun.c
r17912r17913
5353
5454WRITE8_MEMBER(homerun_state::homerun_color_w)
5555{
56   m_colorram[offset] = data;
57
5658   /* from PCB photo:
5759       bit 7:  470 ohm resistor \
5860       bit 6:  220 ohm resistor -  --> 470 ohm resistor  --> blue
trunk/src/mame/drivers/homerun.c
r17912r17913
1717 - dump homerun sample rom
1818 - improve controls/dips
1919 - fix sprite glitches in ganjaja Hop Step & Jump
20 - fix missing water tiles in ganjaja Hop Step & Jump
2120
2221-----------------------------------
2322Moero!! Pro Yakyuu Homerun Kyousou
r17912r17913
106105   AM_RANGE(0x4000, 0x7fff) AM_ROMBANK("bank1")
107106   AM_RANGE(0x8000, 0x9fff) AM_RAM_WRITE(homerun_videoram_w) AM_SHARE("videoram")
108107   AM_RANGE(0xa000, 0xa0ff) AM_RAM AM_SHARE("spriteram")
109   AM_RANGE(0xb000, 0xb0ff) AM_RAM_WRITE(homerun_color_w)
108   AM_RANGE(0xb000, 0xb03f) AM_RAM_WRITE(homerun_color_w) AM_SHARE("colorram")
110109   AM_RANGE(0xc000, 0xdfff) AM_RAM
111110ADDRESS_MAP_END
112111

Previous 199869 Revisions Next


© 1997-2024 The MAME Team