Previous 199869 Revisions Next

r31060 Saturday 21st June, 2014 at 15:36:01 UTC by hap
nw
[src/mame/drivers]vulgus.c
[src/mame/includes]vulgus.h

trunk/src/mame/drivers/vulgus.c
r31059r31060
32324000-47ff RAM
3333
3434write:
358000      YM2203 #1 control
368001      YM2203 #1 write
37c000      YM2203 #2 control
38c001      YM2203 #2 write
358000      AY-3-8910 #1 control
368001      AY-3-8910 #1 write
37c000      AY-3-8910 #2 control
38c001      AY-3-8910 #2 write
3939
4040All Clocks and Vsync verified by Corrado Tomaselli (August 2012)
4141
r31059r31060
6060   AM_RANGE(0xc003, 0xc003) AM_READ_PORT("DSW1")
6161   AM_RANGE(0xc004, 0xc004) AM_READ_PORT("DSW2")
6262   AM_RANGE(0xc800, 0xc800) AM_WRITE(soundlatch_byte_w)
63   AM_RANGE(0xc801, 0xc801) AM_WRITENOP // ?
6364   AM_RANGE(0xc802, 0xc803) AM_RAM AM_SHARE("scroll_low")
6465   AM_RANGE(0xc804, 0xc804) AM_WRITE(vulgus_c804_w)
6566   AM_RANGE(0xc805, 0xc805) AM_WRITE(vulgus_palette_bank_w)
trunk/src/mame/includes/vulgus.h
r31059r31060
1/***************************************************************************
2
3  Capcom Vulgus hardware
4
5***************************************************************************/
6
17class vulgus_state : public driver_device
28{
39public:
r31059r31060
39   vulgus_state(const machine_config &mconfig, device_type type, const char *tag)
410      : driver_device(mconfig, type, tag),
11      m_maincpu(*this, "maincpu"),
12      m_audiocpu(*this, "audiocpu"),
13      m_gfxdecode(*this, "gfxdecode"),
14      m_palette(*this, "palette"),
515      m_scroll_low(*this, "scroll_low"),
616      m_scroll_high(*this, "scroll_high"),
717      m_spriteram(*this, "spriteram"),
818      m_fgvideoram(*this, "fgvideoram"),
9      m_bgvideoram(*this, "bgvideoram"),
10      m_maincpu(*this, "maincpu"),
11      m_gfxdecode(*this, "gfxdecode"),
12      m_palette(*this, "palette") { }
19      m_bgvideoram(*this, "bgvideoram")
20   { }
1321
22   required_device<cpu_device> m_maincpu;
23   required_device<cpu_device> m_audiocpu;
24   required_device<gfxdecode_device> m_gfxdecode;
25   required_device<palette_device> m_palette;
1426   required_shared_ptr<UINT8> m_scroll_low;
1527   required_shared_ptr<UINT8> m_scroll_high;
1628   required_shared_ptr<UINT8> m_spriteram;
1729   required_shared_ptr<UINT8> m_fgvideoram;
1830   required_shared_ptr<UINT8> m_bgvideoram;
31
1932   int m_palette_bank;
2033   tilemap_t *m_fg_tilemap;
r31059r31060
3144   UINT32 screen_update_vulgus(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
3245   INTERRUPT_GEN_MEMBER(vulgus_vblank_irq);
3346   void draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect);
34   required_device<cpu_device> m_maincpu;
35   required_device<gfxdecode_device> m_gfxdecode;
36   required_device<palette_device> m_palette;
3747};

Previous 199869 Revisions Next


© 1997-2024 The MAME Team