apple2: Support the original gameport ComputerEyes [R. Belmont, Golden Child]

This commit is contained in:
arbee 2019-08-09 22:10:49 -04:00
parent d96773c67d
commit b9d3f359e5
3 changed files with 6 additions and 2 deletions

View File

@ -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",

View File

@ -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()

View File

@ -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