blob: 8426c5a10458d18a397723fd3303d7c8e6e9fa52 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/*****************************************************************************
*
* video/saa5050.h
*
* SAA5050
*
****************************************************************************/
#ifndef __SAA5050_H__
#define __SAA5050_H__
#include "devlegcy.h"
#define SAA5050_VBLANK 2500
/***************************************************************************
TYPE DEFINITIONS
***************************************************************************/
typedef struct _saa5050_interface saa5050_interface;
struct _saa5050_interface
{
const char *screen;
int gfxnum;
int x, y, size;
int rev;
};
DECLARE_LEGACY_DEVICE(SAA5050, saa5050);
/***************************************************************************
DEVICE CONFIGURATION MACROS
***************************************************************************/
#define MDRV_SAA5050_ADD(_tag, _interface) \
MDRV_DEVICE_ADD(_tag, SAA5050, 0) \
MDRV_DEVICE_CONFIG(_interface)
/***************************************************************************
DEVICE I/O FUNCTIONS
***************************************************************************/
void saa5050_update(running_device *device, bitmap_t *bitmap, const rectangle *cliprect);
void saa5050_frame_advance(running_device *device);
GFXDECODE_EXTERN( saa5050 );
PALETTE_INIT( saa5050 );
WRITE8_DEVICE_HANDLER( saa5050_videoram_w );
READ8_DEVICE_HANDLER( saa5050_videoram_r );
#endif /* __SAA5050_H__ */
|