~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to src/mame/drivers/drmicro.c

  • 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:
122
122
        PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_4WAY PORT_PLAYER(2)
123
123
 
124
124
        PORT_START("DSW1")
125
 
        PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
 
125
        PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )            PORT_DIPLOCATION("SW1:!1,!2")
126
126
        PORT_DIPSETTING(    0x00, "2" )
127
127
        PORT_DIPSETTING(    0x01, "3" )
128
128
        PORT_DIPSETTING(    0x02, "4" )
129
129
        PORT_DIPSETTING(    0x03, "5" )
130
 
        PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) )
 
130
        PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) )      PORT_DIPLOCATION("SW1:!3")
131
131
        PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
132
132
        PORT_DIPSETTING(    0x04, DEF_STR( On ) )
133
 
        PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )
 
133
        PORT_DIPNAME( 0x18, 0x08, DEF_STR( Bonus_Life ) )       PORT_DIPLOCATION("SW1:!4,!5")
134
134
        PORT_DIPSETTING(    0x00, "30000 100000" )
135
135
        PORT_DIPSETTING(    0x08, "50000 150000" )
136
136
        PORT_DIPSETTING(    0x10, "70000 200000" )
137
137
        PORT_DIPSETTING(    0x18, "100000 300000" )
138
 
        PORT_SERVICE( 0x20, IP_ACTIVE_HIGH )
139
 
        PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )
 
138
        PORT_SERVICE_DIPLOC(  0x20, IP_ACTIVE_HIGH, "SW1:!6" )  /* Service Mode shows as "X" */
 
139
        PORT_DIPNAME( 0x40, 0x40, DEF_STR( Cabinet ) )          PORT_DIPLOCATION("SW1:!7")
140
140
        PORT_DIPSETTING(    0x40, DEF_STR( Upright ) )
141
141
        PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
142
 
        PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )
 
142
        PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("SW1:!8")
143
143
        PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
144
144
        PORT_DIPSETTING(    0x80, DEF_STR( On ) )
145
145
 
146
146
        PORT_START("DSW2")
147
 
        PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coinage ) )
 
147
        PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coinage ) )          PORT_DIPLOCATION("SW2:!1,!2,!3")
148
148
        PORT_DIPSETTING(    0x07, DEF_STR( 4C_1C ) )
149
149
        PORT_DIPSETTING(    0x06, DEF_STR( 3C_1C ) )
150
150
        PORT_DIPSETTING(    0x05, DEF_STR( 2C_1C ) )
153
153
        PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
154
154
        PORT_DIPSETTING(    0x03, DEF_STR( 1C_4C ) )
155
155
        PORT_DIPSETTING(    0x04, DEF_STR( 1C_5C ) )
156
 
        PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // 4-8
 
156
        PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_HIGH, "SW2:!4" ) /* Service Mode shows as "X" */
 
157
        PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_HIGH, "SW2:!5" ) /* Service Mode shows as "X" */
 
158
        PORT_DIPUNUSED_DIPLOC( 0x20, IP_ACTIVE_HIGH, "SW2:!6" ) /* Service Mode shows as "X" */
 
159
        PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_HIGH, "SW2:!7" ) /* Service Mode shows as "X" */
 
160
        PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_HIGH, "SW2:!8" ) /* Service Mode shows as "X" */
157
161
INPUT_PORTS_END
158
162
 
159
163
/*************************************