blob: c0dee7c1b53c50c9658f5b2f2acef74b4ce931a2 (
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
55
56
57
|
/*************************************************************************
Atari GX2 hardware
*************************************************************************/
#include "machine/atarigen.h"
class atarigx2_state : public atarigen_state
{
public:
atarigx2_state(const machine_config &mconfig, device_type type, const char *tag)
: atarigen_state(mconfig, type, tag),
m_mo_command(*this, "mo_command"),
m_protection_base(*this, "protection_base") { }
UINT16 m_playfield_base;
required_shared_ptr<UINT32> m_mo_command;
required_shared_ptr<UINT32> m_protection_base;
UINT16 m_current_control;
UINT8 m_playfield_tile_bank;
UINT8 m_playfield_color_bank;
UINT16 m_playfield_xscroll;
UINT16 m_playfield_yscroll;
UINT16 m_last_write;
UINT16 m_last_write_offset;
device_t * m_rle;
DECLARE_READ32_MEMBER(special_port2_r);
DECLARE_READ32_MEMBER(special_port3_r);
DECLARE_READ32_MEMBER(a2d_data_r);
DECLARE_WRITE32_MEMBER(latch_w);
DECLARE_WRITE32_MEMBER(mo_command_w);
DECLARE_WRITE32_MEMBER(atarigx2_protection_w);
DECLARE_READ32_MEMBER(atarigx2_protection_r);
DECLARE_READ32_MEMBER(rrreveng_prot_r);
DECLARE_DRIVER_INIT(spclords);
DECLARE_DRIVER_INIT(rrreveng);
DECLARE_DRIVER_INIT(motofren);
TILE_GET_INFO_MEMBER(get_alpha_tile_info);
TILE_GET_INFO_MEMBER(get_playfield_tile_info);
TILEMAP_MAPPER_MEMBER(atarigx2_playfield_scan);
};
/*----------- defined in video/atarigx2.c -----------*/
VIDEO_START( atarigx2 );
SCREEN_VBLANK( atarigx2 );
SCREEN_UPDATE_IND16( atarigx2 );
WRITE16_HANDLER( atarigx2_mo_control_w );
void atarigx2_scanline_update(screen_device &screen, int scanline);
|