summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-05-25 23:52:29 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-05-25 23:52:29 -0400
commitb5e6db0652235540c8b4d93a4b03d9ae03df7375 (patch)
tree59752a9d3ac62ea9fea67222e61d309aecc78391
parent59ddc844b242fba42b0431e29e3d207d8032b1e9 (diff)
netmerc: Preliminary configuration of Polhemus CPU (nw)
-rw-r--r--src/mame/drivers/model1.cpp23
1 files changed, 18 insertions, 5 deletions
diff --git a/src/mame/drivers/model1.cpp b/src/mame/drivers/model1.cpp
index 772732ad2c3..234d847f867 100644
--- a/src/mame/drivers/model1.cpp
+++ b/src/mame/drivers/model1.cpp
@@ -633,6 +633,7 @@ Notes:
#include "emu.h"
#include "includes/model1.h"
+#include "cpu/i386/i386.h"
#include "machine/clock.h"
#include "machine/nvram.h"
#include "speaker.h"
@@ -1603,12 +1604,14 @@ ROM_START( netmerc )
ROM_LOAD32_WORD( "mpr-18132.ic30", 0x800000, 0x200000, CRC(a17e3ac2) SHA1(19827c06ebc3e9de63668ef07675224e169d853e) )
ROM_LOAD32_WORD( "mpr-18133.ic31", 0x800002, 0x200000, CRC(f56354dd) SHA1(2ef1fe8b4995a67b70b565adf8f0ea0ad6e10094) )
- ROM_REGION( 0x10000, "user2", 0 ) /* IO board */
+ ROM_REGION32_LE( 0x200000, "user2", ROMREGION_ERASE00 ) // IC39-IC42 unpopulated
+
+ ROM_REGION( 0x10000, "ioboard", 0 ) /* IO board */
ROM_LOAD( "epr-18021.ic6", 0x00000, 0x10000, CRC(5551837e) SHA1(bf5b9aad99c0f8f5e262e0855796f39119d11a97) )
- ROM_REGION( 0x8000, "user3", 0 ) /* POLHEMUS board - temporary holding place */
- ROM_LOAD( "u1", 0x0000, 0x4000, CRC(7073a312) SHA1(d2582f9520b8c8c051708dd372633112af59206e) ) // Actually interleaved
- ROM_LOAD( "u2", 0x4000, 0x4000, CRC(c589f428) SHA1(98dc0114a5f89636b4e237ed954e19f1cfd186ab) )
+ ROM_REGION( 0x8000, "polhemus", 0 ) /* POLHEMUS board */
+ ROM_LOAD16_BYTE( "u1", 0x0000, 0x4000, CRC(7073a312) SHA1(d2582f9520b8c8c051708dd372633112af59206e) )
+ ROM_LOAD16_BYTE( "u2", 0x0001, 0x4000, CRC(c589f428) SHA1(98dc0114a5f89636b4e237ed954e19f1cfd186ab) )
ROM_END
static MACHINE_CONFIG_START( model1 )
@@ -1663,6 +1666,16 @@ static MACHINE_CONFIG_DERIVED(swa, model1)
MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE(DSBZ80_TAG, dsbz80_device, write_txd))
MACHINE_CONFIG_END
+static ADDRESS_MAP_START( polhemus_map, AS_PROGRAM, 16, model1_state )
+ ADDRESS_MAP_GLOBAL_MASK(0xfffff)
+ AM_RANGE(0xf8000, 0xfffff) AM_ROM AM_REGION("polhemus", 0)
+ADDRESS_MAP_END
+
+static MACHINE_CONFIG_DERIVED( netmerc, model1 )
+ MCFG_CPU_ADD("polhemus", I386SX, 16000000)
+ MCFG_CPU_PROGRAM_MAP(polhemus_map)
+MACHINE_CONFIG_END
+
static MACHINE_CONFIG_START( model1_vr )
MCFG_CPU_ADD("maincpu", V60, 16000000)
MCFG_CPU_PROGRAM_MAP(model1_vr_mem)
@@ -1782,4 +1795,4 @@ GAME( 1994, wingwar, 0, model1, wingwar, model1_state, 0,
GAME( 1994, wingwaru, wingwar, model1, wingwar, model1_state, 0, ROT0, "Sega", "Wing War (US)", MACHINE_NOT_WORKING )
GAME( 1994, wingwarj, wingwar, model1, wingwar, model1_state, 0, ROT0, "Sega", "Wing War (Japan)", MACHINE_NOT_WORKING )
GAME( 1994, wingwar360, wingwar, model1, wingwar, model1_state, wingwar360, ROT0, "Sega", "Wing War R360 (US)", MACHINE_NOT_WORKING )
-GAME( 1993, netmerc, 0, model1, vf, model1_state, 0, ROT0, "Sega", "NetMerc?", MACHINE_NOT_WORKING )
+GAME( 1993, netmerc, 0, netmerc, vf, model1_state, 0, ROT0, "Sega", "NetMerc?", MACHINE_NOT_WORKING )