summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pc.cpp')
-rw-r--r--src/mame/drivers/pc.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mame/drivers/pc.cpp b/src/mame/drivers/pc.cpp
index b06b125f09b..d7634c0bd75 100644
--- a/src/mame/drivers/pc.cpp
+++ b/src/mame/drivers/pc.cpp
@@ -346,6 +346,7 @@ Misc: A Kaypro 16/2 is a configuration without harddisk but with two floppy disk
#include "emu.h"
#include "machine/genpc.h"
+#include "machine/i8251.h"
#include "cpu/i86/i86.h"
#include "cpu/nec/nec.h"
#include "bus/isa/isa.h"
@@ -410,6 +411,13 @@ static ADDRESS_MAP_START(ibm5550_io, AS_IO, 16, pc_state )
AM_RANGE(0x0000, 0x00ff) AM_DEVICE8("mb", ibm5160_mb_device, map, 0xffff)
ADDRESS_MAP_END
+static ADDRESS_MAP_START(epc_io, AS_IO, 8, pc_state)
+ ADDRESS_MAP_UNMAP_HIGH
+ AM_RANGE(0x0070, 0x0070) AM_DEVREADWRITE("i8251", i8251_device, data_r, data_w)
+ AM_RANGE(0x0071, 0x0071) AM_DEVREADWRITE("i8251", i8251_device, status_r, control_w)
+ AM_RANGE(0x0000, 0x00ff) AM_DEVICE8("mb", ibm5160_mb_device, map, 0xffff)
+ADDRESS_MAP_END
+
INPUT_CHANGED_MEMBER(pc_state::pc_turbo_callback)
{
m_maincpu->set_clock_scale((newval & 2) ? 1 : m_turbo_off_speed);
@@ -525,8 +533,11 @@ MACHINE_CONFIG_END
// Ericsson Information System
static MACHINE_CONFIG_DERIVED( epc, pccga )
+ MCFG_DEVICE_REMOVE("maincpu")
+ MCFG_CPU_PC(pc8, epc, I8088, 4772720)
MCFG_DEVICE_MODIFY("isa1")
MCFG_SLOT_DEFAULT_OPTION("ega")
+ MCFG_DEVICE_ADD("i8251", I8251, 0) // clock?
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( eppc, pccga )