mirror of
https://github.com/holub/mame
synced 2025-05-19 03:59:35 +03:00
was laying, one more cleanup, now really done for today (nw)
This commit is contained in:
parent
567f503aac
commit
63d27773a9
@ -584,8 +584,6 @@ void esd16_state::machine_start()
|
|||||||
|
|
||||||
membank("bank1")->configure_entries(0, 16, &AUDIO[0x0000], 0x4000);
|
membank("bank1")->configure_entries(0, 16, &AUDIO[0x0000], 0x4000);
|
||||||
|
|
||||||
m_eeprom = machine().device<eeprom_device>("eeprom");
|
|
||||||
|
|
||||||
save_item(NAME(m_tilemap0_color));
|
save_item(NAME(m_tilemap0_color));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -501,7 +501,6 @@ static const ym2610_interface ym2610_config =
|
|||||||
|
|
||||||
MACHINE_START_MEMBER(fromanc2_state,fromanc4)
|
MACHINE_START_MEMBER(fromanc2_state,fromanc4)
|
||||||
{
|
{
|
||||||
m_eeprom = machine().device("eeprom");
|
|
||||||
m_left_screen = machine().device("lscreen");
|
m_left_screen = machine().device("lscreen");
|
||||||
m_right_screen = machine().device("rscreen");
|
m_right_screen = machine().device("rscreen");
|
||||||
|
|
||||||
|
@ -664,7 +664,6 @@ void othunder_state::machine_start()
|
|||||||
{
|
{
|
||||||
membank("bank10")->configure_entries(0, 4, memregion("audiocpu")->base() + 0xc000, 0x4000);
|
membank("bank10")->configure_entries(0, 4, memregion("audiocpu")->base() + 0xc000, 0x4000);
|
||||||
|
|
||||||
m_eeprom = machine().device<eeprom_device>("eeprom");
|
|
||||||
m_tc0220ioc = machine().device("tc0220ioc");
|
m_tc0220ioc = machine().device("tc0220ioc");
|
||||||
m_tc0100scn = machine().device("tc0100scn");
|
m_tc0100scn = machine().device("tc0100scn");
|
||||||
m_tc0110pcr = machine().device("tc0110pcr");
|
m_tc0110pcr = machine().device("tc0110pcr");
|
||||||
|
@ -1022,8 +1022,6 @@ GFXDECODE_END
|
|||||||
|
|
||||||
MACHINE_START_MEMBER(playmark_state,playmark)
|
MACHINE_START_MEMBER(playmark_state,playmark)
|
||||||
{
|
{
|
||||||
m_eeprom = machine().device<eeprom_device>("eeprom");
|
|
||||||
|
|
||||||
save_item(NAME(m_bgscrollx));
|
save_item(NAME(m_bgscrollx));
|
||||||
save_item(NAME(m_bgscrolly));
|
save_item(NAME(m_bgscrolly));
|
||||||
save_item(NAME(m_bg_enable));
|
save_item(NAME(m_bg_enable));
|
||||||
|
@ -3029,7 +3029,6 @@ void taitoz_state::taitoz_postload()
|
|||||||
|
|
||||||
MACHINE_START_MEMBER(taitoz_state,bshark)
|
MACHINE_START_MEMBER(taitoz_state,bshark)
|
||||||
{
|
{
|
||||||
m_eeprom = machine().device<eeprom_device>("eeprom");
|
|
||||||
m_tc0100scn = machine().device("tc0100scn");
|
m_tc0100scn = machine().device("tc0100scn");
|
||||||
m_tc0150rod = machine().device("tc0150rod");
|
m_tc0150rod = machine().device("tc0150rod");
|
||||||
m_tc0480scp = machine().device("tc0480scp");
|
m_tc0480scp = machine().device("tc0480scp");
|
||||||
|
@ -21,6 +21,7 @@ public:
|
|||||||
m_headpanic_platform_x(*this, "platform_x"),
|
m_headpanic_platform_x(*this, "platform_x"),
|
||||||
m_headpanic_platform_y(*this, "platform_y"),
|
m_headpanic_platform_y(*this, "platform_y"),
|
||||||
m_sprgen(*this, "spritegen"),
|
m_sprgen(*this, "spritegen"),
|
||||||
|
m_eeprom(*this, "eeprom"),
|
||||||
m_maincpu(*this, "maincpu"),
|
m_maincpu(*this, "maincpu"),
|
||||||
m_audiocpu(*this, "audiocpu") {
|
m_audiocpu(*this, "audiocpu") {
|
||||||
m_tilemap0_color = 0;
|
m_tilemap0_color = 0;
|
||||||
@ -48,7 +49,7 @@ public:
|
|||||||
int m_tilemap1_color;
|
int m_tilemap1_color;
|
||||||
|
|
||||||
/* devices */
|
/* devices */
|
||||||
eeprom_device *m_eeprom;
|
optional_device<eeprom_device> m_eeprom;
|
||||||
DECLARE_WRITE16_MEMBER(esd16_sound_command_w);
|
DECLARE_WRITE16_MEMBER(esd16_sound_command_w);
|
||||||
DECLARE_WRITE16_MEMBER(hedpanic_platform_w);
|
DECLARE_WRITE16_MEMBER(hedpanic_platform_w);
|
||||||
DECLARE_READ16_MEMBER(esd_eeprom_r);
|
DECLARE_READ16_MEMBER(esd_eeprom_r);
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "machine/eeprom.h"
|
||||||
|
|
||||||
class fromanc2_state : public driver_device
|
class fromanc2_state : public driver_device
|
||||||
{
|
{
|
||||||
@ -5,7 +6,8 @@ public:
|
|||||||
fromanc2_state(const machine_config &mconfig, device_type type, const char *tag)
|
fromanc2_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
: driver_device(mconfig, type, tag),
|
: driver_device(mconfig, type, tag),
|
||||||
m_audiocpu(*this, "audiocpu"),
|
m_audiocpu(*this, "audiocpu"),
|
||||||
m_subcpu(*this, "sub") ,
|
m_subcpu(*this, "sub"),
|
||||||
|
m_eeprom(*this, "eeprom"),
|
||||||
m_maincpu(*this, "maincpu") { }
|
m_maincpu(*this, "maincpu") { }
|
||||||
|
|
||||||
/* memory pointers */
|
/* memory pointers */
|
||||||
@ -31,7 +33,7 @@ public:
|
|||||||
/* devices */
|
/* devices */
|
||||||
required_device<cpu_device> m_audiocpu;
|
required_device<cpu_device> m_audiocpu;
|
||||||
optional_device<cpu_device> m_subcpu;
|
optional_device<cpu_device> m_subcpu;
|
||||||
device_t *m_eeprom;
|
optional_device<eeprom_device> m_eeprom;
|
||||||
device_t *m_left_screen;
|
device_t *m_left_screen;
|
||||||
device_t *m_right_screen;
|
device_t *m_right_screen;
|
||||||
DECLARE_WRITE16_MEMBER(fromanc2_sndcmd_w);
|
DECLARE_WRITE16_MEMBER(fromanc2_sndcmd_w);
|
||||||
|
@ -26,7 +26,8 @@ public:
|
|||||||
: driver_device(mconfig, type, tag),
|
: driver_device(mconfig, type, tag),
|
||||||
m_spriteram(*this,"spriteram"),
|
m_spriteram(*this,"spriteram"),
|
||||||
m_maincpu(*this, "maincpu"),
|
m_maincpu(*this, "maincpu"),
|
||||||
m_audiocpu(*this, "audiocpu") { }
|
m_audiocpu(*this, "audiocpu"),
|
||||||
|
m_eeprom(*this, "eeprom") { }
|
||||||
|
|
||||||
/* memory pointers */
|
/* memory pointers */
|
||||||
required_shared_ptr<UINT16> m_spriteram;
|
required_shared_ptr<UINT16> m_spriteram;
|
||||||
@ -43,7 +44,7 @@ public:
|
|||||||
/* devices */
|
/* devices */
|
||||||
required_device<cpu_device> m_maincpu;
|
required_device<cpu_device> m_maincpu;
|
||||||
required_device<cpu_device> m_audiocpu;
|
required_device<cpu_device> m_audiocpu;
|
||||||
eeprom_device *m_eeprom;
|
optional_device<eeprom_device> m_eeprom;
|
||||||
device_t *m_tc0220ioc;
|
device_t *m_tc0220ioc;
|
||||||
device_t *m_tc0100scn;
|
device_t *m_tc0100scn;
|
||||||
device_t *m_tc0110pcr;
|
device_t *m_tc0110pcr;
|
||||||
|
@ -13,6 +13,7 @@ public:
|
|||||||
m_spriteram(*this, "spriteram"),
|
m_spriteram(*this, "spriteram"),
|
||||||
m_rowscroll(*this, "rowscroll"),
|
m_rowscroll(*this, "rowscroll"),
|
||||||
m_oki(*this, "oki"),
|
m_oki(*this, "oki"),
|
||||||
|
m_eeprom(*this, "eeprom"),
|
||||||
m_maincpu(*this, "maincpu"),
|
m_maincpu(*this, "maincpu"),
|
||||||
m_audiocpu(*this, "audiocpu") { }
|
m_audiocpu(*this, "audiocpu") { }
|
||||||
|
|
||||||
@ -52,7 +53,7 @@ public:
|
|||||||
|
|
||||||
/* devices */
|
/* devices */
|
||||||
required_device<okim6295_device> m_oki;
|
required_device<okim6295_device> m_oki;
|
||||||
eeprom_device *m_eeprom;
|
optional_device<eeprom_device> m_eeprom;
|
||||||
DECLARE_WRITE16_MEMBER(coinctrl_w);
|
DECLARE_WRITE16_MEMBER(coinctrl_w);
|
||||||
DECLARE_WRITE16_MEMBER(wbeachvl_coin_eeprom_w);
|
DECLARE_WRITE16_MEMBER(wbeachvl_coin_eeprom_w);
|
||||||
DECLARE_WRITE16_MEMBER(hotmind_coin_eeprom_w);
|
DECLARE_WRITE16_MEMBER(hotmind_coin_eeprom_w);
|
||||||
|
@ -16,7 +16,8 @@ public:
|
|||||||
m_spriteram(*this, "spriteram"),
|
m_spriteram(*this, "spriteram"),
|
||||||
m_maincpu(*this, "maincpu"),
|
m_maincpu(*this, "maincpu"),
|
||||||
m_audiocpu(*this, "audiocpu"),
|
m_audiocpu(*this, "audiocpu"),
|
||||||
m_subcpu(*this, "sub")
|
m_subcpu(*this, "sub"),
|
||||||
|
m_eeprom(*this, "eeprom")
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
/* memory pointers */
|
/* memory pointers */
|
||||||
@ -37,7 +38,7 @@ public:
|
|||||||
required_device<cpu_device> m_maincpu;
|
required_device<cpu_device> m_maincpu;
|
||||||
optional_device<cpu_device> m_audiocpu;
|
optional_device<cpu_device> m_audiocpu;
|
||||||
required_device<cpu_device> m_subcpu;
|
required_device<cpu_device> m_subcpu;
|
||||||
eeprom_device *m_eeprom;
|
optional_device<eeprom_device> m_eeprom;
|
||||||
device_t *m_tc0480scp;
|
device_t *m_tc0480scp;
|
||||||
device_t *m_tc0150rod;
|
device_t *m_tc0150rod;
|
||||||
device_t *m_tc0100scn;
|
device_t *m_tc0100scn;
|
||||||
|
Loading…
Reference in New Issue
Block a user