From 4ccf49d19c9b350ea48fbcb7f7c79a4eb8e9ba3a Mon Sep 17 00:00:00 2001 From: Joakim Larsson Edstrom Date: Wed, 12 Oct 2016 13:34:23 +0200 Subject: [PATCH 1/3] Skeleton driver for 1995 Accexx 28.8 modem started --- src/mame/drivers/accexx.cpp | 95 +++++++++++++++++++++++++++++++++++++ src/mame/mame.lst | 3 ++ 2 files changed, 98 insertions(+) create mode 100644 src/mame/drivers/accexx.cpp diff --git a/src/mame/drivers/accexx.cpp b/src/mame/drivers/accexx.cpp new file mode 100644 index 00000000000..513bd8760ea --- /dev/null +++ b/src/mame/drivers/accexx.cpp @@ -0,0 +1,95 @@ +// license:BSD-3-Clause +// copyright-holders:Joakim Larsson Edstrom +/* + + This is a driver for the Accexx 28.8kbps modem containing the following chips + + U1-U3 JRC 4558D Dual op amps + U4 SN74LS374N + U5 SN74LS04N + U7 Rockwell RC288DPi integrated modem chip marked Mexico (40.320MHz TXC crystal Y1 nearby) + U8 HD74LS153P + U9 SN75C189N + U10,U12 SN75C188N + U11 HD74LS244P + U13 SN74LS374N + U14 Winbond W78C31B which is a 8031 derivate (45.342720MHz TXC crystal Y2 nearby) + U15 SN74LS138N (inside the socket of U14) + U16 Macronix MX27C512 64KB EPROM + U17 HD74LS32P (inside the socket of U16) + U18 LM386N + U19 CSI CAT93C46P 1KB eeproom + U20 Winbond W24257 32KB static RAM + U21 SN74LS373N + LED1-11 Front leds + SP1 Speaker + SW1 On/Off switch + + +------------------------------------------------------+ + | | + | U1 U2 U3 PHONE + | U4 U5 | + |LED1 LINE + |LED2 = R + |LED3 U7 U8 U9 U10 D S + |LED4 Y1 U11 SP1 2 2 + |LED5 U13 U12 5 3 + |LED6 = 2 + |LED7 U14 U16 U18 | + |LED8 PWR + |LED9-11 U20 U21 SW1 + +------------------------------------------------------+ + + + + The U16 EPROM contains the following string + + COPYWRITE BY TSAI CHIH-HWA + +*/ + +#include "emu.h" +#include "cpu/mcs51/mcs51.h" + +class accexx_state : public driver_device +{ +public: + accexx_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) + ,m_maincpu(*this, "maincpu") + { } + virtual void machine_start() override; + virtual void machine_reset() override; + required_device m_maincpu; +}; + +static ADDRESS_MAP_START( accexx_map, AS_PROGRAM, 8, accexx_state ) + AM_RANGE(0x0000, 0x7fff) AM_ROM +ADDRESS_MAP_END + +static INPUT_PORTS_START( accexx ) +INPUT_PORTS_END + +void accexx_state::machine_start() +{ +} + +void accexx_state::machine_reset() +{ +} + +#define Y1_CLOCK 40320000 +#define Y2_CLOCK 45342720 +static MACHINE_CONFIG_START( accexx, accexx_state ) + + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", I80C31, Y2_CLOCK) + MCFG_CPU_PROGRAM_MAP(accexx_map) +MACHINE_CONFIG_END + +ROM_START( accexx ) + ROM_REGION( 0x10000, "maincpu", 0 ) + ROM_LOAD( "u16.bin", 0x00000, 0x10000, CRC(36dc423d) SHA1(0f350b7c533eb5270a72587ab3e050e5fe453006) ) +ROM_END + +COMP( 1995, accexx, 0, 0, accexx, accexx, driver_device, 0, "Accexx", "Accexx", MACHINE_IS_SKELETON ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 9bb57b3d766..a3e488c02a8 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -274,6 +274,9 @@ ac1 // 1984 Amateurcomputer AC1 ac1_32 // 1984 Amateurcomputer AC1 (32 lines) ac1scch // 1984 Amateurcomputer AC1 SCCH +@source:accexx.cpp +accexx + @source:ace.cpp ace // [1976 Allied Leisure] From 40c55c95a22a17d383917d0a529f8c23fe880fae Mon Sep 17 00:00:00 2001 From: Joakim Larsson Edstrom Date: Thu, 13 Oct 2016 07:07:18 +0200 Subject: [PATCH 2/3] Reflected model name and fixed the spelling of the manufacturer --- src/mame/drivers/{accexx.cpp => aceex.cpp} | 27 +++++++++++----------- src/mame/mame.lst | 4 ++-- 2 files changed, 15 insertions(+), 16 deletions(-) rename src/mame/drivers/{accexx.cpp => aceex.cpp} (69%) diff --git a/src/mame/drivers/accexx.cpp b/src/mame/drivers/aceex.cpp similarity index 69% rename from src/mame/drivers/accexx.cpp rename to src/mame/drivers/aceex.cpp index 513bd8760ea..aa0864d74f6 100644 --- a/src/mame/drivers/accexx.cpp +++ b/src/mame/drivers/aceex.cpp @@ -2,7 +2,7 @@ // copyright-holders:Joakim Larsson Edstrom /* - This is a driver for the Accexx 28.8kbps modem containing the following chips + This is a driver for the Aceex DM2814 28.8kbps modem containing the following chips U1-U3 JRC 4558D Dual op amps U4 SN74LS374N @@ -40,8 +40,6 @@ |LED9-11 U20 U21 SW1 +------------------------------------------------------+ - - The U16 EPROM contains the following string COPYWRITE BY TSAI CHIH-HWA @@ -51,10 +49,10 @@ #include "emu.h" #include "cpu/mcs51/mcs51.h" -class accexx_state : public driver_device +class aceex2814_state : public driver_device { public: - accexx_state(const machine_config &mconfig, device_type type, const char *tag) + aceex2814_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) ,m_maincpu(*this, "maincpu") { } @@ -63,33 +61,34 @@ public: required_device m_maincpu; }; -static ADDRESS_MAP_START( accexx_map, AS_PROGRAM, 8, accexx_state ) +static ADDRESS_MAP_START( aceex2814_map, AS_PROGRAM, 8, aceex2814_state ) AM_RANGE(0x0000, 0x7fff) AM_ROM ADDRESS_MAP_END -static INPUT_PORTS_START( accexx ) +static INPUT_PORTS_START( aceex2814 ) INPUT_PORTS_END -void accexx_state::machine_start() +void aceex2814_state::machine_start() { } -void accexx_state::machine_reset() +void aceex2814_state::machine_reset() { } #define Y1_CLOCK 40320000 #define Y2_CLOCK 45342720 -static MACHINE_CONFIG_START( accexx, accexx_state ) +static MACHINE_CONFIG_START( aceex2814, aceex2814_state ) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", I80C31, Y2_CLOCK) - MCFG_CPU_PROGRAM_MAP(accexx_map) + MCFG_CPU_PROGRAM_MAP(aceex2814_map) MACHINE_CONFIG_END -ROM_START( accexx ) +ROM_START( aceex2814 ) ROM_REGION( 0x10000, "maincpu", 0 ) - ROM_LOAD( "u16.bin", 0x00000, 0x10000, CRC(36dc423d) SHA1(0f350b7c533eb5270a72587ab3e050e5fe453006) ) + ROM_LOAD( "dm2814u16-194.bin", 0x00000, 0x10000, CRC(36dc423d) SHA1(0f350b7c533eb5270a72587ab3e050e5fe453006) ) ROM_END -COMP( 1995, accexx, 0, 0, accexx, accexx, driver_device, 0, "Accexx", "Accexx", MACHINE_IS_SKELETON ) +// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS +COMP( 1995, aceex2814, 0, 0, aceex2814, aceex2814, driver_device, 0, "Aceex Corporation", "Aceex 2814", MACHINE_IS_SKELETON ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index a3e488c02a8..b7e49b04e1b 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -274,8 +274,8 @@ ac1 // 1984 Amateurcomputer AC1 ac1_32 // 1984 Amateurcomputer AC1 (32 lines) ac1scch // 1984 Amateurcomputer AC1 SCCH -@source:accexx.cpp -accexx +@source:aceex.cpp +aceex2814 @source:ace.cpp ace // [1976 Allied Leisure] From 49f8aa880c35d143258d1091d81b6b182fb065da Mon Sep 17 00:00:00 2001 From: Joakim Larsson Edstrom Date: Thu, 13 Oct 2016 11:06:40 +0200 Subject: [PATCH 3/3] Added skeleton board to big build --- scripts/target/mame/mess.lua | 1 + src/mame/mess.flt | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index b109a1a8b11..c459540b91e 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -3210,6 +3210,7 @@ files { createMESSProjects(_target, _subtarget, "skeleton") files { + MAME_DIR .. "src/mame/drivers/aceex.cpp", MAME_DIR .. "src/mame/drivers/akaiax80.cpp", MAME_DIR .. "src/mame/drivers/alesis_qs.cpp", MAME_DIR .. "src/mame/drivers/alphasma.cpp", diff --git a/src/mame/mess.flt b/src/mame/mess.flt index 2f54062e3f2..ab95c015542 100644 --- a/src/mame/mess.flt +++ b/src/mame/mess.flt @@ -13,6 +13,7 @@ abc1600.cpp abc80.cpp abc80x.cpp ac1.cpp +aceex.cpp acrnsys1.cpp adam.cpp advision.cpp