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

« back to all changes in this revision

Viewing changes to src/mame/machine/steppers.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
//                                                                       //
3
3
// steppers.c steppermotor emulation                                     //
4
4
//                                                                       //
5
 
// Emulates : 48 step motors driven with full step or half step          //
 
5
// Emulates : stepper motors driven with full step or half step          //
6
6
//            also emulates the index optic                              //
7
7
//                                                                       //
8
8
//                                                                       //
9
 
// TODO:  add different types of stepper motors if needed                //
10
 
//        someone who understands the device system may want to convert  //
 
9
// TODO:  add further types of stepper motors if needed (Konami/IGT?)    //
 
10
//        Someone who understands the device system may want to convert  //
11
11
//        this                                                           //
12
12
///////////////////////////////////////////////////////////////////////////
13
13
 
18
18
#define MAX_STEPPERS                8                   /* maximum number of steppers */
19
19
 
20
20
#define STARPOINT_48STEP_REEL   0                       /* STARPOINT RMXXX reel unit */
21
 
#define BARCREST_48STEP_REEL    1                       /* Barcrest bespoke reel unit */
22
 
#define STARPOINT_144STEPS_DICE 2                       /* STARPOINT 1DCU DICE mechanism */
23
 
#define MPU3_48STEP_REEL        3
 
21
#define STARPOINT_144STEP_DICE  1                       /* STARPOINT 1DCU DICE mechanism */
 
22
#define STARPOINT_200STEP_REEL  2
 
23
 
 
24
#define BARCREST_48STEP_REEL    3                       /* Barcrest bespoke reel unit */
 
25
#define MPU3_48STEP_REEL        4
 
26
 
 
27
#define ECOIN_200STEP_REEL      5                       /* Probably not bespoke, but can't find a part number */
 
28
 
 
29
#define GAMESMAN_48STEP_REEL    6
 
30
#define GAMESMAN_100STEP_REEL   7
 
31
#define GAMESMAN_200STEP_REEL   8
 
32
 
 
33
#define PROJECT_48STEP_REEL     9
 
34
 
24
35
/*------------- Stepper motor interface structure -----------------*/
25
36
 
26
37
typedef struct _stepper_interface stepper_interface;
34
45
};
35
46
 
36
47
extern const stepper_interface starpoint_interface_48step;
 
48
extern const stepper_interface starpoint_interface_200step_reel;
37
49
 
38
50
void stepper_config(running_machine &machine, int which, const stepper_interface *intf);
39
51