mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
nw
This commit is contained in:
parent
6bc9db60ea
commit
b359f4ad2c
@ -32,10 +32,10 @@ SOUND CPU
|
||||
4000-47ff RAM
|
||||
|
||||
write:
|
||||
8000 YM2203 #1 control
|
||||
8001 YM2203 #1 write
|
||||
c000 YM2203 #2 control
|
||||
c001 YM2203 #2 write
|
||||
8000 AY-3-8910 #1 control
|
||||
8001 AY-3-8910 #1 write
|
||||
c000 AY-3-8910 #2 control
|
||||
c001 AY-3-8910 #2 write
|
||||
|
||||
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(0xc004, 0xc004) AM_READ_PORT("DSW2")
|
||||
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(0xc804, 0xc804) AM_WRITE(vulgus_c804_w)
|
||||
AM_RANGE(0xc805, 0xc805) AM_WRITE(vulgus_palette_bank_w)
|
||||
|
@ -1,22 +1,35 @@
|
||||
/***************************************************************************
|
||||
|
||||
Capcom Vulgus hardware
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
class vulgus_state : public driver_device
|
||||
{
|
||||
public:
|
||||
vulgus_state(const machine_config &mconfig, device_type type, const char *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_high(*this, "scroll_high"),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_fgvideoram(*this, "fgvideoram"),
|
||||
m_bgvideoram(*this, "bgvideoram"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_gfxdecode(*this, "gfxdecode"),
|
||||
m_palette(*this, "palette") { }
|
||||
m_bgvideoram(*this, "bgvideoram")
|
||||
{ }
|
||||
|
||||
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_high;
|
||||
required_shared_ptr<UINT8> m_spriteram;
|
||||
required_shared_ptr<UINT8> m_fgvideoram;
|
||||
required_shared_ptr<UINT8> m_bgvideoram;
|
||||
|
||||
int m_palette_bank;
|
||||
tilemap_t *m_fg_tilemap;
|
||||
tilemap_t *m_bg_tilemap;
|
||||
@ -31,7 +44,4 @@ public:
|
||||
UINT32 screen_update_vulgus(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(vulgus_vblank_irq);
|
||||
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