From 4dfad6d101564ea83ae122800e06d90cca2cf7ce Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Thu, 21 Aug 2014 02:05:14 +0000 Subject: (MESS) Apple II series changes: [R. Belmont] - Support 1 MB expansion for Laser 128ex2 - Give the IIc Plus the correct drive type, but it's still unhappy - Promote apple2c4 to working since it runs fine now --- src/mess/includes/apple2.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/mess/includes') diff --git a/src/mess/includes/apple2.h b/src/mess/includes/apple2.h index 87d11c98b54..d294025ed9f 100644 --- a/src/mess/includes/apple2.h +++ b/src/mess/includes/apple2.h @@ -26,6 +26,7 @@ #define IIC_ACIA1_TAG "acia1" #define IIC_ACIA2_TAG "acia2" +#define IICP_IWM_TAG "iwm" #define LASER128_UDC_TAG "l128udc" @@ -142,7 +143,8 @@ public: m_cassette(*this, "cassette"), m_acia1(*this, IIC_ACIA1_TAG), m_acia2(*this, IIC_ACIA2_TAG), - m_laserudc(*this, LASER128_UDC_TAG) + m_laserudc(*this, LASER128_UDC_TAG), + m_iicpiwm(*this, IICP_IWM_TAG) { } required_device m_maincpu; @@ -161,6 +163,7 @@ public: optional_device m_acia1, m_acia2; optional_device m_laserudc; + optional_device m_iicpiwm; UINT32 m_flags, m_flags_mask; INT32 m_a2_cnxx_slot; @@ -360,6 +363,14 @@ public: void apple2eplus_init_common(void *apple2cp_ce00_ram); INT8 apple2_slotram_r(address_space &space, int slotnum, int offset); int a2_no_ctrl_reset(); + +private: + // Laser 128EX2 slot 5 Apple Memory Expansion emulation vars + UINT8 m_exp_bankhior; + int m_exp_addrmask; + UINT8 m_exp_regs[0x10]; + UINT8 *m_exp_ram; + int m_exp_wptr, m_exp_liveptr; }; /*----------- defined in drivers/apple2.c -----------*/ INPUT_PORTS_EXTERN( apple2ep ); -- cgit v1.2.3-70-g09d2