diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-11-19 01:14:19 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-11-19 01:14:19 -0500 |
commit | b86f9bab4c339eb2c7310683b304a8b49cc791eb (patch) | |
tree | c2e04738cf36466d72ae50e1e935f131083e8857 | |
parent | d1565b4087ffb58a3dfdca4a58394238a15f339b (diff) |
Split Micro-Term terminals to their own (skeleton) driver (nw)
-rw-r--r-- | scripts/target/mame/mess.lua | 1 | ||||
-rw-r--r-- | src/mame/drivers/microterm.cpp | 76 | ||||
-rw-r--r-- | src/mame/drivers/terminals.cpp | 37 | ||||
-rw-r--r-- | src/mame/mame.lst | 6 | ||||
-rw-r--r-- | src/mame/mess.flt | 1 |
5 files changed, 82 insertions, 39 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index 8b9fdbc4654..aa9cec3c845 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -3523,6 +3523,7 @@ files { MAME_DIR .. "src/mame/drivers/micro20.cpp", MAME_DIR .. "src/mame/drivers/micronic.cpp", MAME_DIR .. "src/mame/includes/micronic.h", + MAME_DIR .. "src/mame/drivers/microterm.cpp", MAME_DIR .. "src/mame/drivers/mightyframe.cpp", MAME_DIR .. "src/mame/drivers/mini2440.cpp", MAME_DIR .. "src/mame/drivers/miniframe.cpp", diff --git a/src/mame/drivers/microterm.cpp b/src/mame/drivers/microterm.cpp new file mode 100644 index 00000000000..7433b21af94 --- /dev/null +++ b/src/mame/drivers/microterm.cpp @@ -0,0 +1,76 @@ +// license:BSD-3-Clause +// copyright-holders: +/*********************************************************************************************************************************** + +Skeleton driver for Micro-Term terminals. + +************************************************************************************************************************************/ + +#include "emu.h" +#include "cpu/z80/z80.h" +//#include "machine/eepromser.h" +//#include "machine/mc68681.h" +//#include "screen.h" + +class microterm_state : public driver_device +{ +public: + microterm_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") + { } + +private: + required_device<cpu_device> m_maincpu; + //required_region_ptr<u8> m_p_chargen; +}; + +static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 8, microterm_state ) +ADDRESS_MAP_END + +static INPUT_PORTS_START( microterm ) +INPUT_PORTS_END + +static MACHINE_CONFIG_START( microterm ) + MCFG_CPU_ADD("maincpu", Z80, 2'000'000) + MCFG_CPU_PROGRAM_MAP(mem_map) +MACHINE_CONFIG_END + + +/************************************************************************************************************** + +Micro-Term Model 420. +Chips: Z80, MC2681P, SCN2674, 2x CDM6264E3, TMM2016BP-12, SCN2641, NMC9345N. Undumped PAL10L8NC at U18 and PROM (N82S129N) at U41. +Crystals: 3.6864, 15.30072 (hard to read), 9.87768 + +***************************************************************************************************************/ + +ROM_START( mt420 ) + ROM_REGION(0x10000, "maincpu", 0) + ROM_LOAD( "1910_M.P._R1.9.u8", 0x0000, 0x8000, CRC(e79154e9) SHA1(7c3f22097b931986c921bf731de98a1d0536aec9) ) + + ROM_REGION(0x1000, "chargen", 0) + ROM_LOAD( "mt420cg_rev2.1.u44", 0x0000, 0x0fe0, CRC(7950e485) SHA1(1f03525958464bbe861d2e78f07cc5264e17c0e8) ) // incomplete? +ROM_END + + + +/************************************************************************************************************** + +Micro-Term 5510. +Chips: Z80, SCN2681, S8842C4/SCX6244UNT, 4x CXK5864BP-70L, 2x NMC9346N +Crystals: 6.000, 3.68640, 45.8304 + +***************************************************************************************************************/ + +ROM_START( mt5510 ) + ROM_REGION(0x10000, "maincpu", 0) + ROM_LOAD( "2500_M.P._R1.9.u11", 0x00000, 0x10000, CRC(71f19a53) SHA1(91df26d46a93359cd033d7137f1676bcfa58223b) ) +ROM_END + + + + +COMP( 1986, mt420, 0, 0, microterm, microterm, microterm_state, 0, "Micro-Term", "Micro-Term 420", MACHINE_IS_SKELETON ) +COMP( 1988, mt5510, 0, 0, microterm, microterm, microterm_state, 0, "Micro-Term", "Micro-Term 5510", MACHINE_IS_SKELETON ) diff --git a/src/mame/drivers/terminals.cpp b/src/mame/drivers/terminals.cpp index 364bb267e67..041f9e555e3 100644 --- a/src/mame/drivers/terminals.cpp +++ b/src/mame/drivers/terminals.cpp @@ -206,43 +206,6 @@ COMP( 1982, hp2622a, 0, 0, terminals, terminals, terminals_state, 0, "HP", "HP-2 /************************************************************************************************************** -Micro-term 5510. -Chips: Z80, SCN2681, S8842C4/SCX6244UNT, 4x CXK5864BP-70L, 2x NMC9346N -Crystals: 6.000, 3.68640, 45.8304 - -***************************************************************************************************************/ - -ROM_START( mt5510 ) - ROM_REGION(0x10000, "maincpu", 0) - ROM_LOAD( "2500_M.P._R1.9.u11", 0x00000, 0x10000, CRC(71f19a53) SHA1(91df26d46a93359cd033d7137f1676bcfa58223b) ) -ROM_END - -COMP( 1988, mt5510, 0, 0, terminals, terminals, terminals_state, 0, "Micro-term", "5510", MACHINE_IS_SKELETON ) - - - -/************************************************************************************************************** - -Micro-term MT420. -Chips: Z80, MC2681P, SCN2674, 2x CDM6264E3, TMM2016BP-12, SCN2641, NMC9345N. Undumped PAL10L8NC at U18 and PROM (N82S129N) at U41. -Crystals: 3.6864, 15.30072 (hard to read), 9.87768 - -***************************************************************************************************************/ - -ROM_START( mt420 ) - ROM_REGION(0x10000, "maincpu", 0) - ROM_LOAD( "1910_M.P._R1.9.u8", 0x0000, 0x8000, CRC(e79154e9) SHA1(7c3f22097b931986c921bf731de98a1d0536aec9) ) - - ROM_REGION(0x1000, "chargen", 0) - ROM_LOAD( "mt420cg_rev2.1.u44", 0x0000, 0x0fe0, CRC(7950e485) SHA1(1f03525958464bbe861d2e78f07cc5264e17c0e8) ) // incomplete? -ROM_END - -COMP( 1986, mt420, 0, 0, terminals, terminals, terminals_state, 0, "Micro-term", "MT420", MACHINE_IS_SKELETON ) - - - -/************************************************************************************************************** - Qume QVT-70. Chips: Z80, Z80 DART, 5x CXK5864CM-70LL/W242575-70LL, 801000-02, 303489-01, DS1231, Button battery, Beeper Crystals: unreadable diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 9e0a61efde4..0ec61697ad1 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -20754,6 +20754,10 @@ pentacup2 // @source:microtan.cpp microtan // 1979 Microtan 65 +@source:microterm.cpp +mt420 // +mt5510 // + @source:microvsn.cpp microvsn // Milton Bradley @@ -36305,8 +36309,6 @@ cit220p d461 hp700_92 hp2622a -mt5510 -mt420 qvt70 qvt102 qvt103 diff --git a/src/mame/mess.flt b/src/mame/mess.flt index ad6d9e76227..96f1321f3f4 100644 --- a/src/mame/mess.flt +++ b/src/mame/mess.flt @@ -375,6 +375,7 @@ microdec.cpp microkit.cpp micronic.cpp microtan.cpp +microterm.cpp microvsn.cpp mikro80.cpp mikromik.cpp |