summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-06-02 11:03:38 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-06-02 11:03:38 -0400
commitd5c99125aa2a7690212d68db4f383bbcc3716dfa (patch)
treec3a6ed70aff9876e7d74ed61207c9d4b4a2d90cb
parentd801f8f8e35dd27ef0a25554c61332cc40ad1563 (diff)
itt9216: Separate into skeleton driver (nw)
-rw-r--r--scripts/target/mame/mess.lua1
-rw-r--r--src/mame/drivers/itt9216.cpp65
-rw-r--r--src/mame/drivers/terminal.cpp13
-rw-r--r--src/mame/mame.lst4
-rw-r--r--src/mame/mess.flt1
5 files changed, 70 insertions, 14 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 04e3b139321..8ee2bba98ae 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -3914,6 +3914,7 @@ files {
MAME_DIR .. "src/mame/machine/itt1700_kbd.cpp",
MAME_DIR .. "src/mame/machine/itt1700_kbd.h",
MAME_DIR .. "src/mame/drivers/itt3030.cpp",
+ MAME_DIR .. "src/mame/drivers/itt9216.cpp",
MAME_DIR .. "src/mame/drivers/jade.cpp",
MAME_DIR .. "src/mame/drivers/jonos.cpp",
MAME_DIR .. "src/mame/drivers/krokha.cpp",
diff --git a/src/mame/drivers/itt9216.cpp b/src/mame/drivers/itt9216.cpp
new file mode 100644
index 00000000000..7b67812ea8e
--- /dev/null
+++ b/src/mame/drivers/itt9216.cpp
@@ -0,0 +1,65 @@
+// license:BSD-3-Clause
+// copyright-holders:AJR
+/***********************************************************************************************************************************
+
+Skeleton driver for ITT Courier 9216 IBM-compatible color display terminal.
+
+************************************************************************************************************************************/
+
+#include "emu.h"
+#include "cpu/m68000/m68000.h"
+#include "cpu/mcs48/mcs48.h"
+
+class itt9216_state : public driver_device
+{
+public:
+ itt9216_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ , m_chargen(*this, "chargen")
+ {
+ }
+
+ void itt9216(machine_config &config);
+
+private:
+ void mem_map(address_map &map);
+
+ required_device<cpu_device> m_maincpu;
+ required_region_ptr<u8> m_chargen;
+};
+
+void itt9216_state::mem_map(address_map &map)
+{
+ map(0x00000, 0x00007).rom().region("program", 0);
+ map(0x00008, 0x0ffff).ram();
+ map(0x58000, 0x59fff).rom().region("program", 0);
+ map(0x62000, 0x62fff).ram();
+}
+
+static INPUT_PORTS_START(itt9216)
+INPUT_PORTS_END
+
+void itt9216_state::itt9216(machine_config &config)
+{
+ M68008(config, m_maincpu, 8000000); // clock unknown
+ m_maincpu->set_addrmap(AS_PROGRAM, &itt9216_state::mem_map);
+
+ I8741(config, "upi", 6000000).set_disable(); // clock unknown
+}
+
+// XTALs: 38.080 MHz (U7), 11.250(?) MHz (U1)
+// ICs on main board: MC68008P8 (U33), 701188-001 PLCC ASIC (U58), empty PLCC (U45), beeper
+// ICs on keyboard simulator board: 700881-001 PLCC ASIC (U12), DP8340N (U16), DP8341N (U15), D8741A (U1)
+ROM_START(itt9216)
+ ROM_REGION(0x2000, "program", 0)
+ ROM_LOAD("174054-007.u52", 0x0000, 0x2000, CRC(be1f85c8) SHA1(8c44ff6166c43b524f41133053fa82f5c48047d8))
+
+ ROM_REGION(0x400, "upi", 0)
+ ROM_LOAD("174065-003.u1", 0x000, 0x400, NO_DUMP)
+
+ ROM_REGION(0x2000, "chargen", 0)
+ ROM_LOAD("174055-004.u40", 0x0000, 0x2000, CRC(c8611425) SHA1(31fbdd6ff72a96c59277b6edac9a6360f6e1e49e))
+ROM_END
+
+COMP(1986, itt9216, 0, 0, itt9216, itt9216, itt9216_state, empty_init, "ITT Courier", "ITT 9216-X", MACHINE_IS_SKELETON)
diff --git a/src/mame/drivers/terminal.cpp b/src/mame/drivers/terminal.cpp
index 9292fd0b71f..8f57d5cbc28 100644
--- a/src/mame/drivers/terminal.cpp
+++ b/src/mame/drivers/terminal.cpp
@@ -64,18 +64,6 @@ ROM_START( alcat258 ) // MSM80C154 (+ TS9347// 8k ram // b&w
ROM_END
-ROM_START( itt9216 ) // MC68008P8, (+beeper, 701188-001, xtal 38.080)// 64k ram // colour
- ROM_REGION( 0x10000, "maincpu", 0 )
- ROM_LOAD( "174054-007.u52", 0x0000, 0x2000, CRC(be1f85c8) SHA1(8c44ff6166c43b524f41133053fa82f5c48047d8) )
-
- ROM_REGION( 0x2000, "chargen", 0 )
- ROM_LOAD( "174055-004.u40", 0x0000, 0x2000, CRC(c8611425) SHA1(31fbdd6ff72a96c59277b6edac9a6360f6e1e49e) )
-
- ROM_REGION( 0x400, "upi", 0 ) // 8741A on keyboard simulator board
- ROM_LOAD( "174065-003.u1", 0x000, 0x400, NO_DUMP )
-ROM_END
-
-
ROM_START( loewed ) // order unknown // i8031, i8051(xtal 11.000 next to it), ITT LOTTI // 64k ram + battery-backed nvram // b&w
ROM_REGION( 0x28000, "maincpu", 0 )
ROM_LOAD( "mainboard_18764_100.bin", 0x00000, 0x020000, CRC(f9ec7591) SHA1(1df7bdf33b8086166f1addb686a911a0c52dde32) )
@@ -148,7 +136,6 @@ ROM_END
/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */
COMP( 1991, alcat258, 0, 0, terminal, terminal, terminal_state, empty_init, "Alcatel", "Terminatel 258", MACHINE_IS_SKELETON )
-COMP( 1986, itt9216, 0, 0, terminal, terminal, terminal_state, empty_init, "ITT", "Courier 9216-X", MACHINE_IS_SKELETON )
COMP( 1992, loewed, 0, 0, terminal, terminal, terminal_state, empty_init, "Loewe", "Multitel D", MACHINE_IS_SKELETON )
COMP( 1988, loewe715, 0, 0, terminal, terminal, terminal_state, empty_init, "Loewe", "Multicom 715L", MACHINE_IS_SKELETON )
COMP( 1986, t3210, 0, 0, terminal, terminal, terminal_state, empty_init, "Siemens", "Bitel T3210", MACHINE_IS_SKELETON )
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 2e629524847..84c6ff94e9e 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -16158,6 +16158,9 @@ itt1700 //
@source:itt3030.cpp
itt3030 //
+@source:itt9216.cpp
+itt9216 //
+
@source:jack.cpp
brix // (c) 1982 Cinematronics + Advanced Microcomputer Systems
freeze // Cinematronics
@@ -37618,7 +37621,6 @@ t4490 // Terco 4490 Mill CNC Control (c) 1986
7951om //
alcat258 //
feap90 //
-itt9216 //
loewe715 //
loewed //
t3210 //
diff --git a/src/mame/mess.flt b/src/mame/mess.flt
index c8788e7a7c7..2f3481c85c2 100644
--- a/src/mame/mess.flt
+++ b/src/mame/mess.flt
@@ -376,6 +376,7 @@ isbc8030.cpp
iskr103x.cpp
itt1700.cpp
itt3030.cpp
+itt9216.cpp
jade.cpp
jazz.cpp
jensen.cpp