trunk/src/mame/includes/esd16.h
| r31277 | r31278 | |
| 20 | 20 | m_head_layersize(*this, "head_layersize"), |
| 21 | 21 | m_headpanic_platform_x(*this, "platform_x"), |
| 22 | 22 | m_headpanic_platform_y(*this, "platform_y"), |
| 23 | | m_sprgen(*this, "spritegen"), |
| 24 | | m_eeprom(*this, "eeprom"), |
| 25 | 23 | m_maincpu(*this, "maincpu"), |
| 26 | 24 | m_audiocpu(*this, "audiocpu"), |
| 27 | | m_gfxdecode(*this, "gfxdecode") { |
| 28 | | m_tilemap0_color = 0; |
| 29 | | m_tilemap1_color = 0; |
| 30 | | } |
| 25 | m_gfxdecode(*this, "gfxdecode"), |
| 26 | m_sprgen(*this, "spritegen"), |
| 27 | m_eeprom(*this, "eeprom") |
| 28 | {} |
| 31 | 29 | |
| 32 | 30 | /* memory pointers */ |
| 33 | 31 | required_shared_ptr<UINT16> m_vram_0; |
| r31277 | r31278 | |
| 38 | 36 | required_shared_ptr<UINT16> m_head_layersize; |
| 39 | 37 | required_shared_ptr<UINT16> m_headpanic_platform_x; |
| 40 | 38 | required_shared_ptr<UINT16> m_headpanic_platform_y; |
| 41 | | optional_device<decospr_device> m_sprgen; |
| 42 | 39 | // UINT16 * m_paletteram; // currently this uses generic palette handling |
| 43 | 40 | |
| 44 | 41 | /* video-related */ |
| r31277 | r31278 | |
| 50 | 47 | int m_tilemap1_color; |
| 51 | 48 | |
| 52 | 49 | /* devices */ |
| 50 | required_device<cpu_device> m_maincpu; |
| 51 | required_device<cpu_device> m_audiocpu; |
| 52 | required_device<gfxdecode_device> m_gfxdecode; |
| 53 | optional_device<decospr_device> m_sprgen; |
| 53 | 54 | optional_device<eeprom_serial_93cxx_device> m_eeprom; |
| 55 | |
| 54 | 56 | DECLARE_WRITE16_MEMBER(esd16_sound_command_w); |
| 55 | 57 | DECLARE_WRITE16_MEMBER(hedpanic_platform_w); |
| 56 | 58 | DECLARE_READ16_MEMBER(esd_eeprom_r); |
| r31277 | r31278 | |
| 70 | 72 | virtual void video_start(); |
| 71 | 73 | UINT32 screen_update_hedpanic(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 72 | 74 | DECOSPR_PRIORITY_CB_MEMBER(hedpanic_pri_callback); |
| 73 | | |
| 74 | | required_device<cpu_device> m_maincpu; |
| 75 | | required_device<cpu_device> m_audiocpu; |
| 76 | | required_device<gfxdecode_device> m_gfxdecode; |
| 77 | 75 | }; |