diff options
author | 2017-05-22 14:31:40 +1000 | |
---|---|---|
committer | 2017-05-22 14:31:40 +1000 | |
commit | a6ee791664e78112cd59fddd23252c4077c5271e (patch) | |
tree | f5c3ac81e60b735a721da21085fff7e0df7c58c8 /src/devices/bus/comx35 | |
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/comx35')
-rw-r--r-- | src/devices/bus/comx35/clm.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/comx35/expbox.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/comx35/fdc.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/comx35/printer.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/comx35/clm.cpp b/src/devices/bus/comx35/clm.cpp index 0ddd65d5d6c..a763a0d8d04 100644 --- a/src/devices/bus/comx35/clm.cpp +++ b/src/devices/bus/comx35/clm.cpp @@ -133,10 +133,10 @@ GFXDECODE_END //------------------------------------------------- -// MACHINE_CONFIG_FRAGMENT( comx_clm ) +// MACHINE_CONFIG_START( comx_clm ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( comx_clm ) +static MACHINE_CONFIG_START( comx_clm ) MCFG_SCREEN_ADD_MONOCHROME(MC6845_SCREEN_TAG, RASTER, rgb_t::white()) MCFG_SCREEN_UPDATE_DEVICE(MC6845_TAG, mc6845_device, screen_update) MCFG_SCREEN_SIZE(80*8, 24*8) diff --git a/src/devices/bus/comx35/expbox.cpp b/src/devices/bus/comx35/expbox.cpp index 1eacd1dea5e..21d83bf44e6 100644 --- a/src/devices/bus/comx35/expbox.cpp +++ b/src/devices/bus/comx35/expbox.cpp @@ -95,10 +95,10 @@ const tiny_rom_entry *comx_eb_device::device_rom_region() const //------------------------------------------------- -// MACHINE_CONFIG_FRAGMENT( comx_eb ) +// MACHINE_CONFIG_START( comx_eb ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( comx_eb ) +static MACHINE_CONFIG_START( comx_eb ) MCFG_COMX_EXPANSION_SLOT_ADD(SLOT1_TAG, comx_expansion_cards, "fd") MCFG_COMX_EXPANSION_SLOT_IRQ_CALLBACK(WRITELINE(comx_eb_device, slot1_irq_w)) MCFG_COMX_EXPANSION_SLOT_ADD(SLOT2_TAG, comx_expansion_cards, "clm") diff --git a/src/devices/bus/comx35/fdc.cpp b/src/devices/bus/comx35/fdc.cpp index 2c8a8e163cb..b7273c4a87a 100644 --- a/src/devices/bus/comx35/fdc.cpp +++ b/src/devices/bus/comx35/fdc.cpp @@ -92,10 +92,10 @@ SLOT_INTERFACE_END //------------------------------------------------- -// MACHINE_CONFIG_FRAGMENT( comx_fd ) +// MACHINE_CONFIG_START( comx_fd ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( comx_fd ) +static MACHINE_CONFIG_START( comx_fd ) MCFG_WD1770_ADD(WD1770_TAG, XTAL_8MHz) MCFG_FLOPPY_DRIVE_ADD(WD1770_TAG":0", comx_fd_floppies, "525sd35t", comx_fd_device::floppy_formats) diff --git a/src/devices/bus/comx35/printer.cpp b/src/devices/bus/comx35/printer.cpp index 4a9ced09f17..57f477274d3 100644 --- a/src/devices/bus/comx35/printer.cpp +++ b/src/devices/bus/comx35/printer.cpp @@ -52,10 +52,10 @@ const tiny_rom_entry *comx_prn_device::device_rom_region() const //------------------------------------------------- -// MACHINE_CONFIG_FRAGMENT( comx_prn ) +// MACHINE_CONFIG_START( comx_prn ) //------------------------------------------------- -static MACHINE_CONFIG_FRAGMENT( comx_prn ) +static MACHINE_CONFIG_START( comx_prn ) MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit0)) MCFG_CENTRONICS_BUSY_HANDLER(DEVWRITELINE("cent_status_in", input_buffer_device, write_bit1)) |