summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-10-29 13:52:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-10-29 13:52:33 -0400
commit316ee65978963211783fab69b089ef750f989060 (patch)
treed92957a86425652b7e3d581f46636b5d8e6925e7
parent7d862e69f9d6ca22b5516212e4f4ea10f13899a4 (diff)
msbc1: Add SIOs (nw)
-rw-r--r--src/mame/drivers/msbc1.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mame/drivers/msbc1.cpp b/src/mame/drivers/msbc1.cpp
index 446e3db0d14..b8225d552d6 100644
--- a/src/mame/drivers/msbc1.cpp
+++ b/src/mame/drivers/msbc1.cpp
@@ -52,6 +52,8 @@ Notes:
#include "emu.h"
#include "cpu/m68000/m68000.h"
+#include "machine/z80sio.h"
+
#define MC68000R12_TAG "u50"
#define MK68564_0_TAG "u14"
#define MK68564_1_TAG "u15"
@@ -78,6 +80,8 @@ void msbc1_state::msbc1_mem(address_map &map)
map.unmap_value_high();
map(0x000000, 0x03ffff).ram();
map(0xf80000, 0xf87fff).rom().region(MC68000R12_TAG, 0);
+ map(0xfffa00, 0xfffa3f).rw("sio1", FUNC(mk68564_device::read), FUNC(mk68564_device::write)).umask16(0x00ff);
+ map(0xfffc00, 0xfffc3f).rw("sio2", FUNC(mk68564_device::read), FUNC(mk68564_device::write)).umask16(0x00ff);
}
/* Input ports */
@@ -95,8 +99,11 @@ void msbc1_state::machine_reset()
void msbc1_state::msbc1(machine_config &config)
{
/* basic machine hardware */
- M68000(config, m_maincpu, XTAL(12'500'000));
+ M68000(config, m_maincpu, 12.5_MHz_XTAL);
m_maincpu->set_addrmap(AS_PROGRAM, &msbc1_state::msbc1_mem);
+
+ MK68564(config, "sio1", 3.6864_MHz_XTAL);
+ MK68564(config, "sio2", 3.6864_MHz_XTAL);
}
/* ROM definition */