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

« back to all changes in this revision

Viewing changes to src/mame/audio/sprint4.c

  • 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:
143
143
/* setup the attract input and it's inverse */
144
144
#define SPRINT4_ATTRACT                                                 \
145
145
        DISCRETE_INPUT_NOT(SPRINT4_ATTRACT_EN)                              \
146
 
        DISCRETE_LOGIC_INVERT(SPRINT4_ATTRACT_INV, 1, SPRINT4_ATTRACT_EN)
 
146
        DISCRETE_LOGIC_INVERT(SPRINT4_ATTRACT_INV, SPRINT4_ATTRACT_EN)
147
147
 
148
148
 
149
149
/* port tags used for the discrete adjusters */
169
169
        DISCRETE_INPUTX_DATA(SPRINT4_MOTOR_DATA_##_plr,                                                 \
170
170
                                        -1, 0x0f, 0)    /* latch IC D8 inverts the data */                              \
171
171
        DISCRETE_DAC_R1(SPRINT4_PLAYER_MOTOR_NODE(1, _plr),                                             \
172
 
                                        1,                                                                                      /* ENAB */                          \
173
172
                                        SPRINT4_MOTOR_DATA_##_plr,                                      /* DATA */                          \
174
173
                                        DEFAULT_TTL_V_LOGIC_1,                                          /* VDATA */                         \
175
174
                                        &sprint4_motor_freq_DAC)                                        /* LADDER */                        \
201
200
                                        1,                                                                                      /* ENAB */                          \
202
201
                                        SPRINT4_ATTRACT_EN,                                                     /* RESET */                         \
203
202
                                        SPRINT4_PLAYER_MOTOR_NODE(5, _plr),                     /* CLK */                           \
204
 
                                        1,                                                                                      /* MAX */                           \
 
203
                                        0, 1,                                                                           /* MIN, MAX */                      \
205
204
                                        DISC_COUNT_UP,                                                          /* DIR */                           \
206
205
                                        0,                                                                                      /* INIT0 */                         \
207
206
                                        DISC_CLK_ON_F_EDGE)                                                     /* CLKTYPE */                       \
211
210
                                        0x08,                                                                           /* INP2 */                          \
212
211
                                        "012*+")                                                                        /* join 7492 bits together */       \
213
212
        DISCRETE_DAC_R1(SPRINT4_MOTOR_SND_##_plr,                                                           \
214
 
                                        1,                                                                                      /* ENAB */                          \
215
213
                                        SPRINT4_PLAYER_MOTOR_NODE(7, _plr),                     /* DATA */                          \
216
214
                                        DEFAULT_TTL_V_LOGIC_1,                                          /* VDATA */                         \
217
215
                                        &sprint4_motor_out_DAC)                                         /* LADDER */
234
232
                                        SPRINT4_NOISE,                                          /* ENAB */      \
235
233
                                        SPRINT4_BANG_DATA)                                      /* INP0 */      \
236
234
        DISCRETE_DAC_R1(SPRINT4_BANG_SND,                                   \
237
 
                                        1,                                                                      /* ENAB */      \
238
235
                                        NODE_70,                                                        /* DATA */      \
239
236
                                        DEFAULT_TTL_V_LOGIC_1,                          /* VDATA */     \
240
237
                                        &sprint4_bang_DAC)                                      /* LADDER */