diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-11-22 17:08:47 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-11-22 17:08:47 -0500 |
commit | 49fa0203d24ff8838946caa8508836bdd1061879 (patch) | |
tree | 50b12a15abd86ff519cbbbf5a80204f0c3cdf06f | |
parent | 139d4c7bb348d631df1bd2646dfea2a84a0710c9 (diff) |
d461: Another skeleton driver created (nw)
-rw-r--r-- | scripts/target/mame/mess.lua | 1 | ||||
-rw-r--r-- | src/mame/drivers/d400.cpp | 64 | ||||
-rw-r--r-- | src/mame/drivers/terminals.cpp | 17 | ||||
-rw-r--r-- | src/mame/mame.lst | 4 | ||||
-rw-r--r-- | src/mame/mess.flt | 1 |
5 files changed, 69 insertions, 18 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index 7c92f6261fa..26de92f0f4d 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -3455,6 +3455,7 @@ files { MAME_DIR .. "src/mame/drivers/cxhumax.cpp", MAME_DIR .. "src/mame/includes/cxhumax.h", MAME_DIR .. "src/mame/drivers/czk80.cpp", + MAME_DIR .. "src/mame/drivers/d400.cpp", MAME_DIR .. "src/mame/drivers/d6800.cpp", MAME_DIR .. "src/mame/drivers/d6809.cpp", MAME_DIR .. "src/mame/drivers/daruma.cpp", diff --git a/src/mame/drivers/d400.cpp b/src/mame/drivers/d400.cpp new file mode 100644 index 00000000000..d3d943d8eb0 --- /dev/null +++ b/src/mame/drivers/d400.cpp @@ -0,0 +1,64 @@ +// license:BSD-3-Clause +// copyright-holders: +/*********************************************************************************************************************************** + +Skeleton driver for Data General Dasher 400 series terminals. + +************************************************************************************************************************************/ + +#include "emu.h" +#include "cpu/m6809/m6809.h" +#include "machine/mc68681.h" +#include "machine/x2212.h" + +class d400_state : public driver_device +{ +public: + d400_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) + , m_maincpu(*this, "maincpu") + { } + +private: + required_device<cpu_device> m_maincpu; +}; + +static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 8, d400_state ) + AM_RANGE(0x0000, 0x3fff) AM_RAM + AM_RANGE(0x4800, 0x48ff) AM_RAM + AM_RANGE(0x5000, 0x50ff) AM_RAM + AM_RANGE(0x6000, 0x6fff) AM_RAM + AM_RANGE(0x7800, 0x780f) AM_DEVREADWRITE("duart", scn2681_device, read, write) + AM_RANGE(0x7880, 0x78bf) AM_DEVREADWRITE("novram", x2210_device, read, write) + AM_RANGE(0x7c00, 0x7c00) AM_WRITENOP + AM_RANGE(0x8000, 0xffff) AM_ROM AM_REGION("maincpu", 0) +ADDRESS_MAP_END + +static INPUT_PORTS_START( d461 ) +INPUT_PORTS_END + +static MACHINE_CONFIG_START( d461 ) + MCFG_CPU_ADD("maincpu", M6809, 4'000'000) + MCFG_CPU_PROGRAM_MAP(mem_map) + + MCFG_DEVICE_ADD("novram", X2210, 0) + + MCFG_DEVICE_ADD("duart", SCN2681, XTAL_3_6864MHz) +MACHINE_CONFIG_END + + + +/************************************************************************************************************** + +Data General D461. +Chips: SCN2681A, X2210P, 2x HM6116P-2, 2x HM6264P-20, HD68B09EP, CRT9007, 1x 8-sw dip. +Crystals: 3.6864, 59.2920 + +***************************************************************************************************************/ + +ROM_START( d461 ) + ROM_REGION(0x10000, "maincpu", 0) + ROM_LOAD( "dgc_100_5776-05.bin", 0x0000, 0x8000, CRC(fdce2132) SHA1(82eac1751c31f99d4490505e16af5e7e7a52b310) ) +ROM_END + +COMP( 1986, d461, 0, 0, d461, d461, d400_state, 0, "Data General", "Dasher D461", MACHINE_IS_SKELETON ) diff --git a/src/mame/drivers/terminals.cpp b/src/mame/drivers/terminals.cpp index e3775eadfb1..4c7bfa0c598 100644 --- a/src/mame/drivers/terminals.cpp +++ b/src/mame/drivers/terminals.cpp @@ -126,23 +126,6 @@ COMP( 1987, att630, 0, 0, terminals, terminals, terminals_state, 0, "AT&T", "630 /************************************************************************************************************** -Data General D461. -Chips: SCN2681A, X2210P, 2x HM6116P-2, 2x HM6264P-20, HD68B09EP, CRT9007, 1x 8-sw dip. -Crystals: 3.6864, 59.2920 - -***************************************************************************************************************/ - -ROM_START( d461 ) - ROM_REGION(0x10000, "maincpu", 0) - ROM_LOAD( "dgc_100_5776-05.bin", 0x0000, 0x8000, CRC(fdce2132) SHA1(82eac1751c31f99d4490505e16af5e7e7a52b310) ) -ROM_END - -COMP( 1985, d461, 0, 0, terminals, terminals, terminals_state, 0, "Data General", "D461", MACHINE_IS_SKELETON ) - - - -/************************************************************************************************************** - Hewlett-Packard HP-700/92. Chips: TC5564APL-15, proprietory square chip, D70108C (V20), SCN2681, Beeper Crystals: 29.4912 diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 8e24c127f14..7feb04e3be2 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -10728,6 +10728,9 @@ skydest // PD0 (c) 1985 Taito Corporation @source:czk80.cpp czk80 // +@source:d400.cpp +d461 // + @source:d6800.cpp d6800 // Dream 6800 @@ -36319,7 +36322,6 @@ t4490 // Terco 4490 Mill CNC Control (c) 1986 @source:terminals.cpp aaa att630 -d461 hp700_92 hp2622a qvt70 diff --git a/src/mame/mess.flt b/src/mame/mess.flt index fd17e9bda7a..eb5b54042ed 100644 --- a/src/mame/mess.flt +++ b/src/mame/mess.flt @@ -151,6 +151,7 @@ cxgz80.cpp cxhumax.cpp cybiko.cpp czk80.cpp +d400.cpp d6800.cpp d6809.cpp dai.cpp |