diff options
author | Dirk Best <mail@dirk-best.de> | 2021-09-19 17:45:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-19 17:45:33 +0200 |
commit | 566a741f4fda9be53504eb9bc965bd9f1649ae2d (patch) | |
tree | 81292970fc84d5f4def49ce2125d8ec1f1d2b365 /src/mame/includes | |
parent | 4e972dc95bc6a99da980ffc90ef516c511e4b5ec (diff) |
sharrier: Hook up MCU, remove simulation (#8552)
- The MCU for the sharrier1 set is handcrafted and marked BAD_DUMP
- There is a slight issue with the initial synchronisation, so there is a hack to ignore the problematic write
Diffstat (limited to 'src/mame/includes')
-rw-r--r-- | src/mame/includes/segahang.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/mame/includes/segahang.h b/src/mame/includes/segahang.h index 88841e5eea6..7456b330193 100644 --- a/src/mame/includes/segahang.h +++ b/src/mame/includes/segahang.h @@ -68,7 +68,6 @@ public: // game-specific driver init void init_generic(); void init_sharrier(); - void init_enduror(); void init_endurobl(); void init_endurob2(); @@ -90,8 +89,11 @@ private: // Z80 sound CPU read/write handlers uint8_t sound_data_r(); - // I8751-related VBLANK interrupt handlers - INTERRUPT_GEN_MEMBER( i8751_main_cpu_vblank ); + // I8751 + uint8_t i8751_r(offs_t offset); + void i8751_w(offs_t offset, uint8_t data); + void i8751_p1_w(uint8_t data); + uint8_t m_i8751_addr; // video updates uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); @@ -108,9 +110,6 @@ private: void sound_portmap_2203x2(address_map &map); void sub_map(address_map &map); - // internal types - typedef delegate<void ()> i8751_sim_delegate; - // timer IDs enum { @@ -124,9 +123,6 @@ private: virtual void machine_reset() override; virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; - // I8751 simulations - void sharrier_i8751_sim(); - // devices required_device<m68000_device> m_maincpu; required_device<m68000_device> m_subcpu; @@ -146,7 +142,6 @@ private: // configuration bool m_sharrier_video; - i8751_sim_delegate m_i8751_vblank_hook; // internal state uint8_t m_adc_select; |