diff options
author | arbee <rb6502@users.noreply.github.com> | 2019-08-09 22:10:49 -0400 |
---|---|---|
committer | arbee <rb6502@users.noreply.github.com> | 2019-08-09 22:10:49 -0400 |
commit | b9d3f359e592913a408a40f80b70a006d9f97f73 (patch) | |
tree | d5e0360a4a58facf640e5ff6e91caed5c7e3802d | |
parent | d96773c67d7b3735a430370f194e315692563c1c (diff) |
apple2: Support the original gameport ComputerEyes [R. Belmont, Golden Child]
-rw-r--r-- | scripts/src/bus.lua | 2 | ||||
-rw-r--r-- | src/devices/bus/a2gameio/gameio.cpp | 3 | ||||
-rw-r--r-- | src/mame/drivers/apple2e.cpp | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index d238c58bbec..a3317b6340d 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -2145,6 +2145,8 @@ end if (BUSES["A2GAMEIO"]~=null) then files { + MAME_DIR .. "src/devices/bus/a2gameio/computereyes.cpp", + MAME_DIR .. "src/devices/bus/a2gameio/computereyes.h", MAME_DIR .. "src/devices/bus/a2gameio/gameio.cpp", MAME_DIR .. "src/devices/bus/a2gameio/gameio.h", MAME_DIR .. "src/devices/bus/a2gameio/joystick.cpp", diff --git a/src/devices/bus/a2gameio/gameio.cpp b/src/devices/bus/a2gameio/gameio.cpp index 0fbe103916a..4f9b7bd9b58 100644 --- a/src/devices/bus/a2gameio/gameio.cpp +++ b/src/devices/bus/a2gameio/gameio.cpp @@ -51,6 +51,7 @@ #include "bus/a2gameio/gameio.h" #include "bus/a2gameio/joystick.h" #include "bus/a2gameio/joyport.h" +#include "bus/a2gameio/computereyes.h" //************************************************************************** @@ -71,11 +72,13 @@ void apple2_gameio_device::iiandplus_options(device_slot_interface &slot) { slot.option_add("joy", APPLE2_JOYSTICK); slot.option_add("joyport", APPLE2_JOYPORT); + slot.option_add("compeyes", APPLE2_COMPUTEREYES); } void apple2_gameio_device::default_options(device_slot_interface &slot) { slot.option_add("joy", APPLE2_JOYSTICK); + slot.option_add("compeyes", APPLE2_COMPUTEREYES); } void apple2_gameio_device::device_config_complete() diff --git a/src/mame/drivers/apple2e.cpp b/src/mame/drivers/apple2e.cpp index 589942c6e39..23fac18cf8e 100644 --- a/src/mame/drivers/apple2e.cpp +++ b/src/mame/drivers/apple2e.cpp @@ -1474,8 +1474,7 @@ void apple2e_state::do_io(int offset, bool is_iic) break; } } - - return; +// ComputerEyes seems to indicate that the annuciators get tickled regardless of the IOUDIS state. } if ((offset & 0xf0) == 0x30) // speaker, $C030 is really 30-3f |