diff options
Diffstat (limited to 'src/devices/machine/sunplus_gcm394.h')
-rw-r--r-- | src/devices/machine/sunplus_gcm394.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/devices/machine/sunplus_gcm394.h b/src/devices/machine/sunplus_gcm394.h index 0f05342b9bd..72432980f85 100644 --- a/src/devices/machine/sunplus_gcm394.h +++ b/src/devices/machine/sunplus_gcm394.h @@ -41,7 +41,6 @@ public: m_csbase(0x20000), m_space_read_cb(*this), m_space_write_cb(*this), - m_mapping_write_cb(*this), m_boot_mode(0), m_cs_callback(*this, DEVICE_SELF, FUNC(sunplus_gcm394_base_device::default_cs_callback)) { @@ -56,7 +55,6 @@ public: auto space_read_callback() { return m_space_read_cb.bind(); } auto space_write_callback() { return m_space_write_cb.bind(); } - auto mapping_write_callback() { return m_mapping_write_cb.bind(); } auto nand_read_callback() { return m_nand_read_cb.bind(); } @@ -71,6 +69,9 @@ public: void default_cs_callback(uint16_t cs0, uint16_t cs1, uint16_t cs2, uint16_t cs3, uint16_t cs4 ); void set_cs_space(address_space* csspace) { m_cs_space = csspace; } + + void set_paldisplaybank_high_hack(int pal_displaybank_high) { m_spg_video->set_paldisplaybank_high(pal_displaybank_high); } + void set_alt_tile_addressing_hack(int alt_tile_addressing) { m_spg_video->set_alt_tile_addressing(alt_tile_addressing); } protected: @@ -154,6 +155,8 @@ protected: uint16_t m_7960; uint16_t m_7961; + uint16_t m_system_dma_memtype; + devcb_read16 m_nand_read_cb; int m_csbase; @@ -169,7 +172,6 @@ protected: private: devcb_read16 m_space_read_cb; devcb_write16 m_space_write_cb; - devcb_write16 m_mapping_write_cb; DECLARE_READ16_MEMBER(unk_r); DECLARE_WRITE16_MEMBER(unk_w); @@ -184,6 +186,8 @@ private: DECLARE_WRITE16_MEMBER(system_dma_params_channel1_w); DECLARE_READ16_MEMBER(system_dma_status_r); DECLARE_WRITE16_MEMBER(system_dma_trigger_w); + DECLARE_READ16_MEMBER(system_dma_memtype_r); + DECLARE_WRITE16_MEMBER(system_dma_memtype_w); DECLARE_READ16_MEMBER(unkarea_780f_status_r); DECLARE_READ16_MEMBER(unkarea_78fb_status_r); |