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]