diff options
| author | 2012-11-20 16:32:29 +0000 | |
|---|---|---|
| committer | 2012-11-20 16:32:29 +0000 | |
| commit | 65ce18899b8b3bfbe4bd5fded78f28e94a0fd20e (patch) | |
| tree | 491bdea5d31d3124659d5ffcfc67c31d5eb272c4 | |
| parent | feaea9222800e65e71c18fc93fad7faf3c11d30a (diff) | |
(MESS) Added skeleton drivers for:
- ADC SuperSlave [Al Kossow]
- Televideo TS802H [Al Kossow]
- Televideo TS803H [Al Kossow]
| -rw-r--r-- | .gitattributes | 3 | ||||
| -rw-r--r-- | src/mess/drivers/superslave.c | 123 | ||||
| -rw-r--r-- | src/mess/drivers/ts802.c | 12 | ||||
| -rw-r--r-- | src/mess/drivers/ts803.c | 66 | ||||
| -rw-r--r-- | src/mess/includes/superslave.h | 26 | ||||
| -rw-r--r-- | src/mess/mess.lst | 3 | ||||
| -rw-r--r-- | src/mess/mess.mak | 9 |
7 files changed, 239 insertions, 3 deletions
diff --git a/.gitattributes b/.gitattributes index 3dea7c97ec6..a0b26494407 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6051,6 +6051,7 @@ src/mess/drivers/sun4.c svneol=native#text/plain src/mess/drivers/super6.c svneol=native#text/plain src/mess/drivers/super80.c svneol=native#text/plain src/mess/drivers/supercon.c svneol=native#text/plain +src/mess/drivers/superslave.c svneol=native#text/plain src/mess/drivers/supracan.c svneol=native#text/plain src/mess/drivers/svi318.c svneol=native#text/plain src/mess/drivers/svision.c svneol=native#text/plain @@ -6087,6 +6088,7 @@ src/mess/drivers/tricep.c svneol=native#text/plain src/mess/drivers/trs80.c svneol=native#text/plain src/mess/drivers/trs80m2.c svneol=native#text/plain src/mess/drivers/ts802.c svneol=native#text/plain +src/mess/drivers/ts803.c svneol=native#text/plain src/mess/drivers/tsispch.c svneol=native#text/plain src/mess/drivers/tutor.c svneol=native#text/plain src/mess/drivers/tvc.c svneol=native#text/plain @@ -6351,6 +6353,7 @@ src/mess/includes/ssystem3.h svneol=native#text/plain src/mess/includes/studio2.h svneol=native#text/plain src/mess/includes/super6.h svneol=native#text/plain src/mess/includes/super80.h svneol=native#text/plain +src/mess/includes/superslave.h svneol=native#text/plain src/mess/includes/svi318.h svneol=native#text/plain src/mess/includes/svision.h svneol=native#text/plain src/mess/includes/sym1.h svneol=native#text/plain diff --git a/src/mess/drivers/superslave.c b/src/mess/drivers/superslave.c new file mode 100644 index 00000000000..6f115c95c92 --- /dev/null +++ b/src/mess/drivers/superslave.c @@ -0,0 +1,123 @@ +/* + + TODO: + + - all + +*/ + +#include "includes/superslave.h" + + + +//************************************************************************** +// ADDRESS MAPS +//************************************************************************** + +//------------------------------------------------- +// ADDRESS_MAP( superslave_mem ) +//------------------------------------------------- + +static ADDRESS_MAP_START( superslave_mem, AS_PROGRAM, 8, superslave_state ) +ADDRESS_MAP_END + + +//------------------------------------------------- +// ADDRESS_MAP( superslave_io ) +//------------------------------------------------- + +static ADDRESS_MAP_START( superslave_io, AS_IO, 8, superslave_state ) +ADDRESS_MAP_END + + + +//************************************************************************** +// INPUT PORTS +//************************************************************************** + +//------------------------------------------------- +// INPUT_PORTS( superslave ) +//------------------------------------------------- + +static INPUT_PORTS_START( superslave ) +INPUT_PORTS_END + + + +//************************************************************************** +// DEVICE CONFIGURATION +//************************************************************************** + +//------------------------------------------------- +// z80_daisy_config superslave_daisy_chain +//------------------------------------------------- + +static const z80_daisy_config superslave_daisy_chain[] = +{ + { NULL } +}; + + + +//************************************************************************** +// MACHINE INITIALIZATION +//************************************************************************** + +//------------------------------------------------- +// MACHINE_START( superslave ) +//------------------------------------------------- + +void superslave_state::machine_start() +{ +} + + +//------------------------------------------------- +// MACHINE_RESET( superslave ) +//------------------------------------------------- + +void superslave_state::machine_reset() +{ +} + + + +//************************************************************************** +// MACHINE DRIVERS +//************************************************************************** + +//------------------------------------------------- +// MACHINE_CONFIG( superslave ) +//------------------------------------------------- + +static MACHINE_CONFIG_START( superslave, superslave_state ) + // basic machine hardware + MCFG_CPU_ADD(Z80_TAG, Z80, 4000000) + MCFG_CPU_PROGRAM_MAP(superslave_mem) + MCFG_CPU_IO_MAP(superslave_io) + MCFG_CPU_CONFIG(superslave_daisy_chain) +MACHINE_CONFIG_END + + + +//************************************************************************** +// ROMS +//************************************************************************** + +//------------------------------------------------- +// ROM( superslv ) +//------------------------------------------------- + +ROM_START( superslv ) + ROM_REGION( 0x800, Z80_TAG, 0 ) + ROM_LOAD( "adcs6_slave_v3.2.bin", 0x000, 0x800, CRC(7f39322d) SHA1(2e9621e09378a1bb6fc05317bb58ae7865e52744) ) +ROM_END + + + +//************************************************************************** +// SYSTEM DRIVERS +//************************************************************************** + +// YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS +COMP( 1983, superslv, 0, 0, superslave, superslave, driver_device, 0, "Advanced Digital Corporation", "Super Slave", GAME_IS_SKELETON ) diff --git a/src/mess/drivers/ts802.c b/src/mess/drivers/ts802.c index d3e3d73cf12..a1dd7e0bf73 100644 --- a/src/mess/drivers/ts802.c +++ b/src/mess/drivers/ts802.c @@ -84,7 +84,17 @@ ROM_START( ts802 ) ROM_LOAD( "ts802.rom", 0x0000, 0x1000, CRC(60bd086a) SHA1(82c5b60223e0d895683d3592a56684ef2dabfba6) ) ROM_END +ROM_START( ts802h ) + ROM_REGION(0x10000, "maincpu", 0) + ROM_LOAD( "8000050 050 2732", 0x0000, 0x1000, CRC(7054f384) SHA1(cf0a01a32283272532ed4890c3a3c2082f1618bf) ) + ROM_LOAD( "i800000 047d.a53", 0x1000, 0x1000, CRC(94bfcbc1) SHA1(87c5f8898b0041d012e142ee7f559cb8a90f4dc1) ) + ROM_LOAD( "a64", 0x2000, 0x1000, CRC(41b5feda) SHA1(c9435a97c032ffe457bdb84d5dde8ecf3677b56c) ) + ROM_LOAD( "800000-002a.a67", 0x3000, 0x0800, CRC(4b6c6e29) SHA1(c236e4625bc16062154cbebc4dbc8d62183ef9ab) ) + ROM_LOAD( "800000-003a.a68", 0x3800, 0x0800, CRC(24eeb74d) SHA1(77900937f1492b4c5a70ba3aac55da322d403fbd) ) +ROM_END + /* Driver */ /* YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS */ -COMP( 19??, ts802, 0, 0, ts802, ts802, driver_device, 0, "Televideo", "TS802", GAME_IS_SKELETON) +COMP( 19??, ts802, 0, 0, ts802, ts802, driver_device, 0, "Televideo", "TS802", GAME_IS_SKELETON ) +COMP( 19??, ts802h, ts802, 0, ts802, ts802, driver_device, 0, "Televideo", "TS802H", GAME_IS_SKELETON ) diff --git a/src/mess/drivers/ts803.c b/src/mess/drivers/ts803.c new file mode 100644 index 00000000000..782d2180cd9 --- /dev/null +++ b/src/mess/drivers/ts803.c @@ -0,0 +1,66 @@ +/*************************************************************************** + + Skeleton driver for Televideo TS803 + + TODO: + - Everything - this is just a skeleton + + +****************************************************************************/ + +#include "emu.h" +#include "cpu/z80/z80.h" + + +class ts803_state : public driver_device +{ +public: + ts803_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") + { } + + required_device<cpu_device> m_maincpu; + + virtual void machine_reset(); +}; + +static ADDRESS_MAP_START(ts803_mem, AS_PROGRAM, 8, ts803_state) + ADDRESS_MAP_UNMAP_HIGH + AM_RANGE(0x0000, 0x0fff) AM_ROM + AM_RANGE(0x1000, 0xffff) AM_RAM +ADDRESS_MAP_END + +static ADDRESS_MAP_START(ts803_io, AS_IO, 8, ts803_state) +ADDRESS_MAP_END + + +/* Input ports */ +static INPUT_PORTS_START( ts803 ) +INPUT_PORTS_END + + +void ts803_state::machine_reset() +{ +} + +static MACHINE_CONFIG_START( ts803, ts803_state ) + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", Z80, 4000000) + MCFG_CPU_PROGRAM_MAP(ts803_mem) + MCFG_CPU_IO_MAP(ts803_io) +MACHINE_CONFIG_END + +/* ROM definition */ +ROM_START( ts803h ) + ROM_REGION(0x10000, "maincpu", 0) + ROM_LOAD( "180001-37 rev d 803 5 23 84", 0x0000, 0x2000, CRC(0aa658a7) SHA1(42d0a89c2ff9b6588cd88bdb1f800fac540dccbb) ) + + ROM_REGION(0x10000, "proms", 0) + ROM_LOAD( "8000134.bin", 0x000, 0x100, CRC(231fe6d6) SHA1(3c052ba4b74547e0e2451fa1ae67bbcb83a18bab) ) +ROM_END + +/* Driver */ + +/* YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS */ +COMP( 19??, ts803h, 0, 0, ts803, ts803, driver_device, 0, "Televideo", "TS803H", GAME_IS_SKELETON ) diff --git a/src/mess/includes/superslave.h b/src/mess/includes/superslave.h new file mode 100644 index 00000000000..513fc2a32c2 --- /dev/null +++ b/src/mess/includes/superslave.h @@ -0,0 +1,26 @@ +#pragma once + +#ifndef __SUPERSLAVE__ +#define __SUPERSLAVE__ + +#include "emu.h" +#include "cpu/z80/z80.h" +#include "cpu/z80/z80daisy.h" + +#define Z80_TAG "z80" + +class superslave_state : public driver_device +{ +public: + superslave_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, Z80_TAG) + { } + + required_device<cpu_device> m_maincpu; + + virtual void machine_start(); + virtual void machine_reset(); +}; + +#endif diff --git a/src/mess/mess.lst b/src/mess/mess.lst index bfd7f029b4c..51930a4b03d 100644 --- a/src/mess/mess.lst +++ b/src/mess/mess.lst @@ -2115,6 +2115,7 @@ lcmate2 cm1800 if800 super6 +superslv mpz80 poly1 z100 @@ -2157,3 +2158,5 @@ alphasma altos5 merlin ts802 +ts802h +ts803h diff --git a/src/mess/mess.mak b/src/mess/mess.mak index b6d156c35f7..4d7e9a108cd 100644 --- a/src/mess/mess.mak +++ b/src/mess/mess.mak @@ -245,6 +245,7 @@ SOUNDS += AWACS DRVLIBS += \ $(MESSOBJ)/acorn.a \ $(MESSOBJ)/act.a \ + $(MESSOBJ)/adc.a \ $(MESSOBJ)/alesis.a \ $(MESSOBJ)/amiga.a \ $(MESSOBJ)/amstrad.a \ @@ -603,6 +604,10 @@ $(MESSOBJ)/act.a: \ $(MESS_DRIVERS)/victor9k.o \ $(MESS_MACHINE)/victor9kb.o \ +$(MESSOBJ)/adc.a: \ + $(MESS_DRIVERS)/super6.o \ + $(MESS_DRIVERS)/superslave.o \ + $(MESSOBJ)/alesis.a: \ $(MESS_DRIVERS)/alesis.o \ $(MESS_AUDIO)/alesis.o \ @@ -2045,14 +2050,14 @@ $(MESSOBJ)/skeleton.a: \ $(MESS_DRIVERS)/selz80.o \ $(MESS_DRIVERS)/sitcom.o \ $(MESS_DRIVERS)/slc1.o \ - $(MESS_DRIVERS)/super6.o \ $(MESS_DRIVERS)/swtpc.o \ $(MESS_DRIVERS)/sys2900.o \ $(MESS_DRIVERS)/systec.o \ $(MESS_DRIVERS)/terak.o \ $(MESS_DRIVERS)/tim011.o \ $(MESS_DRIVERS)/tricep.o \ - $(MESS_DRIVERS)/ts802.o \ + $(MESS_DRIVERS)/ts802.o \ + $(MESS_DRIVERS)/ts803.o \ $(MESS_DRIVERS)/tsispch.o \ $(MESS_DRIVERS)/unior.o \ $(MESS_DRIVERS)/unistar.o \ |
