diff options
author | 2013-01-28 01:38:58 +0000 | |
---|---|---|
committer | 2013-01-28 01:38:58 +0000 | |
commit | 36c8a1937897acfa5b9c876173412e5f23334480 (patch) | |
tree | 346ca0632082aaeed48739c02213dd4dece08e75 /src/mess/includes/apple2.h | |
parent | a7f3d5e04460143284d7e0c831567955b540b793 (diff) |
(MESS) De-tagged the Apple II series drivers [R. Belmont]
Diffstat (limited to 'src/mess/includes/apple2.h')
-rw-r--r-- | src/mess/includes/apple2.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/src/mess/includes/apple2.h b/src/mess/includes/apple2.h index 7573ba11824..491a9815de4 100644 --- a/src/mess/includes/apple2.h +++ b/src/mess/includes/apple2.h @@ -120,7 +120,24 @@ public: m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), m_a2bus(*this, "a2bus"), - m_a2eauxslot(*this, AUXSLOT_TAG) + m_a2eauxslot(*this, AUXSLOT_TAG), + m_joy1x(*this, "joystick_1_x"), + m_joy1y(*this, "joystick_1_y"), + m_joy2x(*this, "joystick_2_x"), + m_joy2y(*this, "joystick_2_y"), + m_joybuttons(*this, "joystick_buttons"), + m_kb0(*this, "keyb_0"), + m_kb1(*this, "keyb_1"), + m_kb2(*this, "keyb_2"), + m_kb3(*this, "keyb_3"), + m_kb4(*this, "keyb_4"), + m_kb5(*this, "keyb_5"), + m_kb6(*this, "keyb_6"), + m_kbspecial(*this, "keyb_special"), + m_kbrepeat(*this, "keyb_repeat"), + m_resetdip(*this, "reset_dip"), + m_kpad1(*this, "keypad_1"), + m_kpad2(*this, "keypad_2") { } required_device<cpu_device> m_maincpu; @@ -128,6 +145,12 @@ public: required_device<a2bus_device> m_a2bus; optional_device<a2eauxslot_device> m_a2eauxslot; + optional_ioport m_joy1x, m_joy1y, m_joy2x, m_joy2y, m_joybuttons; + required_ioport m_kb0, m_kb1, m_kb2, m_kb3, m_kb4, m_kb5, m_kb6, m_kbspecial; + optional_ioport m_kbrepeat; + optional_ioport m_resetdip; + optional_ioport m_kpad1, m_kpad2; + UINT32 m_flags, m_flags_mask; INT32 m_a2_cnxx_slot; UINT32 m_a2_mask; @@ -213,6 +236,7 @@ public: WRITE8_MEMBER(apple2_cfff_w); void apple2_refresh_delegates(); + int apple2_pressed_specialkey(UINT8 key); read8_delegate read_delegates_master[4]; write8_delegate write_delegates_master[3]; |