summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/armedf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/armedf.h')
-rw-r--r--src/mame/includes/armedf.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/mame/includes/armedf.h b/src/mame/includes/armedf.h
index 1f7ff9149ec..70787ccb6d7 100644
--- a/src/mame/includes/armedf.h
+++ b/src/mame/includes/armedf.h
@@ -110,18 +110,22 @@ class bigfghtr_state : public armedf_state
public:
bigfghtr_state(const machine_config &mconfig, device_type type, const char *tag)
: armedf_state(mconfig, type, tag),
- m_sharedram(*this, "sharedram") { }
-
- required_shared_ptr<uint16_t> m_sharedram;
+ m_mcu(*this, "mcu"),
+ m_sharedram(*this, "sharedram")
+ { }
+ required_device<cpu_device> m_mcu;
+ required_shared_ptr<uint8_t> m_sharedram;
+
/* misc */
int m_read_latch;
uint8_t m_mcu_input_snippet;
uint8_t m_mcu_jsr_snippet;
DECLARE_READ16_MEMBER(latch_r);
- DECLARE_WRITE16_MEMBER(sharedram_w);
- DECLARE_READ16_MEMBER(sharedram_r);
+ DECLARE_WRITE8_MEMBER(main_sharedram_w);
+ DECLARE_READ8_MEMBER(main_sharedram_r);
+ DECLARE_WRITE16_MEMBER(bigfghtr_io_w);
DECLARE_DRIVER_INIT(bigfghtr);
DECLARE_MACHINE_START(bigfghtr);
DECLARE_MACHINE_RESET(bigfghtr);