mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
nw
This commit is contained in:
parent
6bc9db60ea
commit
b359f4ad2c
@ -32,10 +32,10 @@ SOUND CPU
|
|||||||
4000-47ff RAM
|
4000-47ff RAM
|
||||||
|
|
||||||
write:
|
write:
|
||||||
8000 YM2203 #1 control
|
8000 AY-3-8910 #1 control
|
||||||
8001 YM2203 #1 write
|
8001 AY-3-8910 #1 write
|
||||||
c000 YM2203 #2 control
|
c000 AY-3-8910 #2 control
|
||||||
c001 YM2203 #2 write
|
c001 AY-3-8910 #2 write
|
||||||
|
|
||||||
All Clocks and Vsync verified by Corrado Tomaselli (August 2012)
|
All Clocks and Vsync verified by Corrado Tomaselli (August 2012)
|
||||||
|
|
||||||
@ -60,6 +60,7 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, vulgus_state )
|
|||||||
AM_RANGE(0xc003, 0xc003) AM_READ_PORT("DSW1")
|
AM_RANGE(0xc003, 0xc003) AM_READ_PORT("DSW1")
|
||||||
AM_RANGE(0xc004, 0xc004) AM_READ_PORT("DSW2")
|
AM_RANGE(0xc004, 0xc004) AM_READ_PORT("DSW2")
|
||||||
AM_RANGE(0xc800, 0xc800) AM_WRITE(soundlatch_byte_w)
|
AM_RANGE(0xc800, 0xc800) AM_WRITE(soundlatch_byte_w)
|
||||||
|
AM_RANGE(0xc801, 0xc801) AM_WRITENOP // ?
|
||||||
AM_RANGE(0xc802, 0xc803) AM_RAM AM_SHARE("scroll_low")
|
AM_RANGE(0xc802, 0xc803) AM_RAM AM_SHARE("scroll_low")
|
||||||
AM_RANGE(0xc804, 0xc804) AM_WRITE(vulgus_c804_w)
|
AM_RANGE(0xc804, 0xc804) AM_WRITE(vulgus_c804_w)
|
||||||
AM_RANGE(0xc805, 0xc805) AM_WRITE(vulgus_palette_bank_w)
|
AM_RANGE(0xc805, 0xc805) AM_WRITE(vulgus_palette_bank_w)
|
||||||
|
@ -1,22 +1,35 @@
|
|||||||
|
/***************************************************************************
|
||||||
|
|
||||||
|
Capcom Vulgus hardware
|
||||||
|
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
class vulgus_state : public driver_device
|
class vulgus_state : public driver_device
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
vulgus_state(const machine_config &mconfig, device_type type, const char *tag)
|
vulgus_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
: driver_device(mconfig, type, tag),
|
: driver_device(mconfig, type, tag),
|
||||||
|
m_maincpu(*this, "maincpu"),
|
||||||
|
m_audiocpu(*this, "audiocpu"),
|
||||||
|
m_gfxdecode(*this, "gfxdecode"),
|
||||||
|
m_palette(*this, "palette"),
|
||||||
m_scroll_low(*this, "scroll_low"),
|
m_scroll_low(*this, "scroll_low"),
|
||||||
m_scroll_high(*this, "scroll_high"),
|
m_scroll_high(*this, "scroll_high"),
|
||||||
m_spriteram(*this, "spriteram"),
|
m_spriteram(*this, "spriteram"),
|
||||||
m_fgvideoram(*this, "fgvideoram"),
|
m_fgvideoram(*this, "fgvideoram"),
|
||||||
m_bgvideoram(*this, "bgvideoram"),
|
m_bgvideoram(*this, "bgvideoram")
|
||||||
m_maincpu(*this, "maincpu"),
|
{ }
|
||||||
m_gfxdecode(*this, "gfxdecode"),
|
|
||||||
m_palette(*this, "palette") { }
|
|
||||||
|
|
||||||
|
required_device<cpu_device> m_maincpu;
|
||||||
|
required_device<cpu_device> m_audiocpu;
|
||||||
|
required_device<gfxdecode_device> m_gfxdecode;
|
||||||
|
required_device<palette_device> m_palette;
|
||||||
required_shared_ptr<UINT8> m_scroll_low;
|
required_shared_ptr<UINT8> m_scroll_low;
|
||||||
required_shared_ptr<UINT8> m_scroll_high;
|
required_shared_ptr<UINT8> m_scroll_high;
|
||||||
required_shared_ptr<UINT8> m_spriteram;
|
required_shared_ptr<UINT8> m_spriteram;
|
||||||
required_shared_ptr<UINT8> m_fgvideoram;
|
required_shared_ptr<UINT8> m_fgvideoram;
|
||||||
required_shared_ptr<UINT8> m_bgvideoram;
|
required_shared_ptr<UINT8> m_bgvideoram;
|
||||||
|
|
||||||
int m_palette_bank;
|
int m_palette_bank;
|
||||||
tilemap_t *m_fg_tilemap;
|
tilemap_t *m_fg_tilemap;
|
||||||
tilemap_t *m_bg_tilemap;
|
tilemap_t *m_bg_tilemap;
|
||||||
@ -31,7 +44,4 @@ public:
|
|||||||
UINT32 screen_update_vulgus(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
UINT32 screen_update_vulgus(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||||
INTERRUPT_GEN_MEMBER(vulgus_vblank_irq);
|
INTERRUPT_GEN_MEMBER(vulgus_vblank_irq);
|
||||||
void draw_sprites(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;
|
|
||||||
required_device<palette_device> m_palette;
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user