diff options
Diffstat (limited to 'src/devices/bus/isa/svga_cirrus.cpp')
-rw-r--r-- | src/devices/bus/isa/svga_cirrus.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/bus/isa/svga_cirrus.cpp b/src/devices/bus/isa/svga_cirrus.cpp index bcb6b4995a1..444acac7c1a 100644 --- a/src/devices/bus/isa/svga_cirrus.cpp +++ b/src/devices/bus/isa/svga_cirrus.cpp @@ -30,14 +30,14 @@ DEFINE_DEVICE_TYPE(ISA16_SVGA_CIRRUS_GD542X, isa16_svga_cirrus_gd542x_device, "c // device_add_mconfig - add device configuration //------------------------------------------------- -void isa16_svga_cirrus_device::device_add_mconfig(machine_config &config) -{ - screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); - screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480); - screen.set_screen_update("vga", FUNC(cirrus_gd5430_device::screen_update)); +MACHINE_CONFIG_START(isa16_svga_cirrus_device::device_add_mconfig) + MCFG_SCREEN_ADD("screen", RASTER) + MCFG_SCREEN_RAW_PARAMS(XTAL(25'174'800),900,0,640,526,0,480) + MCFG_SCREEN_UPDATE_DEVICE("vga", cirrus_gd5430_device, screen_update) - CIRRUS_GD5430(config, "vga", 0).set_screen("screen"); -} + MCFG_DEVICE_ADD("vga", CIRRUS_GD5430, 0) + MCFG_VIDEO_SET_SCREEN("screen") +MACHINE_CONFIG_END //------------------------------------------------- // rom_region - device-specific ROM region @@ -110,14 +110,14 @@ ROM_END // device_add_mconfig - add device configuration //------------------------------------------------- -void isa16_svga_cirrus_gd542x_device::device_add_mconfig(machine_config &config) -{ - screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER)); - screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480); - screen.set_screen_update("vga", FUNC(cirrus_gd5428_device::screen_update)); +MACHINE_CONFIG_START(isa16_svga_cirrus_gd542x_device::device_add_mconfig) + MCFG_SCREEN_ADD("screen", RASTER) + MCFG_SCREEN_RAW_PARAMS(XTAL(25'174'800),900,0,640,526,0,480) + MCFG_SCREEN_UPDATE_DEVICE("vga", cirrus_gd5428_device, screen_update) - CIRRUS_GD5428(config, "vga", 0).set_screen("screen"); -} + MCFG_DEVICE_ADD("vga", CIRRUS_GD5428, 0) + MCFG_VIDEO_SET_SCREEN("screen") +MACHINE_CONFIG_END //------------------------------------------------- // rom_region - device-specific ROM region |