~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to mess/src/mame/includes/dec0.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
class dec0_state : public driver_device
2
 
{
3
 
public:
4
 
        dec0_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
6
 
 
7
 
        UINT8 m_automat_adpcm_byte;
8
 
        int m_automat_msm5205_vclk_toggle;
9
 
        UINT16 *m_ram;
10
 
        UINT8 *m_robocop_shared_ram;
11
 
 
12
 
        int m_GAME;
13
 
        int m_i8751_return;
14
 
        int m_i8751_command;
15
 
        int m_slyspy_state;
16
 
        int m_share[0xff];
17
 
        int m_hippodrm_msb;
18
 
        int m_hippodrm_lsb;
19
 
        UINT8 m_i8751_ports[4];
20
 
 
21
 
        UINT16 *m_spriteram;
22
 
        UINT16 *m_buffered_spriteram;
23
 
        UINT16 m_pri;
24
 
};
25
 
 
26
 
 
27
 
/*----------- defined in video/dec0.c -----------*/
28
 
 
29
 
/* Video emulation definitions */
30
 
VIDEO_START( dec0 );
31
 
VIDEO_START( dec0_nodma );
32
 
SCREEN_UPDATE( hbarrel );
33
 
SCREEN_UPDATE( baddudes );
34
 
SCREEN_UPDATE( birdtry );
35
 
SCREEN_UPDATE( robocop );
36
 
SCREEN_UPDATE( hippodrm );
37
 
SCREEN_UPDATE( slyspy );
38
 
SCREEN_UPDATE( midres );
39
 
 
40
 
WRITE16_HANDLER( dec0_priority_w );
41
 
WRITE16_HANDLER( dec0_update_sprites_w );
42
 
 
43
 
WRITE16_HANDLER( dec0_paletteram_rg_w );
44
 
WRITE16_HANDLER( dec0_paletteram_b_w );
45
 
 
46
 
READ8_HANDLER( dec0_pf3_data_8bit_r );
47
 
WRITE8_HANDLER( dec0_pf3_data_8bit_w );
48
 
WRITE8_HANDLER( dec0_pf3_control_8bit_w );
49
 
 
50
 
/*----------- defined in machine/dec0.c -----------*/
51
 
 
52
 
READ16_HANDLER( dec0_controls_r );
53
 
READ16_HANDLER( dec0_rotary_r );
54
 
READ16_HANDLER( midres_controls_r );
55
 
READ16_HANDLER( slyspy_controls_r );
56
 
 
57
 
DRIVER_INIT( slyspy );
58
 
DRIVER_INIT( hippodrm );
59
 
DRIVER_INIT( robocop );
60
 
DRIVER_INIT( baddudes );
61
 
DRIVER_INIT( hbarrel );
62
 
DRIVER_INIT( birdtry );
63
 
 
64
 
extern void dec0_i8751_write(running_machine &machine, int data);
65
 
extern void dec0_i8751_reset(running_machine &machine);
66
 
READ8_HANDLER( hippodrm_prot_r );
67
 
WRITE8_HANDLER( dec0_mcu_port_w );
68
 
READ8_HANDLER( dec0_mcu_port_r );
69
 
WRITE8_HANDLER( hippodrm_prot_w );
70
 
READ8_HANDLER( hippodrm_shared_r );
71
 
WRITE8_HANDLER( hippodrm_shared_w );
72