mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
apple2: Support the original gameport ComputerEyes [R. Belmont, Golden Child]
This commit is contained in:
parent
d96773c67d
commit
b9d3f359e5
@ -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",
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user