mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
cit220p: Give this one a separate driver as well (nw)
This commit is contained in:
parent
a20225037b
commit
0a2a4e849f
@ -3445,6 +3445,7 @@ files {
|
|||||||
MAME_DIR .. "src/mame/drivers/chesstrv.cpp",
|
MAME_DIR .. "src/mame/drivers/chesstrv.cpp",
|
||||||
MAME_DIR .. "src/mame/drivers/cd2650.cpp",
|
MAME_DIR .. "src/mame/drivers/cd2650.cpp",
|
||||||
MAME_DIR .. "src/mame/drivers/cdc721.cpp",
|
MAME_DIR .. "src/mame/drivers/cdc721.cpp",
|
||||||
|
MAME_DIR .. "src/mame/drivers/cit220.cpp",
|
||||||
MAME_DIR .. "src/mame/drivers/codata.cpp",
|
MAME_DIR .. "src/mame/drivers/codata.cpp",
|
||||||
MAME_DIR .. "src/mame/drivers/controlid.cpp",
|
MAME_DIR .. "src/mame/drivers/controlid.cpp",
|
||||||
MAME_DIR .. "src/mame/drivers/cortex.cpp",
|
MAME_DIR .. "src/mame/drivers/cortex.cpp",
|
||||||
|
76
src/mame/drivers/cit220.cpp
Normal file
76
src/mame/drivers/cit220.cpp
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
// license:BSD-3-Clause
|
||||||
|
// copyright-holders:
|
||||||
|
/***********************************************************************************************************************************
|
||||||
|
|
||||||
|
Skeleton driver for VT220-compatible terminals by C. Itoh/CIE Terminals.
|
||||||
|
|
||||||
|
The CIT-220+ Video Terminal was introduced as a direct competitor to DEC's VT220. It copied the design of the VT220 closely
|
||||||
|
enough to provoke a lawsuit, which led to its eventual withdrawal in favor of its successor, the CIT224.
|
||||||
|
|
||||||
|
************************************************************************************************************************************/
|
||||||
|
|
||||||
|
#include "emu.h"
|
||||||
|
#include "cpu/i8085/i8085.h"
|
||||||
|
|
||||||
|
|
||||||
|
class cit220_state : public driver_device
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
cit220_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
|
: driver_device(mconfig, type, tag)
|
||||||
|
, m_maincpu(*this, "maincpu")
|
||||||
|
//, m_p_chargen(*this, "chargen")
|
||||||
|
{ }
|
||||||
|
|
||||||
|
DECLARE_WRITE_LINE_MEMBER(sod_w);
|
||||||
|
|
||||||
|
private:
|
||||||
|
required_device<cpu_device> m_maincpu;
|
||||||
|
//required_region_ptr<u8> m_p_chargen;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
WRITE_LINE_MEMBER(cit220_state::sod_w)
|
||||||
|
{
|
||||||
|
logerror("SOD set %s\n", state ? "high" : "low");
|
||||||
|
}
|
||||||
|
|
||||||
|
static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 8, cit220_state )
|
||||||
|
AM_RANGE(0x0000, 0x7fff) AM_ROM AM_REGION("maincpu", 0)
|
||||||
|
AM_RANGE(0x8000, 0x87ff) AM_RAM
|
||||||
|
AM_RANGE(0xa000, 0xa1ff) AM_ROM AM_REGION("eeprom", 0x800)
|
||||||
|
ADDRESS_MAP_END
|
||||||
|
|
||||||
|
static ADDRESS_MAP_START( io_map, AS_IO, 8, cit220_state )
|
||||||
|
AM_RANGE(0x21, 0x21) AM_READNOP
|
||||||
|
ADDRESS_MAP_END
|
||||||
|
|
||||||
|
|
||||||
|
static INPUT_PORTS_START( cit220p )
|
||||||
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
|
static MACHINE_CONFIG_START( cit220p )
|
||||||
|
MCFG_CPU_ADD("maincpu", I8085A, 6'000'000)
|
||||||
|
MCFG_CPU_PROGRAM_MAP(mem_map)
|
||||||
|
MCFG_CPU_IO_MAP(io_map)
|
||||||
|
MCFG_I8085A_SOD(WRITELINE(cit220_state, sod_w))
|
||||||
|
MACHINE_CONFIG_END
|
||||||
|
|
||||||
|
|
||||||
|
ROM_START( cit220p )
|
||||||
|
ROM_REGION(0x8000, "maincpu", 0)
|
||||||
|
ROM_LOAD( "v17_001a.ic23", 0x0000, 0x4000, CRC(2cc43026) SHA1(366f57292c6e44571368c29e3258203779847356) )
|
||||||
|
ROM_LOAD( "v17_001b.ic24", 0x4000, 0x4000, CRC(a56b16f1) SHA1(c68f26b35453153f7defcf1cf2b7ad7fe36cc9e7) )
|
||||||
|
|
||||||
|
ROM_REGION(0x1000, "eeprom", 0)
|
||||||
|
ROM_LOAD( "eeprom.bin", 0x0000, 0x1000, CRC(7b24878a) SHA1(20086fb792a24339b65abe627aefbcf48e2abcf4) ) // don't know where this fits in
|
||||||
|
|
||||||
|
ROM_REGION(0x1000, "chargen", 0)
|
||||||
|
ROM_LOAD( "v20_cg.ic17", 0x0000, 0x1000, CRC(76ef7ca9) SHA1(6e7799ca0a41350fbc369bbbd4ab581150f37b10) )
|
||||||
|
|
||||||
|
ROM_REGION(0x10000, "keyboard", 0)
|
||||||
|
ROM_LOAD( "v00_kbd.bin", 0x0000, 0x1000, CRC(f9d24190) SHA1(c4e9ef8188afb18de373f2a537ca9b7a315bfb76) )
|
||||||
|
ROM_END
|
||||||
|
|
||||||
|
COMP( 1983, cit220p, 0, 0, cit220p, cit220p, cit220_state, 0, "C. Itoh", "CIT-220+ Video Terminal", MACHINE_IS_SKELETON )
|
@ -124,30 +124,6 @@ COMP( 1987, att630, 0, 0, terminals, terminals, terminals_state, 0, "AT&T", "630
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************************************************
|
|
||||||
|
|
||||||
C. Itoh CIT-220+
|
|
||||||
Code looks like Z80/8080/8085
|
|
||||||
|
|
||||||
***************************************************************************************************************/
|
|
||||||
|
|
||||||
ROM_START( cit220p )
|
|
||||||
ROM_REGION(0x10000, "maincpu", 0)
|
|
||||||
ROM_LOAD( "v17_001a.ic23", 0x0000, 0x4000, CRC(2cc43026) SHA1(366f57292c6e44571368c29e3258203779847356) )
|
|
||||||
ROM_LOAD( "v17_001b.ic24", 0x4000, 0x4000, CRC(a56b16f1) SHA1(c68f26b35453153f7defcf1cf2b7ad7fe36cc9e7) )
|
|
||||||
ROM_LOAD( "eeprom.bin", 0xf000, 0x1000, CRC(7b24878a) SHA1(20086fb792a24339b65abe627aefbcf48e2abcf4) ) // don't know where this fits in
|
|
||||||
|
|
||||||
ROM_REGION(0x1000, "chargen", 0)
|
|
||||||
ROM_LOAD( "v20_cg.ic17", 0x0000, 0x1000, CRC(76ef7ca9) SHA1(6e7799ca0a41350fbc369bbbd4ab581150f37b10) )
|
|
||||||
|
|
||||||
ROM_REGION(0x10000, "keyboard", 0)
|
|
||||||
ROM_LOAD( "v00_kbd.bin", 0x0000, 0x1000, CRC(f9d24190) SHA1(c4e9ef8188afb18de373f2a537ca9b7a315bfb76) )
|
|
||||||
ROM_END
|
|
||||||
|
|
||||||
COMP( 1985, cit220p, 0, 0, terminals, terminals, terminals_state, 0, "C. Itoh", "CIT-220+", MACHINE_IS_SKELETON )
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************************************************
|
/**************************************************************************************************************
|
||||||
|
|
||||||
Data General D461.
|
Data General D461.
|
||||||
|
@ -9713,6 +9713,9 @@ f1gpstr2 // (c) 1993 Jaleco
|
|||||||
scudhamm // (c) 1994 Jaleco
|
scudhamm // (c) 1994 Jaleco
|
||||||
wildplt // (c) 1992 Jaleco
|
wildplt // (c) 1992 Jaleco
|
||||||
|
|
||||||
|
@source:cit220.cpp
|
||||||
|
cit220p // (c) 1984 C. Itoh
|
||||||
|
|
||||||
@source:citycon.cpp
|
@source:citycon.cpp
|
||||||
citycon // (c) 1985 Jaleco
|
citycon // (c) 1985 Jaleco
|
||||||
citycona // (c) 1985 Jaleco
|
citycona // (c) 1985 Jaleco
|
||||||
@ -36313,7 +36316,6 @@ t4490 // Terco 4490 Mill CNC Control (c) 1986
|
|||||||
@source:terminals.cpp
|
@source:terminals.cpp
|
||||||
aaa
|
aaa
|
||||||
att630
|
att630
|
||||||
cit220p
|
|
||||||
d461
|
d461
|
||||||
hp700_92
|
hp700_92
|
||||||
hp2622a
|
hp2622a
|
||||||
|
@ -125,6 +125,7 @@ channelf.cpp
|
|||||||
chaos.cpp
|
chaos.cpp
|
||||||
chessmst.cpp
|
chessmst.cpp
|
||||||
chesstrv.cpp
|
chesstrv.cpp
|
||||||
|
cit220.cpp
|
||||||
clcd.cpp
|
clcd.cpp
|
||||||
cm1800.cpp
|
cm1800.cpp
|
||||||
cmi.cpp
|
cmi.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user