blob: 63b950649127fb6a41c96fea01317c99a2e2f895 (
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
|
/*************************************************************************
Atari Cloud 9 (prototype) hardware
*************************************************************************/
typedef struct _cloud9_state cloud9_state;
struct _cloud9_state
{
/* memory pointers */
UINT8 * videoram;
UINT8 * spriteram;
UINT8 * paletteram;
// UINT8 * nvram_stage; // currently this uses generic nvram handlers
// UINT8 * nvram; // currently this uses generic nvram handlers
/* video-related */
const UINT8 *syncprom;
const UINT8 *wpprom;
const UINT8 *priprom;
bitmap_t *spritebitmap;
double rweights[3], gweights[3], bweights[3];
UINT8 video_control[8];
UINT8 bitmode_addr[2];
/* misc */
int vblank_start;
int vblank_end;
emu_timer *irq_timer;
UINT8 irq_state;
/* devices */
const device_config *maincpu;
};
/*----------- defined in video/cloud9.c -----------*/
VIDEO_START( cloud9 );
VIDEO_UPDATE( cloud9 );
WRITE8_HANDLER( cloud9_video_control_w );
WRITE8_HANDLER( cloud9_paletteram_w );
WRITE8_HANDLER( cloud9_videoram_w );
READ8_HANDLER( cloud9_bitmode_r );
WRITE8_HANDLER( cloud9_bitmode_w );
WRITE8_HANDLER( cloud9_bitmode_addr_w );
|