summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/cirrus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/cirrus.h')
-rw-r--r--src/mess/video/cirrus.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mess/video/cirrus.h b/src/mess/video/cirrus.h
new file mode 100644
index 00000000000..c45d73a468a
--- /dev/null
+++ b/src/mess/video/cirrus.h
@@ -0,0 +1,38 @@
+/***************************************************************************
+
+ video/cirrus.h
+
+ Cirrus SVGA card emulation (preliminary)
+
+***************************************************************************/
+
+#ifndef CIRRUS_H
+#define CIRRUS_H
+
+#include "machine/pci.h"
+
+// ======================> cirrus_device
+
+class cirrus_device : public device_t,
+ public pci_device_interface
+{
+public:
+ // construction/destruction
+ cirrus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ virtual UINT32 pci_read(pci_bus_device *pcibus, int function, int offset, UINT32 mem_mask);
+ virtual void pci_write(pci_bus_device *pcibus, int function, int offset, UINT32 data, UINT32 mem_mask);
+
+protected:
+ // device-level overrides
+ virtual void device_start();
+ virtual void device_reset();
+ virtual void device_config_complete() { m_shortname = "cirrus"; }
+private:
+};
+
+
+// device type definition
+extern const device_type CIRRUS;
+
+#endif /* CIRRUS_H */