trunk/src/mame/drivers/vulgus.c
| r31059 | r31060 | |
| 32 | 32 | 4000-47ff RAM |
| 33 | 33 | |
| 34 | 34 | write: |
| 35 | | 8000 YM2203 #1 control |
| 36 | | 8001 YM2203 #1 write |
| 37 | | c000 YM2203 #2 control |
| 38 | | c001 YM2203 #2 write |
| 35 | 8000 AY-3-8910 #1 control |
| 36 | 8001 AY-3-8910 #1 write |
| 37 | c000 AY-3-8910 #2 control |
| 38 | c001 AY-3-8910 #2 write |
| 39 | 39 | |
| 40 | 40 | All Clocks and Vsync verified by Corrado Tomaselli (August 2012) |
| 41 | 41 | |
| r31059 | r31060 | |
| 60 | 60 | AM_RANGE(0xc003, 0xc003) AM_READ_PORT("DSW1") |
| 61 | 61 | AM_RANGE(0xc004, 0xc004) AM_READ_PORT("DSW2") |
| 62 | 62 | AM_RANGE(0xc800, 0xc800) AM_WRITE(soundlatch_byte_w) |
| 63 | AM_RANGE(0xc801, 0xc801) AM_WRITENOP // ? |
| 63 | 64 | AM_RANGE(0xc802, 0xc803) AM_RAM AM_SHARE("scroll_low") |
| 64 | 65 | AM_RANGE(0xc804, 0xc804) AM_WRITE(vulgus_c804_w) |
| 65 | 66 | AM_RANGE(0xc805, 0xc805) AM_WRITE(vulgus_palette_bank_w) |
trunk/src/mame/includes/vulgus.h
| r31059 | r31060 | |
| 1 | /*************************************************************************** |
| 2 | |
| 3 | Capcom Vulgus hardware |
| 4 | |
| 5 | ***************************************************************************/ |
| 6 | |
| 1 | 7 | class vulgus_state : public driver_device |
| 2 | 8 | { |
| 3 | 9 | public: |
| r31059 | r31060 | |
| 3 | 9 | vulgus_state(const machine_config &mconfig, device_type type, const char *tag) |
| 4 | 10 | : 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"), |
| 5 | 15 | m_scroll_low(*this, "scroll_low"), |
| 6 | 16 | m_scroll_high(*this, "scroll_high"), |
| 7 | 17 | m_spriteram(*this, "spriteram"), |
| 8 | 18 | 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 | { } |
| 13 | 21 | |
| 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; |
| 14 | 26 | required_shared_ptr<UINT8> m_scroll_low; |
| 15 | 27 | required_shared_ptr<UINT8> m_scroll_high; |
| 16 | 28 | required_shared_ptr<UINT8> m_spriteram; |
| 17 | 29 | required_shared_ptr<UINT8> m_fgvideoram; |
| 18 | 30 | required_shared_ptr<UINT8> m_bgvideoram; |
| 31 | |
| 19 | 32 | int m_palette_bank; |
| 20 | 33 | tilemap_t *m_fg_tilemap; |
| r31059 | r31060 | |
| 31 | 44 | UINT32 screen_update_vulgus(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 32 | 45 | INTERRUPT_GEN_MEMBER(vulgus_vblank_irq); |
| 33 | 46 | 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; |
| 37 | 47 | }; |