~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/emu/machine/6532riot.h

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#ifndef __RIOT6532_H__
8
8
#define __RIOT6532_H__
9
9
 
 
10
#include "devcb.h"
10
11
 
11
12
/***************************************************************************
12
13
    TYPE DEFINITIONS
13
14
***************************************************************************/
14
15
 
15
 
typedef UINT8 (*riot_read_func)(const device_config *device, UINT8 olddata);
16
 
typedef void (*riot_write_func)(const device_config *device, UINT8 newdata, UINT8 olddata);
17
 
typedef void (*riot_irq_func)(const device_config *device, int state);
18
 
 
19
16
 
20
17
typedef struct _riot6532_interface riot6532_interface;
21
18
struct _riot6532_interface
22
19
{
23
 
        riot_read_func          in_a_func;
24
 
        riot_read_func          in_b_func;
25
 
        riot_write_func         out_a_func;
26
 
        riot_write_func         out_b_func;
27
 
        riot_irq_func           irq_func;
 
20
        devcb_read8                     in_a_func;
 
21
        devcb_read8                     in_b_func;
 
22
        devcb_write8            out_a_func;
 
23
        devcb_write8            out_b_func;
 
24
        devcb_write_line        irq_func;
28
25
};
29
26
 
30
27