summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-09-21 00:40:51 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-09-21 00:41:44 -0400
commitd1f9c79de853f353b9853351aebefb588db301e0 (patch)
treeefef95b49d1960e4d7dd2bb19f477f7d18c0b0aa
parent73d922ac8e8d50510ecaa05c964242f6dfcb19d2 (diff)
New machines marked as NOT_WORKING
---------------------------------- Lee Data 1214D Display Terminal [Al Kossow]
-rw-r--r--scripts/target/mame/mess.lua1
-rw-r--r--src/mame/drivers/lee1214.cpp85
-rw-r--r--src/mame/mame.lst3
-rw-r--r--src/mame/mess.flt1
4 files changed, 90 insertions, 0 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 6fb735dfd5b..29e19eee5ea 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -3720,6 +3720,7 @@ files {
MAME_DIR .. "src/mame/drivers/jonos.cpp",
MAME_DIR .. "src/mame/drivers/kron.cpp",
MAME_DIR .. "src/mame/drivers/leapster.cpp",
+ MAME_DIR .. "src/mame/drivers/lee1214.cpp",
MAME_DIR .. "src/mame/drivers/learnwin.cpp",
MAME_DIR .. "src/mame/drivers/lft.cpp",
MAME_DIR .. "src/mame/drivers/lg-dvd.cpp",
diff --git a/src/mame/drivers/lee1214.cpp b/src/mame/drivers/lee1214.cpp
new file mode 100644
index 00000000000..4c24308498d
--- /dev/null
+++ b/src/mame/drivers/lee1214.cpp
@@ -0,0 +1,85 @@
+// license:BSD-3-Clause
+// copyright-holders:AJR
+/****************************************************************************
+
+ Skeleton driver for Lee Data 1214 terminal.
+
+****************************************************************************/
+
+#include "emu.h"
+#include "cpu/i86/i186.h"
+#include "machine/eeprompar.h"
+#include "machine/z80sio.h"
+//#include "video/mc6845.h"
+//#include "screen.h"
+
+class lee1214_state : public driver_device
+{
+public:
+ lee1214_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ {
+ }
+
+ void lee1214(machine_config &config);
+
+protected:
+ virtual void machine_start() override;
+
+private:
+ void mem_map(address_map &map);
+ void io_map(address_map &map);
+
+ u32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+
+ required_device<cpu_device> m_maincpu;
+};
+
+void lee1214_state::mem_map(address_map &map)
+{
+ map(0x00000, 0x007ff).ram();
+ map(0x80000, 0x80fff).ram();
+ map(0xa0000, 0xa1fff).ram();
+ map(0xf8000, 0xfffff).rom().region("maincpu", 0);
+}
+
+void lee1214_state::io_map(address_map &map)
+{
+ map(0x0000, 0x0003).rw("mpsc", FUNC(i8274_new_device::cd_ba_r), FUNC(i8274_new_device::cd_ba_w));
+ //map(0x0100, 0x0100).w("crtc", FUNC(mc6845_device::address_w));
+ //map(0x0101, 0x0101).w("crtc", FUNC(mc6845_device::register_w));
+}
+
+void lee1214_state::machine_start()
+{
+}
+
+u32 lee1214_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
+{
+ return 0;
+}
+
+static INPUT_PORTS_START(lee1214)
+INPUT_PORTS_END
+
+void lee1214_state::lee1214(machine_config &config)
+{
+ I80188(config, m_maincpu, 12_MHz_XTAL);
+ m_maincpu->set_addrmap(AS_PROGRAM, &lee1214_state::mem_map);
+ m_maincpu->set_addrmap(AS_IO, &lee1214_state::io_map);
+
+ I8274_NEW(config, "mpsc", 4'000'000);
+
+ EEPROM_2816(config, "eeprom");
+}
+
+ROM_START(lee1214d) // X1 = 12 MHz, X2 = 41.028 MHz, X3 = 24.823 MHz, X5 = 5.9335 MHz
+ ROM_REGION(0x8000, "maincpu", 0)
+ ROM_LOAD("13311502_u41_27256.bin", 0x0000, 0x8000, CRC(6f469221) SHA1(deef1d83c41fdbe09b830dc45698988cf89003e0))
+
+ ROM_REGION(0x0800, "eeprom", 0)
+ ROM_LOAD("13300001_u19_2816.bin", 0x0000, 0x0800, CRC(30411ecd) SHA1(8755a1e0a36fe96d438bf2ee35cb0917fbc97e52))
+ROM_END
+
+COMP(1985, lee1214d, 0, 0, lee1214, lee1214, lee1214_state, empty_init, "Lee Data", "1214D Display Terminal", MACHINE_IS_SKELETON)
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 96a4e29eb34..16b34c90aa3 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -17995,6 +17995,9 @@ learnwin1 //
learnwinf //
spielmast // Yuvo
+@source:lee1214.cpp
+lee1214d //
+
@source:legionna.cpp
cupsoc // (c) 1992 Seibu
cupsoca // (c) 1992 Seibu
diff --git a/src/mame/mess.flt b/src/mame/mess.flt
index 34c66a817fc..1173c64b324 100644
--- a/src/mame/mess.flt
+++ b/src/mame/mess.flt
@@ -362,6 +362,7 @@ lc80.cpp
lcmate2.cpp
leapster.cpp
learnwin.cpp
+lee1214.cpp
lft.cpp
lg-dvd.cpp
lilith.cpp