summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/pc_vga.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/pc_vga.h')
-rw-r--r--src/devices/video/pc_vga.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/devices/video/pc_vga.h b/src/devices/video/pc_vga.h
index bab15da5673..afde9bfdfd6 100644
--- a/src/devices/video/pc_vga.h
+++ b/src/devices/video/pc_vga.h
@@ -415,6 +415,14 @@ private:
// device type definition
DECLARE_DEVICE_TYPE(IBM8514A, ibm8514a_device)
+#define MCFG_8514A_ADD(_tag, _param) \
+ MCFG_DEVICE_ADD(_tag, IBM8514A, 0) \
+ downcast<ibm8514a_device*>(device)->set_vga(_param);
+
+#define MCFG_8514A_ADD_OWNER(_tag) \
+ MCFG_DEVICE_ADD(_tag, IBM8514A, 0) \
+ downcast<ibm8514a_device*>(device)->set_vga_owner();
+
class mach8_device : public ibm8514a_device
{
@@ -488,6 +496,13 @@ private:
// device type definition
DECLARE_DEVICE_TYPE(MACH8, mach8_device)
+#define MCFG_MACH8_ADD(_tag, _param) \
+ MCFG_DEVICE_ADD(_tag, MACH8, 0) \
+ downcast<mach8_device*>(device)->set_vga(_param);
+
+#define MCFG_MACH8_ADD_OWNER(_tag) \
+ MCFG_DEVICE_ADD(_tag, MACH8, 0) \
+ downcast<mach8_device*>(device)->set_vga_owner();
// ======================> tseng_vga_device