diff options
Diffstat (limited to 'src/mame/includes/markham.h')
-rw-r--r-- | src/mame/includes/markham.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/mame/includes/markham.h b/src/mame/includes/markham.h index 11349331224..9f31123619f 100644 --- a/src/mame/includes/markham.h +++ b/src/mame/includes/markham.h @@ -41,6 +41,9 @@ public: , m_irq_scanline_start(0) , m_irq_scanline_end(0) , m_coin2_lock_cnt(3) + , m_packet_buffer{} + , m_packet_write_pos(0) + , m_packet_reset(true) { } @@ -55,6 +58,7 @@ public: void base_master_map(address_map &map); void markham_master_map(address_map &map); void strnskil_master_map(address_map &map); + void banbam_master_map(address_map &map); void markham_slave_map(address_map &map); void strnskil_slave_map(address_map &map); @@ -70,9 +74,9 @@ protected: DECLARE_READ8_MEMBER(strnskil_d800_r); // protection comms for banbam/pettanp - DECLARE_READ8_MEMBER(pettanp_protection_r); DECLARE_READ8_MEMBER(banbam_protection_r); - DECLARE_WRITE8_MEMBER(protection_w); + DECLARE_WRITE8_MEMBER(banbam_protection_w); + DECLARE_WRITE8_MEMBER(mcu_reset_w); virtual void machine_start() override; virtual void machine_reset() override; @@ -112,7 +116,13 @@ private: uint8_t m_irq_scanline_start; uint8_t m_irq_scanline_end; + /* misc */ uint8_t m_coin2_lock_cnt; + + /* banbam protection simulation */ + uint8_t m_packet_write_pos; + uint8_t m_packet_buffer[2]; + bool m_packet_reset; }; #endif // MAME_INCLUDES_MARKHAM_H |