summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ts3000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ts3000.cpp')
-rw-r--r--src/mame/drivers/ts3000.cpp24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/mame/drivers/ts3000.cpp b/src/mame/drivers/ts3000.cpp
index c65364da180..a54e870bf38 100644
--- a/src/mame/drivers/ts3000.cpp
+++ b/src/mame/drivers/ts3000.cpp
@@ -11,31 +11,39 @@ There are 25-pin serial and parallel ports, and a FDC connector. There's an undu
************************************************************************************************************************************/
#include "emu.h"
-//#include "cpu/mcs51/mcs51.h"
+#include "cpu/i86/i86.h"
class ts3000_state : public driver_device
{
public:
ts3000_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
-// , maincpu(*this, "maincpu")
+// , m_maincpu(*this, "maincpu")
{ }
-protected:
-// required_device<i80c52_device> maincpu;
+private:
+// required_device<cpu_device> m_maincpu;
};
+static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 8, ts3000_state )
+ AM_RANGE(0x00000,0x0ffff) AM_RAM
+ AM_RANGE(0xfc000,0xfffff) AM_ROM AM_REGION("roms", 0)
+ADDRESS_MAP_END
+
+static ADDRESS_MAP_START( io_map, AS_PROGRAM, 8, ts3000_state )
+ADDRESS_MAP_END
+
static INPUT_PORTS_START( ts3000 )
INPUT_PORTS_END
-//static ADDRESS_MAP_START( prg_map, AS_PROGRAM, 8, ts3000_state )
-//ADDRESS_MAP_END
-
static MACHINE_CONFIG_START( ts3000 )
+ MCFG_CPU_ADD("maincpu", I8088, XTAL_14_31818MHz/3) // no idea of clock
+ MCFG_CPU_PROGRAM_MAP(mem_map)
+ MCFG_CPU_IO_MAP(io_map)
MACHINE_CONFIG_END
ROM_START( ts3000 )
- ROM_REGION( 0x10000, "maincpu", 0 )
+ ROM_REGION( 0x4000, "roms", 0 )
ROM_LOAD( "U25 VER 2.03 BIOS D.u25", 0x0000, 0x4000, CRC(abaff64c) SHA1(b2f0e73d2a25a03d5bac558580919bd0400f4fcf) ) // The D at the end is handwritten
ROM_END