mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
moved optional_device<gfxdecode_device> to specific drivers state classes (nw)
This commit is contained in:
parent
231d7c709a
commit
a3e4a45f1a
@ -35,7 +35,6 @@ driver_device::driver_device(const machine_config &mconfig, device_type type, co
|
||||
: device_t(mconfig, type, "Driver Device", tag, NULL, 0, "", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_screen(*this, "screen"),
|
||||
m_gfxdecode(*this, "gfxdecode"),
|
||||
m_generic_paletteram_8(*this, "paletteram"),
|
||||
m_generic_paletteram2_8(*this, "paletteram2"),
|
||||
m_generic_paletteram_16(*this, "paletteram"),
|
||||
|
@ -378,7 +378,6 @@ protected:
|
||||
public:
|
||||
// generic devices
|
||||
optional_device<screen_device> m_screen;
|
||||
optional_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
// generic pointers
|
||||
optional_shared_ptr<UINT8> m_generic_paletteram_8;
|
||||
|
@ -57,7 +57,8 @@ public:
|
||||
m_spriteram_1(*this, "spritera1"),
|
||||
m_spriteram_2(*this, "spritera2"),
|
||||
m_bgram(*this, "bgram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* devices */
|
||||
required_device<okim6295_device> m_oki1;
|
||||
@ -81,6 +82,7 @@ public:
|
||||
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
UINT32 screen_update_k3(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -53,7 +53,8 @@ public:
|
||||
m_videoram2(*this, "videoram2"),
|
||||
m_videoram3(*this, "videoram3"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki(*this, "oki")
|
||||
m_oki(*this, "oki"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
/* memory pointers */
|
||||
@ -68,6 +69,7 @@ public:
|
||||
// devices
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<okim6295_device> m_oki;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
// screen updates
|
||||
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
|
||||
|
@ -460,7 +460,8 @@ public:
|
||||
m_colorram(*this, "colorram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_ay8910(*this, "ay8910")
|
||||
m_ay8910(*this, "ay8910"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{
|
||||
}
|
||||
|
||||
@ -494,6 +495,7 @@ public:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cpu_device> m_audiocpu;
|
||||
required_device<ay8910_device> m_ay8910;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -51,7 +51,8 @@ public:
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_scoreram(*this, "scoreram"),
|
||||
m_ram2(*this, "ram2"),
|
||||
m_characterram(*this, "characterram")
|
||||
m_characterram(*this, "characterram"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
@ -73,6 +74,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_ace(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
void ace_postload();
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -23,12 +23,14 @@ public:
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_spriteram(*this, "spriteram") { }
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
required_shared_ptr<UINT8> m_colorram;
|
||||
required_shared_ptr<UINT8> m_spriteram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
emu_timer *m_refresh_timer;
|
||||
DECLARE_WRITE8_MEMBER(acefruit_colorram_w);
|
||||
DECLARE_WRITE8_MEMBER(acefruit_coin_w);
|
||||
|
@ -73,7 +73,8 @@ public:
|
||||
m_ac_devram(*this, "ac_devram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki1(*this, "oki1"),
|
||||
m_oki2(*this, "oki2") { }
|
||||
m_oki2(*this, "oki2"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT16> m_ac_bgvram;
|
||||
required_shared_ptr<UINT16> m_ac_txvram;
|
||||
@ -104,6 +105,7 @@ public:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<okim6295_device> m_oki1;
|
||||
required_device<okim6295_device> m_oki2;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -22,7 +22,8 @@ public:
|
||||
m_spriteram1(*this, "spriteram1"),
|
||||
m_spriteram2(*this, "spriteram2"),
|
||||
m_spriteram3(*this, "spriteram3"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* video-related */
|
||||
required_shared_ptr<UINT8> m_spriteram1;
|
||||
@ -38,6 +39,7 @@ public:
|
||||
UINT32 screen_update_hanaroku(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -51,7 +51,8 @@ public:
|
||||
m_cus_ram(*this, "cus_ram"),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_cus_ram;
|
||||
@ -81,6 +82,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_yumefuda(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
TILE_GET_INFO_MEMBER(albazg_state::y_get_bg_tile_info)
|
||||
|
@ -431,7 +431,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_attr(*this, "attr"),
|
||||
m_vram(*this, "vram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_attr;
|
||||
required_shared_ptr<UINT8> m_vram;
|
||||
@ -458,6 +459,7 @@ public:
|
||||
void encf(UINT8 ciphertext, int address, UINT8 &plaintext, int &newaddress);
|
||||
void decrypt(int key1, int key2);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -286,7 +286,8 @@ public:
|
||||
m_ay1(*this, "ay1"),
|
||||
m_ay2(*this, "ay2"),
|
||||
m_samples(*this, "samples"),
|
||||
m_mkiv_vram(*this, "mkiv_vram") { }
|
||||
m_mkiv_vram(*this, "mkiv_vram"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<mc146818_device> m_rtc;
|
||||
@ -295,6 +296,7 @@ public:
|
||||
required_device<samples_device> m_samples;
|
||||
|
||||
required_shared_ptr<UINT8> m_mkiv_vram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
int m_rtc_address_strobe;
|
||||
int m_rtc_data_strobe;
|
||||
|
@ -48,7 +48,8 @@ public:
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_paletteram(*this, "paletteram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki(*this, "oki") { }
|
||||
m_oki(*this, "oki"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT16> m_spriteram;
|
||||
@ -75,6 +76,7 @@ public:
|
||||
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<okim6295_device> m_oki;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
/***************************************************************************
|
||||
|
@ -424,12 +424,14 @@ public:
|
||||
m_maincpu(*this,"maincpu"),
|
||||
m_crtc(*this, "crtc"),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"){ }
|
||||
m_colorram(*this, "colorram"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<mc6845_device> m_crtc;
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
required_shared_ptr<UINT8> m_colorram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_WRITE8_MEMBER(avt_6845_address_w);
|
||||
DECLARE_WRITE8_MEMBER(avt_6845_data_w);
|
||||
|
@ -36,7 +36,8 @@ public:
|
||||
m_vregs(*this, "vregs"),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki(*this, "oki") { }
|
||||
m_oki(*this, "oki"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT16> m_bgram;
|
||||
required_shared_ptr<UINT16> m_fgram;
|
||||
@ -60,6 +61,7 @@ public:
|
||||
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<okim6295_device> m_oki;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -102,7 +102,8 @@ public:
|
||||
m_spriteram5(*this, "spriteram5"),
|
||||
m_spriteram6(*this, "spriteram6"),
|
||||
m_spriteram7(*this, "spriteram7"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT16> m_tilemapram;
|
||||
required_shared_ptr<UINT16> m_spriteram0;
|
||||
@ -153,6 +154,7 @@ public:
|
||||
void draw_strip(bitmap_ind16 &bitmap, const rectangle &cliprect, int page, int column);
|
||||
void draw_page(bitmap_ind16 &bitmap, const rectangle &cliprect, int page);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
#define GET_INFO( ram ) \
|
||||
|
@ -299,7 +299,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
required_shared_ptr<UINT8> m_colorram;
|
||||
@ -316,6 +317,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_megadpkr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -49,7 +49,8 @@ public:
|
||||
bmcpokr_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this,"maincpu"),
|
||||
m_videoram(*this, "videoram")
|
||||
m_videoram(*this, "videoram"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
DECLARE_READ16_MEMBER( bmcpokr_unk_r )
|
||||
@ -59,6 +60,7 @@ public:
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_shared_ptr<UINT16> m_videoram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_bmcpokr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
};
|
||||
|
@ -112,7 +112,8 @@ public:
|
||||
m_ms32_bg0_scroll(*this, "bg0_scroll"),
|
||||
m_ms32_tx1_scroll(*this, "tx1_scroll"),
|
||||
m_ms32_bg1_scroll(*this, "bg1_scroll") ,
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
tilemap_t *m_ms32_tx_tilemap[2];
|
||||
tilemap_t *m_ms32_bg_tilemap[2];
|
||||
@ -166,6 +167,7 @@ public:
|
||||
void irq_raise(int level);
|
||||
IRQ_CALLBACK_MEMBER(irq_callback);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -33,7 +33,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_tile_ram(*this, "tile_ram"),
|
||||
m_sprite_ram(*this, "sprite_ram"),
|
||||
m_maincpu(*this, "maincpu"){ }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode"){ }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_tile_ram;
|
||||
@ -45,6 +46,8 @@ public:
|
||||
|
||||
/* devices */
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_READ8_MEMBER(boxer_input_r);
|
||||
DECLARE_READ8_MEMBER(boxer_misc_r);
|
||||
DECLARE_WRITE8_MEMBER(boxer_bell_w);
|
||||
|
@ -18,7 +18,8 @@ public:
|
||||
buster_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_vram(*this, "vram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_vram;
|
||||
DECLARE_READ8_MEMBER(test_r);
|
||||
@ -26,6 +27,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_buster(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -35,7 +35,8 @@ public:
|
||||
m_fg_color_ram(*this, "fg_color_ram"),
|
||||
m_bg_scroll(*this, "bg_scroll"),
|
||||
m_bg_tile_ram(*this, "bg_tile_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_fg_tile_ram;
|
||||
required_shared_ptr<UINT8> m_fg_color_ram;
|
||||
@ -59,6 +60,7 @@ public:
|
||||
UINT32 screen_update_cabaret(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(cabaret_interrupt);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -90,7 +90,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_fg_ram(*this, "fg_ram"),
|
||||
m_sprites(*this, "sprites"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_fg_ram;
|
||||
@ -115,6 +116,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_calorie(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -30,7 +30,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
int m_video;
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
@ -44,6 +45,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_cardline(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -58,13 +58,15 @@ public:
|
||||
carrera_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_tileram(*this, "tileram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_tileram;
|
||||
DECLARE_READ8_MEMBER(unknown_r);
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_carrera(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -78,7 +78,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_sc0_vram(*this, "sc0_vram"),
|
||||
m_sc0_attr(*this, "sc0_attr"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_sc0_vram;
|
||||
required_shared_ptr<UINT8> m_sc0_attr;
|
||||
@ -95,6 +96,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_vvillage(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -53,7 +53,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_vram_fg(*this, "vrafg"),
|
||||
m_vram_bg(*this, "vrabg"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT16> m_vram_fg;
|
||||
required_shared_ptr<UINT16> m_vram_bg;
|
||||
@ -75,6 +76,7 @@ public:
|
||||
UINT32 screen_update_cb2001(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(vblank_irq);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -19,7 +19,8 @@ public:
|
||||
cball_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_video_ram(*this, "video_ram"),
|
||||
m_maincpu(*this, "maincpu")
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
/* memory pointers */
|
||||
@ -30,6 +31,8 @@ public:
|
||||
|
||||
/* devices */
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_WRITE8_MEMBER(cball_vram_w);
|
||||
DECLARE_READ8_MEMBER(cball_wram_r);
|
||||
DECLARE_WRITE8_MEMBER(cball_wram_w);
|
||||
|
@ -63,7 +63,8 @@ public:
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_videoram2(*this, "videoram2"),
|
||||
m_colorram2(*this, "colorram2"),
|
||||
m_maincpu(*this, "maincpu"){ }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode"){ }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
@ -80,6 +81,8 @@ public:
|
||||
|
||||
/* devices */
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_WRITE8_MEMBER(chanbara_videoram_w);
|
||||
DECLARE_WRITE8_MEMBER(chanbara_colorram_w);
|
||||
DECLARE_WRITE8_MEMBER(chanbara_videoram2_w);
|
||||
|
@ -31,7 +31,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_fgram(*this, "fgram"),
|
||||
m_bgram(*this, "bgram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
DECLARE_WRITE8_MEMBER(chance32_fgram_w)
|
||||
{
|
||||
@ -63,6 +64,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_chance32(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -54,7 +54,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_video(*this, "video"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_adpcm(*this, "adpcm") { }
|
||||
m_adpcm(*this, "adpcm"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_video;
|
||||
@ -81,6 +82,7 @@ public:
|
||||
DECLARE_WRITE_LINE_MEMBER(chin_adpcm_int);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<msm5205_device> m_adpcm;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -26,7 +26,8 @@ class chsuper_state : public driver_device
|
||||
public:
|
||||
chsuper_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
DECLARE_WRITE8_MEMBER(chsuper_vram_w);
|
||||
DECLARE_READ8_MEMBER(ff_r);
|
||||
@ -35,6 +36,7 @@ public:
|
||||
UINT8 *m_vram;
|
||||
|
||||
required_device<z180_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
|
||||
|
@ -56,11 +56,13 @@ public:
|
||||
cmmb_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_videoram(*this, "videoram")
|
||||
m_videoram(*this, "videoram"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
UINT8 m_irq_mask;
|
||||
|
||||
|
@ -40,7 +40,8 @@ public:
|
||||
m_videoram2(*this, "videoram2"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_subcpu(*this, "subcpu"){ }
|
||||
m_subcpu(*this, "subcpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_spriteram;
|
||||
@ -69,6 +70,8 @@ public:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cpu_device> m_audiocpu;
|
||||
required_device<cpu_device> m_subcpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_WRITE8_MEMBER(zerotrgt_vregs_w);
|
||||
DECLARE_WRITE8_MEMBER(cntsteer_vregs_w);
|
||||
DECLARE_WRITE8_MEMBER(cntsteer_foreground_vram_w);
|
||||
|
@ -38,7 +38,8 @@ public:
|
||||
m_attr_ram1(*this, "attr_ram1"),
|
||||
m_attr_ram2(*this, "attr_ram2"),
|
||||
m_attr_ram3(*this, "attr_ram3"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
required_shared_ptr<UINT8> m_attr_ram1;
|
||||
@ -58,6 +59,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_coinmstr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -225,7 +225,8 @@ public:
|
||||
coinmvga_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_vram(*this, "vram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT16> m_vram;
|
||||
struct { int r,g,b,offs,offs_internal; } m_bgpal, m_fgpal;
|
||||
@ -240,6 +241,7 @@ public:
|
||||
UINT32 screen_update_coinmvga(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(vblank_irq);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -319,7 +319,8 @@ public:
|
||||
m_io_an5(*this, "AN5"),
|
||||
m_io_an6(*this, "AN6"),
|
||||
m_io_an7(*this, "AN7"),
|
||||
m_io_config(*this, "CONFIG")
|
||||
m_io_config(*this, "CONFIG"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{
|
||||
}
|
||||
|
||||
@ -362,6 +363,7 @@ public:
|
||||
required_ioport m_io_an6;
|
||||
required_ioport m_io_an7;
|
||||
required_ioport m_io_config;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
bitmap_ind16 m_temp_bitmap_sprites;
|
||||
bitmap_ind16 m_temp_bitmap_sprites2;
|
||||
|
@ -2587,7 +2587,8 @@ static MACHINE_CONFIG_START( cps3, cps3_state )
|
||||
MCFG_NVRAM_ADD_0FILL("eeprom")
|
||||
MCFG_PALETTE_LENGTH(0x10000) // actually 0x20000 ...
|
||||
|
||||
|
||||
MCFG_GFXDECODE_ADD("gfxdecode", empty)
|
||||
|
||||
/* sound hardware */
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
|
@ -99,7 +99,8 @@ public:
|
||||
m_seibu_sound(*this, "seibu_sound"),
|
||||
m_txram(*this, "txram"),
|
||||
m_mainram(*this, "mainram"),
|
||||
m_spriteram(*this, "spriteram")
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
@ -107,6 +108,7 @@ public:
|
||||
required_shared_ptr<UINT8> m_txram;
|
||||
optional_shared_ptr<UINT8> m_mainram;
|
||||
optional_shared_ptr<UINT8> m_spriteram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
tilemap_t *m_txtilemap;
|
||||
int m_coin_stat;
|
||||
|
@ -26,7 +26,8 @@ public:
|
||||
m_bg1_regs_y(*this, "bg1_regs_y"),
|
||||
m_bg2_regs_x(*this, "bg2_regs_x"),
|
||||
m_bg2_regs_y(*this, "bg2_regs_y"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
UINT8 m_paletteram[0x4000];
|
||||
/* memory pointers */
|
||||
@ -60,6 +61,7 @@ public:
|
||||
UINT32 screen_update_cultures(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(cultures_interrupt);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -190,7 +190,8 @@ public:
|
||||
m_tilemap2scroll(*this, "tilemap2_scroll"),
|
||||
m_roadram(*this, "roadram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_audiocpu(*this, "audiocpu") { }
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
tilemap_t *m_tilemap0_tilemap;
|
||||
tilemap_t *m_tilemap1_tilemap;
|
||||
@ -226,6 +227,7 @@ public:
|
||||
UINT32 screen_update_cybertnk_right(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cpu_device> m_audiocpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
/* tile format
|
||||
|
@ -88,7 +88,8 @@ public:
|
||||
m_cram(*this, "cram"),
|
||||
m_obj1_ram(*this, "obj1_ram"),
|
||||
m_obj2_ram(*this, "obj2_ram"),
|
||||
m_obj3_ram(*this, "obj3_ram")
|
||||
m_obj3_ram(*this, "obj3_ram"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
@ -98,6 +99,7 @@ public:
|
||||
required_shared_ptr<UINT8> m_obj1_ram;
|
||||
required_shared_ptr<UINT8> m_obj2_ram;
|
||||
required_shared_ptr<UINT8> m_obj3_ram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
struct
|
||||
{
|
||||
|
@ -34,7 +34,8 @@ public:
|
||||
m_lo_vram(*this, "lo_vram"),
|
||||
m_hi_vram(*this, "hi_vram"),
|
||||
m_cram(*this, "cram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_lo_vram;
|
||||
required_shared_ptr<UINT8> m_hi_vram;
|
||||
@ -50,6 +51,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_d9final(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -47,7 +47,8 @@ public:
|
||||
m_bgvideoram(*this, "bgvideoram"),
|
||||
m_fgvideoram(*this, "fgvideoram"),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_msm(*this, "msm"){ }
|
||||
m_msm(*this, "msm"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* devices */
|
||||
required_device<cpu_device> m_maincpu;
|
||||
@ -58,6 +59,7 @@ public:
|
||||
required_shared_ptr<UINT8> m_spriteram;
|
||||
|
||||
optional_device<msm5205_device> m_msm;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
/* video-related */
|
||||
tilemap_t *m_bg_tilemap;
|
||||
|
@ -52,11 +52,13 @@ class dblcrown_state : public driver_device
|
||||
public:
|
||||
dblcrown_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu")
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
// devices
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
// screen updates
|
||||
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
|
@ -66,7 +66,8 @@ public:
|
||||
m_videoram(*this, "videoram"),
|
||||
m_bgram(*this, "bgram"),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_mainram;
|
||||
@ -111,6 +112,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(ddayjlc_interrupt);
|
||||
INTERRUPT_GEN_MEMBER(ddayjlc_snd_interrupt);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -130,7 +130,8 @@ public:
|
||||
m_back_vram(*this, "back_vram"),
|
||||
m_work_ram(*this, "work_ram"),
|
||||
m_mcu_shared_ram(*this, "mcu_shared_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT16> m_vregs;
|
||||
@ -165,6 +166,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(ddealer_interrupt);
|
||||
TIMER_DEVICE_CALLBACK_MEMBER(ddealer_mcu_sim);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
void ddealer_draw_video_layer( UINT16* vreg_base, UINT16* top, UINT16* bottom, bitmap_ind16 &bitmap, const rectangle &cliprect, int flipy);
|
||||
};
|
||||
|
||||
|
@ -125,7 +125,8 @@ public:
|
||||
m_vram0(*this, "vram0"),
|
||||
m_attr0(*this, "attr0"),
|
||||
m_vram1(*this, "vram1"),
|
||||
m_attr1(*this, "attr1")
|
||||
m_attr1(*this, "attr1"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
@ -135,6 +136,7 @@ public:
|
||||
required_shared_ptr<UINT8> m_attr0;
|
||||
required_shared_ptr<UINT8> m_vram1;
|
||||
required_shared_ptr<UINT8> m_attr1;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
UINT8 m_laserdisc_data;
|
||||
int m_nmimask;
|
||||
|
@ -30,7 +30,8 @@ public:
|
||||
m_alpha_num_ram(*this, "alpha_nuram"),
|
||||
m_major_obj_ram(*this, "major_obj_ram"),
|
||||
m_minor_obj_ram(*this, "minor_obj_ram"),
|
||||
m_maincpu(*this, "maincpu"){ }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_alpha_num_ram;
|
||||
@ -50,6 +51,8 @@ public:
|
||||
|
||||
/* devices */
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_WRITE8_MEMBER(destroyr_misc_w);
|
||||
DECLARE_WRITE8_MEMBER(destroyr_cursor_load_w);
|
||||
DECLARE_WRITE8_MEMBER(destroyr_interrupt_ack_w);
|
||||
|
@ -53,7 +53,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_audiocpu(*this, "audiocpu") ,
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_msm(*this, "msm") { }
|
||||
m_msm(*this, "msm"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* video-related */
|
||||
UINT8 m_ram_bank;
|
||||
@ -95,6 +96,7 @@ public:
|
||||
DECLARE_WRITE_LINE_MEMBER(yunsung8_adpcm_int);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<msm5205_device> m_msm;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -61,7 +61,8 @@ public:
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki(*this, "oki") { }
|
||||
m_oki(*this, "oki"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT16> m_spriteram;
|
||||
@ -77,6 +78,7 @@ public:
|
||||
void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<okim6295_device> m_oki;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -57,7 +57,8 @@ public:
|
||||
m_22vp932(*this, "ld_22vp932") ,
|
||||
m_videoram(*this, "videoram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_beeper(*this, "beeper") { }
|
||||
m_beeper(*this, "beeper"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
void laserdisc_data_w(UINT8 data)
|
||||
{
|
||||
@ -124,6 +125,7 @@ public:
|
||||
DECLARE_READ16_MEMBER(serial_receive);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
optional_device<beep_device> m_beeper;
|
||||
optional_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -68,7 +68,8 @@ public:
|
||||
m_dderby_vidchars(*this, "vidchars"),
|
||||
m_dderby_vidattribs(*this, "vidattribs"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_audiocpu(*this, "audiocpu") { }
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_scroll_ram;
|
||||
required_shared_ptr<UINT8> m_sprite_ram;
|
||||
@ -89,6 +90,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(dderby_timer_irq);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cpu_device> m_audiocpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -72,7 +72,8 @@ public:
|
||||
m_videoram(*this, "videoram"),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_bgram(*this, "bgram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
@ -89,6 +90,7 @@ public:
|
||||
UINT32 screen_update_dominob(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
void dominob_state::video_start()
|
||||
|
@ -132,7 +132,8 @@ public:
|
||||
m_bg2_videoram(*this, "bg2_videoram"),
|
||||
m_vregs(*this, "vregs"),
|
||||
m_workram(*this, "workram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT32> m_spriteram;
|
||||
@ -168,6 +169,7 @@ public:
|
||||
void screen_eof_dreamwld(screen_device &screen, bool state);
|
||||
void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -20,7 +20,8 @@ public:
|
||||
m_videoram_bg(*this, "videorabg"),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki(*this, "oki") { }
|
||||
m_oki(*this, "oki"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT16> m_videoram_fg;
|
||||
@ -46,6 +47,7 @@ public:
|
||||
void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<okim6295_device> m_oki;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -36,7 +36,8 @@ class drw80pkr_state : public driver_device
|
||||
public:
|
||||
drw80pkr_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
tilemap_t *m_bg_tilemap;
|
||||
UINT8 m_t0;
|
||||
@ -73,6 +74,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_drw80pkr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -63,7 +63,8 @@ class dunhuang_state : public driver_device
|
||||
public:
|
||||
dunhuang_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* video-related */
|
||||
tilemap_t *m_tmap;
|
||||
@ -125,6 +126,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_dunhuang(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -305,7 +305,8 @@ class dwarfd_state : public driver_device
|
||||
public:
|
||||
dwarfd_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this,"maincpu")
|
||||
m_maincpu(*this,"maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
/* video-related */
|
||||
@ -333,6 +334,8 @@ public:
|
||||
UINT8 m_videobuf[0x8000];
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_WRITE8_MEMBER(i8275_preg_w);
|
||||
DECLARE_READ8_MEMBER(i8275_preg_r);
|
||||
DECLARE_WRITE8_MEMBER(i8275_creg_w);
|
||||
|
@ -44,7 +44,8 @@ public:
|
||||
dynadice_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
@ -68,6 +69,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_dynadice(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -53,7 +53,8 @@ public:
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_atram(*this, "atram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki(*this, "oki") { }
|
||||
m_oki(*this, "oki"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* video-related */
|
||||
tilemap_t *m_bg_tilemap;
|
||||
@ -86,6 +87,7 @@ public:
|
||||
void draw_sprites( bitmap_ind16 &bitmap,const rectangle &cliprect );
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<okim6295_device> m_oki;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -41,7 +41,8 @@ public:
|
||||
m_laserdisc(*this, "laserdisc") ,
|
||||
m_tile_ram(*this, "tile_ram"),
|
||||
m_tile_control_ram(*this, "tile_ctrl_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<pioneer_ldv1000_device> m_laserdisc;
|
||||
required_shared_ptr<UINT8> m_tile_ram;
|
||||
@ -58,6 +59,7 @@ public:
|
||||
UINT32 screen_update_esh(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(vblank_callback_esh);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
protected:
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
|
@ -38,7 +38,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_fg_videoram(*this, "fg_videoram"),
|
||||
m_bg_videoram(*this, "bg_videoram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
int m_palreg;
|
||||
int m_gfx_bank;
|
||||
@ -65,6 +66,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(ettrivia_interrupt);
|
||||
inline void get_tile_info(tile_data &tileinfo, int tile_index, UINT8 *vidram, int gfx_code);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -73,7 +73,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki(*this, "oki") { }
|
||||
m_oki(*this, "oki"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
UINT16 m_x;
|
||||
required_shared_ptr<UINT32> m_spriteram;
|
||||
@ -86,6 +87,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(feversoc_irq);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<okim6295_device> m_oki;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -46,7 +46,8 @@ public:
|
||||
m_sprite_palette(*this, "sprite_palette"),
|
||||
m_tile_palette(*this, "tile_palette"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_audiocpu(*this, "audiocpu") { }
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<phillips_22vp931_device> m_laserdisc;
|
||||
required_shared_ptr<unsigned char> m_tileram;
|
||||
@ -106,6 +107,7 @@ public:
|
||||
void firq_gen(phillips_22vp931_device &laserdisc, int state);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cpu_device> m_audiocpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -96,7 +96,8 @@ public:
|
||||
m_crtc(*this, "crtc"),
|
||||
m_fbram(*this, "fb_ram"),
|
||||
m_vram(*this, "vram"),
|
||||
m_cram(*this, "cram")
|
||||
m_cram(*this, "cram"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{
|
||||
m_soundlatch = 0;
|
||||
m_bank = 0;
|
||||
@ -110,6 +111,8 @@ public:
|
||||
required_shared_ptr<UINT8> m_fbram;
|
||||
required_shared_ptr<UINT8> m_vram;
|
||||
required_shared_ptr<UINT8> m_cram;
|
||||
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
UINT8 m_soundlatch;
|
||||
UINT8 m_bank;
|
||||
|
@ -31,7 +31,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_playfield_ram(*this, "playfield_ram"),
|
||||
m_rombase(*this, "rombase"),
|
||||
m_maincpu(*this, "maincpu"){ }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_playfield_ram;
|
||||
@ -51,6 +52,8 @@ public:
|
||||
|
||||
/* devices */
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_READ8_MEMBER(flyball_input_r);
|
||||
DECLARE_READ8_MEMBER(flyball_scanline_r);
|
||||
DECLARE_READ8_MEMBER(flyball_potsense_r);
|
||||
|
@ -334,7 +334,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this,"maincpu"),
|
||||
m_vram(*this, "vram"),
|
||||
m_eeprom(*this, "eeprom"){ }
|
||||
m_eeprom(*this, "eeprom"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_shared_ptr<UINT8> m_vram;
|
||||
@ -348,6 +349,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_fortecar(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<eeprom_serial_93cxx_device> m_eeprom;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -37,7 +37,8 @@ public:
|
||||
m_attr_2_videoram(*this, "attr_videoram_2"),
|
||||
m_paletteram_1(*this, "paletteram_1"),
|
||||
m_paletteram_2(*this, "paletteram_2"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
tilemap_t *m_bg_tilemap;
|
||||
tilemap_t *m_bg_2_tilemap;
|
||||
@ -100,6 +101,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_fresh(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -55,7 +55,8 @@ public:
|
||||
m_bg3_ram(*this, "bg3_ram"),
|
||||
m_bg4_ram(*this, "bg4_ram"),
|
||||
m_fg_ram(*this, "fg_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT16> m_bg1_ram;
|
||||
@ -98,6 +99,7 @@ public:
|
||||
UINT32 screen_update_galaxi(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
void show_out( );
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -75,9 +75,11 @@ class gamecstl_state : public pcat_base_state
|
||||
public:
|
||||
gamecstl_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: pcat_base_state(mconfig, type, tag),
|
||||
m_cga_ram(*this, "cga_ram") { }
|
||||
m_cga_ram(*this, "cga_ram"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT32> m_cga_ram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
UINT32 *m_bios_ram;
|
||||
UINT8 m_mxtc_config_reg[256];
|
||||
UINT8 m_piix4_config_reg[4][256];
|
||||
|
@ -206,7 +206,8 @@ public:
|
||||
: driver_device(mconfig, type, tag) ,
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_maincpu(*this, "maincpu"){ }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode"){ }
|
||||
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
required_shared_ptr<UINT8> m_colorram;
|
||||
@ -219,6 +220,7 @@ public:
|
||||
DECLARE_PALETTE_INIT(gluck2);
|
||||
UINT32 screen_update_gluck2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -42,7 +42,8 @@ public:
|
||||
m_videoram(*this, "videoram"),
|
||||
m_videoram2(*this, "videoram2"),
|
||||
m_soundcpu(*this, "soundcpu"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT16> m_videoram;
|
||||
@ -57,6 +58,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_go2000(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1021,7 +1021,8 @@ public:
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_discrete(*this, "discrete") { }
|
||||
m_discrete(*this, "discrete"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
required_shared_ptr<UINT8> m_colorram;
|
||||
@ -1076,6 +1077,7 @@ public:
|
||||
UINT32 screen_update_goldnpkr(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
optional_device<discrete_device> m_discrete;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -42,7 +42,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_fg_tilemapram(*this, "fg_tilemapram"),
|
||||
m_bg_tilemapram(*this, "bg_tilemapram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT16> m_fg_tilemapram;
|
||||
@ -60,6 +61,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_good(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -67,7 +67,8 @@ public:
|
||||
m_sc2_vram(*this, "sc2_vram"),
|
||||
m_sc3_vram(*this, "sc3_vram"),
|
||||
m_spriteram16(*this, "sprite_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT16> m_sc0_vram;
|
||||
required_shared_ptr<UINT16> m_sc1_vram;
|
||||
@ -75,6 +76,7 @@ public:
|
||||
required_shared_ptr<UINT16> m_sc3_vram;
|
||||
required_shared_ptr<UINT16> m_spriteram16;
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
tilemap_t *m_sc0_tilemap;
|
||||
tilemap_t *m_sc1_tilemap;
|
||||
tilemap_t *m_sc2_tilemap;
|
||||
|
@ -58,7 +58,8 @@ public:
|
||||
m_sprite_ram(*this, "sprite_ram"),
|
||||
m_palette_ram(*this, "palette_ram"),
|
||||
m_tile_ram(*this, "tile_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
UINT8 m_nmi_enable;
|
||||
UINT8 m_start_lamp;
|
||||
@ -83,6 +84,7 @@ public:
|
||||
inline void draw_pixel(bitmap_rgb32 &bitmap,const rectangle &cliprect,int x,int y,int color,int flip);
|
||||
void gpworld_draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
protected:
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
|
@ -135,7 +135,8 @@ public:
|
||||
m_oki_2(*this, "oki2") ,
|
||||
m_workram(*this, "workram"),
|
||||
m_vram(*this, "vram"),
|
||||
m_paletteram(*this, "paletteram"){ }
|
||||
m_paletteram(*this, "paletteram"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* devices */
|
||||
required_device<e132xt_device> m_maincpu;
|
||||
@ -146,6 +147,8 @@ public:
|
||||
required_shared_ptr<UINT32> m_workram;
|
||||
required_shared_ptr<UINT32> m_vram;
|
||||
required_shared_ptr<UINT32> m_paletteram;
|
||||
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
// UINT32 * m_nvram; // currently this uses generic nvram handling
|
||||
|
||||
/* video-related */
|
||||
|
@ -38,7 +38,8 @@ public:
|
||||
headonb_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_video_ram(*this, "video_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_video_ram;
|
||||
|
||||
@ -51,6 +52,7 @@ public:
|
||||
UINT32 screen_update_headonb(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
TILE_GET_INFO_MEMBER(get_headonb_tile_info);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -57,7 +57,8 @@ public:
|
||||
hitpoker_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_sys_regs(*this, "sys_regs"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_sys_regs;
|
||||
|
||||
@ -86,6 +87,7 @@ public:
|
||||
UINT32 screen_update_hitpoker(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(hitpoker_irq);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -82,7 +82,8 @@ public:
|
||||
m_slavecpu(*this, "slave"),
|
||||
m_mermaid(*this, "mermaid"),
|
||||
m_soundcpu(*this, "soundcpu"),
|
||||
m_pandora(*this, "pandora")
|
||||
m_pandora(*this, "pandora"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
/* Video */
|
||||
@ -107,6 +108,8 @@ public:
|
||||
required_device<cpu_device> m_mermaid;
|
||||
required_device<cpu_device> m_soundcpu;
|
||||
required_device<kaneko_pandora_device> m_pandora;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_WRITE8_MEMBER(trigger_nmi_on_slave_cpu);
|
||||
DECLARE_WRITE8_MEMBER(master_bankswitch_w);
|
||||
DECLARE_WRITE8_MEMBER(mermaid_data_w);
|
||||
|
@ -43,7 +43,8 @@ public:
|
||||
m_bg_scroll2(*this, "bg_scroll2"),
|
||||
m_fg_tile_ram(*this, "fg_tile_ram"),
|
||||
m_fg_color_ram(*this, "fg_color_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_bg_scroll;
|
||||
required_shared_ptr<UINT8> m_gp98_reel1_ram;
|
||||
@ -93,6 +94,7 @@ public:
|
||||
UINT32 screen_update_jingbell(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(jingbell_interrupt);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -63,7 +63,8 @@ public:
|
||||
m_bg_videoram(*this, "bg_videoram", 0),
|
||||
m_oki(*this, "oki"),
|
||||
m_igs025(*this,"igs025"),
|
||||
m_igs022(*this,"igs022")
|
||||
m_igs022(*this,"igs022"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
int m_input_addr;
|
||||
@ -74,8 +75,8 @@ public:
|
||||
required_device<okim6295_device> m_oki;
|
||||
optional_device<igs025_device> m_igs025; // Mj Shuang Long Qiang Zhu 2
|
||||
optional_device<igs022_device> m_igs022; // Mj Shuang Long Qiang Zhu 2
|
||||
|
||||
void igs025_to_igs022_callback( void );
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
void igs025_to_igs022_callback( void );
|
||||
|
||||
int m_toggle;
|
||||
int m_debug_addr;
|
||||
|
@ -37,7 +37,8 @@ public:
|
||||
m_igs_palette32(*this, "igs_palette32"),
|
||||
m_igs_tx_videoram(*this, "igs_tx_videoram"),
|
||||
m_igs_bg_videoram(*this, "igs_bg_videoram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT32> m_igs_mainram;
|
||||
required_shared_ptr<UINT32> m_igs_cg_videoram;
|
||||
@ -72,6 +73,7 @@ public:
|
||||
void sdwx_gfx_decrypt();
|
||||
void pgm_create_dummy_internal_arm_region();
|
||||
required_device<cpu_device> m_maincpu;
|
||||
optional_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -79,12 +79,14 @@ public:
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_bg_tile_ram(*this, "bg_tile_ram"),
|
||||
m_fg_tile_ram(*this, "fg_tile_ram"),
|
||||
m_fg_color_ram(*this, "fg_color_ram"){ }
|
||||
m_fg_color_ram(*this, "fg_color_ram"),
|
||||
m_gfxdecode(*this, "gfxdecode"){ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
optional_shared_ptr<UINT8> m_bg_tile_ram;
|
||||
required_shared_ptr<UINT8> m_fg_tile_ram;
|
||||
required_shared_ptr<UINT8> m_fg_color_ram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
int m_nmi_enable;
|
||||
int m_bg_enable;
|
||||
int m_hopper;
|
||||
|
@ -22,12 +22,14 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this,"maincpu"),
|
||||
m_subcpu(*this,"subcpu"),
|
||||
m_vram(*this, "vram")
|
||||
m_vram(*this, "vram"),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cpu_device> m_subcpu;
|
||||
required_shared_ptr<UINT8> m_vram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
DECLARE_DRIVER_INIT(intrscti);
|
||||
virtual void video_start();
|
||||
|
@ -35,7 +35,8 @@ public:
|
||||
m_tile_control_ram(*this, "tile_ctrl_ram"),
|
||||
m_sprite_ram(*this, "sprite_ram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_subcpu(*this, "sub") { }
|
||||
m_subcpu(*this, "sub"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<pioneer_ldv1000_device> m_laserdisc;
|
||||
required_shared_ptr<UINT8> m_tile_ram;
|
||||
@ -59,6 +60,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(vblank_callback_istellar);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cpu_device> m_subcpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -60,7 +60,8 @@ public:
|
||||
m_reel2_ram(*this, "reel2_ram"),
|
||||
m_reel3_ram(*this, "reel3_ram"),
|
||||
m_fg_tile_ram(*this, "fg_tile_ram"),
|
||||
m_fg_color_ram(*this, "fg_color_ram"){ }
|
||||
m_fg_color_ram(*this, "fg_color_ram"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_shared_ptr<UINT8> m_bg_scroll2;
|
||||
@ -70,6 +71,7 @@ public:
|
||||
required_shared_ptr<UINT8> m_reel3_ram;
|
||||
required_shared_ptr<UINT8> m_fg_tile_ram;
|
||||
required_shared_ptr<UINT8> m_fg_color_ram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
int m_exp_bank;
|
||||
tilemap_t *m_fg_tilemap;
|
||||
tilemap_t *m_reel1_tilemap;
|
||||
|
@ -31,7 +31,8 @@ public:
|
||||
m_vram(*this, "vram"),
|
||||
m_io(*this, "io"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_eeprom(*this, "eeprom") { }
|
||||
m_eeprom(*this, "eeprom"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT16> m_vram;
|
||||
UINT8 m_map_vreg;
|
||||
@ -45,6 +46,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(jackpool_interrupt);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<eeprom_serial_93cxx_device> m_eeprom;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -127,7 +127,8 @@ public:
|
||||
m_sc3_vram(*this, "sc3_vram"),
|
||||
m_jm_shared_ram(*this, "jshared_ram"),
|
||||
m_jm_mcu_code(*this, "jmcu_code"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
tilemap_t *m_sc0_tilemap_0;
|
||||
tilemap_t *m_sc0_tilemap_1;
|
||||
@ -221,6 +222,7 @@ public:
|
||||
void urashima_mcu_run();
|
||||
void second_mcu_run();
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -104,7 +104,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
required_shared_ptr<UINT8> m_colorram;
|
||||
@ -120,6 +121,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_jokrwild(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -112,7 +112,8 @@ public:
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_bitmap(*this, "bitmap"),
|
||||
m_bulletram(*this, "bulletram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
@ -145,6 +146,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(jollyjgr_interrupt);
|
||||
void draw_bitmap( bitmap_ind16 &bitmap );
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -141,7 +141,8 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_colorram(*this, "colorram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
UINT8 mux_sel;
|
||||
|
||||
@ -159,6 +160,7 @@ public:
|
||||
UINT32 screen_update_jubileep(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(jubileep_interrupt);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -84,7 +84,8 @@ public:
|
||||
m_vram(*this, "vram"),
|
||||
m_attr(*this, "attr"),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_soundcpu(*this, "soundcpu"){ }
|
||||
m_soundcpu(*this, "soundcpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
UINT8 m_sound_cmd;
|
||||
required_shared_ptr<UINT8> m_vram;
|
||||
@ -116,6 +117,7 @@ public:
|
||||
UINT32 screen_update_kingdrby(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_soundcpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -43,13 +43,15 @@ public:
|
||||
m_main_ram(*this, "main_ram"),
|
||||
m_bmc_1_videoram(*this, "bmc_1_videoram"),
|
||||
m_bmc_2_videoram(*this, "bmc_2_videoram"),
|
||||
m_colorram(*this, "colorram", 16) { }
|
||||
m_colorram(*this, "colorram", 16),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_shared_ptr<UINT16> m_main_ram;
|
||||
required_shared_ptr<UINT16> m_bmc_1_videoram;
|
||||
required_shared_ptr<UINT16> m_bmc_2_videoram;
|
||||
required_shared_ptr<UINT8> m_colorram;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
tilemap_t *m_tilemap_1;
|
||||
tilemap_t *m_tilemap_2;
|
||||
int m_clr_offset;
|
||||
|
@ -51,7 +51,8 @@ public:
|
||||
koikoi_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_videoram(*this, "videoram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
@ -76,6 +77,7 @@ public:
|
||||
virtual void palette_init();
|
||||
UINT32 screen_update_koikoi(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -42,7 +42,8 @@ public:
|
||||
m_sprite_x(*this, "sprite_x"),
|
||||
m_sprite_code(*this, "sprite_code"),
|
||||
m_collision_bg_car(0),
|
||||
m_collision_fg_car(0)
|
||||
m_collision_fg_car(0),
|
||||
m_gfxdecode(*this, "gfxdecode")
|
||||
{ }
|
||||
|
||||
/* devices / memory pointers */
|
||||
@ -55,6 +56,7 @@ public:
|
||||
|
||||
int m_collision_bg_car;
|
||||
int m_collision_fg_car;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
bitmap_ind16 m_colmap_car;
|
||||
tilemap_t* m_bg_tilemap;
|
||||
tilemap_t* m_fg_tilemap;
|
||||
|
@ -77,7 +77,8 @@ public:
|
||||
m_laserdisc(*this, "laserdisc") ,
|
||||
m_tile_ram(*this, "tile_ram"),
|
||||
m_tile_control_ram(*this, "tile_ctrl_ram"),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_device<pioneer_ldv1000_device> m_laserdisc;
|
||||
required_shared_ptr<UINT8> m_tile_ram;
|
||||
@ -91,6 +92,7 @@ public:
|
||||
INTERRUPT_GEN_MEMBER(vblank_callback_lgp);
|
||||
TIMER_CALLBACK_MEMBER(irq_stop);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
@ -42,7 +42,8 @@ public:
|
||||
m_spriteram2(*this, "spriteram2"),
|
||||
m_videoreg(*this, "videoreg"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_oki(*this, "oki") { }
|
||||
m_oki(*this, "oki"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
required_shared_ptr<UINT32> m_mainram;
|
||||
required_shared_ptr<UINT32> m_fg_videoram;
|
||||
@ -94,6 +95,7 @@ public:
|
||||
void copy_sprites(bitmap_ind16 &bitmap, bitmap_ind16 &sprites_bitmap, bitmap_ind8 &priority_bitmap, const rectangle &cliprect);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
optional_device<okim6295_device> m_oki;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
/*****************************************************************************************************
|
||||
|
@ -105,7 +105,8 @@ public:
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_dac(*this, "dac") { }
|
||||
m_dac(*this, "dac"),
|
||||
m_gfxdecode(*this, "gfxdecode") { }
|
||||
|
||||
/* memory pointers */
|
||||
required_shared_ptr<UINT8> m_videoram;
|
||||
@ -154,6 +155,7 @@ public:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<cpu_device> m_audiocpu;
|
||||
required_device<dac_device> m_dac;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
};
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user