diff options
author | Vas Crabb <vas@vastheman.com> | 2017-05-22 14:31:40 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2017-05-22 14:31:40 +1000 |
commit | a6ee791664e78112cd59fddd23252c4077c5271e (patch) | |
tree | f5c3ac81e60b735a721da21085fff7e0df7c58c8 /src/devices/bus/cbmiec/c1541.cpp | |
parent | e63871ed51214148c8e3b103d594f2b33e0ea197 (diff) |
Goodbye MACHINE_CONFIG_FRAGMENT, it was nice knowing you.
(nw) This is a pretty minimal change. The point where the root device is added has been moved
from the MACHINE_CONFIG_START macro to the constructor of the machine configuration class (made
possible by giving drivers their own device types). This isn't the final change in this area.
The root device is still being handled specially in that its configuration comes from the game
driver structure. This needs to be harmonised with regular devices. But that's a job for
another day.
Diffstat (limited to 'src/devices/bus/cbmiec/c1541.cpp')
-rw-r--r-- | src/devices/bus/cbmiec/c1541.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/cbmiec/c1541.cpp b/src/devices/bus/cbmiec/c1541.cpp index 9bb72cc0745..bf947e03987 100644 --- a/src/devices/bus/cbmiec/c1541.cpp +++ b/src/devices/bus/cbmiec/c1541.cpp @@ -811,7 +811,7 @@ WRITE8_MEMBER( c1541_prologic_dos_classic_device::pia_pb_w ) // MACHINE_DRIVER( c1541 ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( c1541 ) +static MACHINE_CONFIG_START( c1541 ) MCFG_CPU_ADD(M6502_TAG, M6502, XTAL_16MHz/16) MCFG_CPU_PROGRAM_MAP(c1541_mem) MCFG_QUANTUM_PERFECT_CPU(M6502_TAG) @@ -855,7 +855,7 @@ machine_config_constructor c1541_device_base::device_mconfig_additions() const // MACHINE_DRIVER( c1541c ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( c1541c ) +static MACHINE_CONFIG_START( c1541c ) MCFG_FRAGMENT_ADD(c1541) MACHINE_CONFIG_END @@ -875,7 +875,7 @@ machine_config_constructor c1541c_device::device_mconfig_additions() const // MACHINE_DRIVER( c1541dd ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( c1541dd ) +static MACHINE_CONFIG_START( c1541dd ) MCFG_FRAGMENT_ADD(c1541) MCFG_CPU_MODIFY(M6502_TAG) @@ -898,7 +898,7 @@ machine_config_constructor c1541_dolphin_dos_device::device_mconfig_additions() // MACHINE_DRIVER( c1541pd ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( c1541pd ) +static MACHINE_CONFIG_START( c1541pd ) MCFG_FRAGMENT_ADD(c1541) MCFG_CPU_MODIFY(M6502_TAG) @@ -921,7 +921,7 @@ machine_config_constructor c1541_professional_dos_v1_device::device_mconfig_addi // MACHINE_DRIVER( c1541pdc ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( c1541pdc ) +static MACHINE_CONFIG_START( c1541pdc ) MCFG_FRAGMENT_ADD(c1541) MCFG_CPU_MODIFY(M6502_TAG) |