summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/dectalk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/dectalk.cpp')
-rw-r--r--src/devices/bus/isa/dectalk.cpp33
1 files changed, 14 insertions, 19 deletions
diff --git a/src/devices/bus/isa/dectalk.cpp b/src/devices/bus/isa/dectalk.cpp
index b13468996d3..4b0811bdbea 100644
--- a/src/devices/bus/isa/dectalk.cpp
+++ b/src/devices/bus/isa/dectalk.cpp
@@ -140,7 +140,20 @@ static ADDRESS_MAP_START(dectalk_dsp_map, AS_PROGRAM, 16, dectalk_isa_device)
AM_RANGE(0x0000, 0x0FFF) AM_ROM AM_REGION("dectalk_dsp", 0)
ADDRESS_MAP_END
-static MACHINE_CONFIG_START( dectalk_isa )
+ROM_START( dectalk_isa )
+ ROM_REGION( 0x4000, "dectalk_cpu", 0 )
+ ROM_LOAD16_BYTE("pc_boot_hxl.am27c64.d6.e26", 0x0000, 0x2000, CRC(7492f1e3) SHA1(fe6946a227f01c94f2b99220320a616445c96ee0)) // Some cards have a different label on the chip which lists the sum16: 31AC (matches contents)
+ ROM_LOAD16_BYTE("pc_boot_hxh.am27c64.d8.e27", 0x0001, 0x2000, CRC(1fe7fe40) SHA1(6e89c237f01aa22e0d21ff4d6fdf8137c6ace374)) // Some cards have a different label on the chip which lists the sum16: 1A25 (matches contents)
+ ROM_REGION( 0x2000, "dectalk_dsp", 0 )
+ ROM_LOAD("spc_034c__2-1-92.tms320p15nl.d3.bin", 0x0000, 0x2000, CRC(d8b1201e) SHA1(4b873a5e882205fcac79a27562054b5c4d1a117c))
+ROM_END
+
+const tiny_rom_entry* dectalk_isa_device::device_rom_region() const
+{
+ return ROM_NAME( dectalk_isa );
+}
+
+MACHINE_CONFIG_MEMBER( dectalk_isa_device::device_add_mconfig )
MCFG_CPU_ADD("dectalk_cpu", I80186, XTAL_20MHz)
MCFG_CPU_IO_MAP(dectalk_cpu_io)
MCFG_CPU_PROGRAM_MAP(dectalk_cpu_map)
@@ -157,24 +170,6 @@ static MACHINE_CONFIG_START( dectalk_isa )
MCFG_SOUND_ROUTE_EX(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE_EX(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
MACHINE_CONFIG_END
-ROM_START( dectalk_isa )
- ROM_REGION( 0x4000, "dectalk_cpu", 0 )
- ROM_LOAD16_BYTE("pc_boot_hxl.am27c64.d6.e26", 0x0000, 0x2000, CRC(7492f1e3) SHA1(fe6946a227f01c94f2b99220320a616445c96ee0)) // Some cards have a different label on the chip which lists the sum16: 31AC (matches contents)
- ROM_LOAD16_BYTE("pc_boot_hxh.am27c64.d8.e27", 0x0001, 0x2000, CRC(1fe7fe40) SHA1(6e89c237f01aa22e0d21ff4d6fdf8137c6ace374)) // Some cards have a different label on the chip which lists the sum16: 1A25 (matches contents)
- ROM_REGION( 0x2000, "dectalk_dsp", 0 )
- ROM_LOAD("spc_034c__2-1-92.tms320p15nl.d3.bin", 0x0000, 0x2000, CRC(d8b1201e) SHA1(4b873a5e882205fcac79a27562054b5c4d1a117c))
-ROM_END
-
-const tiny_rom_entry* dectalk_isa_device::device_rom_region() const
-{
- return ROM_NAME( dectalk_isa );
-}
-
-machine_config_constructor dectalk_isa_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( dectalk_isa );
-}
-
WRITE8_MEMBER(dectalk_isa_device::write)
{
switch(offset)