blob: 19d0e9b9af2d3f8463a6ac7ff8a7c09a9ff0c8f9 (
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
|
/*************************************************************************
Bogey Manor
*************************************************************************/
class bogeyman_state : public driver_device
{
public:
bogeyman_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) { }
/* memory pointers */
UINT8 * m_videoram;
UINT8 * m_videoram2;
UINT8 * m_colorram;
UINT8 * m_colorram2;
UINT8 * m_spriteram;
// UINT8 * m_paletteram; // currently this uses generic palette handling
size_t m_spriteram_size;
/* video-related */
tilemap_t *m_bg_tilemap;
tilemap_t *m_fg_tilemap;
/* misc */
int m_psg_latch;
int m_last_write;
int m_colbank;
};
/*----------- defined in video/bogeyman.c -----------*/
WRITE8_HANDLER( bogeyman_videoram_w );
WRITE8_HANDLER( bogeyman_colorram_w );
WRITE8_HANDLER( bogeyman_videoram2_w );
WRITE8_HANDLER( bogeyman_colorram2_w );
WRITE8_HANDLER( bogeyman_paletteram_w );
PALETTE_INIT( bogeyman );
VIDEO_START( bogeyman );
SCREEN_UPDATE( bogeyman );
|