diff options
Diffstat (limited to 'src/mame/includes/model3.h')
-rw-r--r-- | src/mame/includes/model3.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/mame/includes/model3.h b/src/mame/includes/model3.h index b5055e48af8..dc91632bcd5 100644 --- a/src/mame/includes/model3.h +++ b/src/mame/includes/model3.h @@ -13,6 +13,7 @@ #include "machine/eepromser.h" #include "machine/i8251.h" #include "sound/scsp.h" +#include "machine/315_5649.h" #include "machine/315-5881_crypt.h" #include "machine/msm6242.h" #include "machine/timer.h" @@ -72,7 +73,7 @@ public: m_eeprom(*this, "eeprom"), m_screen(*this, "screen"), m_rtc(*this, "rtc"), - m_adc_ports(*this, "AN%u", 0U), + m_io(*this, "io"), m_work_ram(*this, "work_ram"), m_paletteram64(*this, "paletteram64"), m_dsbz80(*this, DSBZ80_TAG), @@ -100,7 +101,9 @@ public: void model3_10(machine_config &config); void model3_20(machine_config &config); void model3_21(machine_config &config); + void scud(machine_config &config); + void lostwsga(machine_config &config); void init_lemans24(); void init_vs298(); @@ -144,8 +147,7 @@ private: required_device<eeprom_serial_93cxx_device> m_eeprom; required_device<screen_device> m_screen; required_device<rtc72421_device> m_rtc; - - optional_ioport_array<8> m_adc_ports; + required_device<sega_315_5649_device> m_io; required_shared_ptr<uint64_t> m_work_ram; required_shared_ptr<uint64_t> m_paletteram64; @@ -278,8 +280,13 @@ private: DECLARE_WRITE64_MEMBER(scsi_w); DECLARE_READ64_MEMBER(real3d_dma_r); DECLARE_WRITE64_MEMBER(real3d_dma_w); - DECLARE_READ64_MEMBER(model3_ctrl_r); - DECLARE_WRITE64_MEMBER(model3_ctrl_w); + + DECLARE_WRITE8_MEMBER(eeprom_w); + DECLARE_READ8_MEMBER(input_r); + DECLARE_WRITE8_MEMBER(lostwsga_ser1_w); + DECLARE_READ8_MEMBER(lostwsga_ser2_r); + DECLARE_WRITE8_MEMBER(lostwsga_ser2_w); + DECLARE_READ64_MEMBER(model3_sys_r); DECLARE_WRITE64_MEMBER(model3_sys_w); DECLARE_READ64_MEMBER(model3_rtc_r); |