diff options
Diffstat (limited to 'src/devices/machine/steppers.h')
-rw-r--r-- | src/devices/machine/steppers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/machine/steppers.h b/src/devices/machine/steppers.h index fac2a8e129c..fc9e5822870 100644 --- a/src/devices/machine/steppers.h +++ b/src/devices/machine/steppers.h @@ -33,6 +33,10 @@ #define PROJECT_48STEP_REEL 10 +#define SRU_200STEP_REEL 11 + +#define SYS5_100STEP_REEL 12 + class stepper_device : public device_t { @@ -69,6 +73,8 @@ public: int get_position() { return m_step_pos; } /* get current absolute position in half steps */ int get_absolute_position() { return m_abs_step_pos; } + /* set absolute position in half steps */ + void set_absolute_position(int pos) { m_abs_step_pos = pos; } /* get maximum position in half steps */ int get_max() { return m_max_steps; } @@ -132,6 +138,7 @@ protected: case STARPOINT_200STEP_REEL : case GAMESMAN_200STEP_REEL : case ECOIN_200STEP_REEL : + case SRU_200STEP_REEL : m_max_steps = (200*2); break; } |