summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/namcos2.h
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2016-12-31 22:45:30 +0100
committer angelosa <salese_corp_ltd@email.it>2016-12-31 22:45:30 +0100
commit8e00c03a0ed6513fa292eea60dc9732d22bbc11d (patch)
tree283b5e6be8a72eed2a0e3d6751feb1b4f78c1cdc /src/mame/includes/namcos2.h
parent1c533823ba62000f6e2036a05cc9f3df18e6ae5a (diff)
Clean-ups, 279 lines removed from machine/namcos2.cpp (nw)
Diffstat (limited to 'src/mame/includes/namcos2.h')
-rw-r--r--src/mame/includes/namcos2.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/mame/includes/namcos2.h b/src/mame/includes/namcos2.h
index 85419acfdad..f856570dfd9 100644
--- a/src/mame/includes/namcos2.h
+++ b/src/mame/includes/namcos2.h
@@ -130,18 +130,15 @@ public:
bool is_system21();
int m_gametype;
- emu_timer *m_posirq_timer;
int m_mcu_analog_ctrl;
int m_mcu_analog_data;
int m_mcu_analog_complete;
std::unique_ptr<uint8_t[]> m_eeprom;
- uint16_t m_68k_master_C148[0x20];
- uint16_t m_68k_slave_C148[0x20];
- uint16_t m_68k_gpu_C148[0x20];
DECLARE_WRITE8_MEMBER(sound_reset_w);
DECLARE_WRITE8_MEMBER(system_reset_w);
-
+ void reset_all_subcpus(int state);
+
TIMER_DEVICE_CALLBACK_MEMBER(screen_scanline);
// C123 Tilemap Emulation
@@ -228,23 +225,9 @@ public:
// general
void zdrawgfxzoom(screen_device &screen, bitmap_ind16 &dest_bmp, const rectangle &clip, gfx_element *gfx, uint32_t code, uint32_t color, int flipx, int flipy, int sx, int sy, int scalex, int scaley, int zpos);
void zdrawgfxzoom(screen_device &screen, bitmap_rgb32 &dest_bmp, const rectangle &clip, gfx_element *gfx, uint32_t code, uint32_t color, int flipx, int flipy, int sx, int sy, int scalex, int scaley, int zpos);
- INTERRUPT_GEN_MEMBER(namcos2_68k_master_vblank);
- INTERRUPT_GEN_MEMBER(namcos2_68k_slave_vblank);
- INTERRUPT_GEN_MEMBER(namcos2_68k_gpu_vblank);
- TIMER_CALLBACK_MEMBER(namcos2_posirq_tick);
- void adjust_posirq_timer( int scanline );
- void init_c148();
- void reset_all_subcpus(int state);
- uint16_t readwrite_c148( address_space &space, offs_t offset, uint16_t data, int bWrite );
- int get_posirq_scanline();
DECLARE_WRITE8_MEMBER( namcos2_68k_eeprom_w );
DECLARE_READ8_MEMBER( namcos2_68k_eeprom_r );
- DECLARE_WRITE16_MEMBER( namcos2_68k_master_C148_w );
- DECLARE_READ16_MEMBER( namcos2_68k_master_C148_r );
-
- DECLARE_WRITE16_MEMBER( namcos2_68k_slave_C148_w );
- DECLARE_READ16_MEMBER( namcos2_68k_slave_C148_r );
DECLARE_WRITE8_MEMBER( namcos2_mcu_port_d_w );
DECLARE_READ8_MEMBER( namcos2_mcu_port_d_r );
@@ -254,9 +237,6 @@ public:
DECLARE_READ8_MEMBER( namcos2_mcu_analog_port_r );
DECLARE_WRITE8_MEMBER( namcos2_sound_bankselect_w );
- /* TODO: this should belong to namcos21_state */
- DECLARE_WRITE16_MEMBER( namcos21_68k_gpu_C148_w );
- DECLARE_READ16_MEMBER( namcos21_68k_gpu_C148_r );
required_device<cpu_device> m_maincpu;
optional_device<cpu_device> m_audiocpu;
optional_device<cpu_device> m_slave;