blob: 9b06a0c7878d9e1c47c3943094333670918c541a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/***************************************************************************
video/cirrus.h
Cirrus SVGA card emulation (preliminary)
***************************************************************************/
#ifndef CIRRUS_H
#define CIRRUS_H
#include "bus/lpci/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) override;
virtual void pci_write(pci_bus_device *pcibus, int function, int offset, UINT32 data, UINT32 mem_mask) override;
DECLARE_WRITE8_MEMBER( cirrus_42E8_w );
protected:
// device-level overrides
virtual void device_start() override;
virtual void device_reset() override;
};
// device type definition
extern const device_type CIRRUS;
#endif /* CIRRUS_H */
|