summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2014-08-21 02:05:14 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2014-08-21 02:05:14 +0000
commit4dfad6d101564ea83ae122800e06d90cca2cf7ce (patch)
tree4d25ec6480c2e047203c6dfce60ae03b1828336c /src/mess/includes
parent31a2f4b00ff0bb486f88824ef8fa76fad1204a74 (diff)
(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
Diffstat (limited to 'src/mess/includes')
-rw-r--r--src/mess/includes/apple2.h13
1 files changed, 12 insertions, 1 deletions
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<cpu_device> m_maincpu;
@@ -161,6 +163,7 @@ public:
optional_device<mos6551_device> m_acia1, m_acia2;
optional_device<applefdc_base_device> m_laserudc;
+ optional_device<iwm_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 );