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
55
56
57
|
/*************************************************************************
decocomn.h
**************************************************************************/
#pragma once
#ifndef __DECOCOMN_H__
#define __DECOCOMN_H__
#include "devcb.h"
/***************************************************************************
TYPE DEFINITIONS
***************************************************************************/
typedef struct _decocomn_interface decocomn_interface;
struct _decocomn_interface
{
const char *screen;
};
DECLARE_LEGACY_DEVICE(DECOCOMN, decocomn);
/***************************************************************************
DEVICE CONFIGURATION MACROS
***************************************************************************/
#define MCFG_DECOCOMN_ADD(_tag, _interface) \
MCFG_DEVICE_ADD(_tag, DECOCOMN, 0) \
MCFG_DEVICE_CONFIG(_interface)
/***************************************************************************
DEVICE I/O FUNCTIONS
***************************************************************************/
WRITE16_DEVICE_HANDLER( decocomn_nonbuffered_palette_w );
WRITE16_DEVICE_HANDLER( decocomn_buffered_palette_w );
WRITE16_DEVICE_HANDLER( decocomn_palette_dma_w );
WRITE16_DEVICE_HANDLER( decocomn_priority_w );
READ16_DEVICE_HANDLER( decocomn_priority_r );
READ16_DEVICE_HANDLER( decocomn_71_r );
/* used by boogwing, dassault, nitrobal */
void decocomn_clear_sprite_priority_bitmap(device_t *device);
void decocomn_pdrawgfx(
device_t *device,
bitmap_t *dest,const rectangle *clip,const gfx_element *gfx,
UINT32 code,UINT32 color,int flipx,int flipy,int sx,int sy,
int transparent_color,UINT32 pri_mask,UINT32 sprite_mask,UINT8 write_pri,UINT8 alpha);
#endif
|