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

« back to all changes in this revision

Viewing changes to src/mame/drivers/glass.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:
114
114
 
115
115
static INPUT_PORTS_START( glass )
116
116
        PORT_START("DSW1")
117
 
        PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coin_A ) )
118
 
        PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
119
 
        PORT_DIPSETTING(    0x00, DEF_STR( 3C_4C ) )
120
 
        PORT_DIPSETTING(    0x01, DEF_STR( 2C_3C ) )
121
 
        PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
122
 
        PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
123
 
        PORT_DIPSETTING(    0x04, DEF_STR( 1C_4C ) )
124
 
        PORT_DIPSETTING(    0x03, DEF_STR( 1C_5C ) )
125
 
        PORT_DIPSETTING(    0x02, DEF_STR( 1C_6C ) )
126
 
        PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coin_B ) )
127
 
        PORT_DIPSETTING(    0x10, DEF_STR( 6C_1C ) )
128
 
        PORT_DIPSETTING(    0x18, DEF_STR( 5C_1C ) )
129
 
        PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
130
 
        PORT_DIPSETTING(    0x28, DEF_STR( 3C_1C ) )
131
 
        PORT_DIPSETTING(    0x30, DEF_STR( 2C_1C ) )
132
 
        PORT_DIPSETTING(    0x08, DEF_STR( 3C_2C ) )
133
 
        PORT_DIPSETTING(    0x00, DEF_STR( 4C_3C ) )
134
 
        PORT_DIPSETTING(    0x38, DEF_STR( 1C_1C ) )
135
 
        PORT_DIPNAME( 0x40, 0x40, "Credit configuration" )
136
 
        PORT_DIPSETTING(    0x40, "Start 1C" )
137
 
        PORT_DIPSETTING(    0x00, "Start 2C" )
138
 
        PORT_DIPNAME( 0x80, 0x80, DEF_STR( Free_Play ) )
139
 
        PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
140
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
117
        PORT_DIPNAME( 0x07,    0x07, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:6,7,8")
 
118
        PORT_DIPSETTING(       0x07, DEF_STR( 1C_1C ) )
 
119
        PORT_DIPSETTING(       0x00, DEF_STR( 3C_4C ) )
 
120
        PORT_DIPSETTING(       0x01, DEF_STR( 2C_3C ) )
 
121
        PORT_DIPSETTING(       0x06, DEF_STR( 1C_2C ) )
 
122
        PORT_DIPSETTING(       0x05, DEF_STR( 1C_3C ) )
 
123
        PORT_DIPSETTING(       0x04, DEF_STR( 1C_4C ) )
 
124
        PORT_DIPSETTING(       0x03, DEF_STR( 1C_5C ) )
 
125
        PORT_DIPSETTING(       0x02, DEF_STR( 1C_6C ) )
 
126
        PORT_DIPNAME( 0x38,    0x38, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:3,4,5")
 
127
        PORT_DIPSETTING(       0x10, DEF_STR( 6C_1C ) )
 
128
        PORT_DIPSETTING(       0x18, DEF_STR( 5C_1C ) )
 
129
        PORT_DIPSETTING(       0x20, DEF_STR( 4C_1C ) )
 
130
        PORT_DIPSETTING(       0x28, DEF_STR( 3C_1C ) )
 
131
        PORT_DIPSETTING(       0x30, DEF_STR( 2C_1C ) )
 
132
        PORT_DIPSETTING(       0x08, DEF_STR( 3C_2C ) )
 
133
        PORT_DIPSETTING(       0x00, DEF_STR( 4C_3C ) )
 
134
        PORT_DIPSETTING(       0x38, DEF_STR( 1C_1C ) )
 
135
        PORT_DIPNAME( 0x40,    0x40, "Credit configuration" ) PORT_DIPLOCATION("SW1:2")
 
136
        PORT_DIPSETTING(       0x40, "Start 1C" )
 
137
        PORT_DIPSETTING(       0x00, "Start 2C" )
 
138
        PORT_DIPNAME( 0x80,    0x80, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("SW1:1")
 
139
        PORT_DIPSETTING(       0x80, DEF_STR( Off ) )
 
140
        PORT_DIPSETTING(       0x00, DEF_STR( On ) )
141
141
 
142
142
        PORT_START("DSW2")
143
 
        PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
144
 
        PORT_DIPSETTING(    0x02, DEF_STR( Easy ) )
145
 
        PORT_DIPSETTING(    0x03, DEF_STR( Normal ) )
146
 
        PORT_DIPSETTING(    0x01, DEF_STR( Hard ) )
147
 
        PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
148
 
        PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )
149
 
        PORT_DIPSETTING(    0x0c, "3" )
150
 
        PORT_DIPSETTING(    0x08, "1" )
151
 
        PORT_DIPSETTING(    0x04, "2" )
152
 
        PORT_DIPSETTING(    0x00, "4" )
153
 
        PORT_DIPNAME( 0x10, 0x10, DEF_STR( Version ) )
154
 
        PORT_DIPSETTING(    0x10, DEF_STR( Normal ) )
155
 
        PORT_DIPSETTING(    0x00, "Light" )
156
 
        PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
157
 
        PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
158
 
        PORT_DIPSETTING(    0x20, DEF_STR( On ) )
159
 
        PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
160
 
        PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
161
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
162
 
        PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
 
143
        PORT_DIPNAME( 0x03,    0x03, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:7,8")
 
144
        PORT_DIPSETTING(       0x02, DEF_STR( Easy ) )
 
145
        PORT_DIPSETTING(       0x03, DEF_STR( Normal ) )
 
146
        PORT_DIPSETTING(       0x01, DEF_STR( Hard ) )
 
147
        PORT_DIPSETTING(       0x00, DEF_STR( Hardest ) )
 
148
        PORT_DIPNAME( 0x0c,    0x0c, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:5,6")
 
149
        PORT_DIPSETTING(       0x0c, "3" )
 
150
        PORT_DIPSETTING(       0x08, "1" )
 
151
        PORT_DIPSETTING(       0x04, "2" )
 
152
        PORT_DIPSETTING(       0x00, "4" )
 
153
        PORT_DIPNAME( 0x10,    0x10, DEF_STR( Version ) ) PORT_DIPLOCATION("SW2:4")
 
154
        PORT_DIPSETTING(       0x10, DEF_STR( Normal ) )
 
155
        PORT_DIPSETTING(       0x00, "Light" )
 
156
        PORT_DIPNAME( 0x20,    0x20, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:3")
 
157
        PORT_DIPSETTING(       0x00, DEF_STR( Off ) )
 
158
        PORT_DIPSETTING(       0x20, DEF_STR( On ) )
 
159
        PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW2:2" ) /* Listed as "Unused" */
 
160
        PORT_SERVICE_DIPLOC(   0x80, IP_ACTIVE_LOW, "SW2:1" )
163
161
 
164
162
        PORT_START("P1")
165
163
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
223
221
        ROM_LOAD16_BYTE( "1.c23", 0x000000, 0x040000, CRC(aeebd4ed) SHA1(04759dc146dff0fc74b78d70e79dfaebe68328f9) )
224
222
        ROM_LOAD16_BYTE( "2.c22", 0x000001, 0x040000, CRC(165e2e01) SHA1(180a2e2b5151f2321d85ac23eff7fbc9f52023a5) )
225
223
 
226
 
        ROM_REGION( 0x400000, "gfx1", ROMREGION_DISPOSE )       /* Graphics */
 
224
        ROM_REGION( 0x400000, "gfx1", ROMREGION_ERASE00 )       /* Graphics */
227
225
        /* 0x000000-0x3fffff filled in later in the DRIVER_INIT */
228
226
 
229
 
        ROM_REGION( 0x400000, "gfx2", ROMREGION_DISPOSE )       /* Graphics */
 
227
        ROM_REGION( 0x400000, "gfx2", 0 )       /* Graphics */
230
228
        ROM_LOAD( "h13.bin", 0x000000, 0x200000, CRC(13ab7f31) SHA1(468424f74d6cccd1b445a9f20e2d24bc46d61ed6) )
231
229
        ROM_LOAD( "h11.bin", 0x200000, 0x200000, CRC(c6ac41c8) SHA1(22408ef1e35c66d0fba0c72972c46fad891d1193) )
232
230
 
244
242
        ROM_LOAD16_BYTE( "c23.bin", 0x000000, 0x040000, CRC(688cdf33) SHA1(b59dcc3fc15f72037692b745927b110e97d8282e) )
245
243
        ROM_LOAD16_BYTE( "c22.bin", 0x000001, 0x040000, CRC(ab17c992) SHA1(1509b5b4bbfb4e022e0ab6fbbc0ffc070adfa531) )
246
244
 
247
 
        ROM_REGION( 0x400000, "gfx1", ROMREGION_DISPOSE )       /* Graphics */
 
245
        ROM_REGION( 0x400000, "gfx1", ROMREGION_ERASE00 )       /* Graphics */
248
246
        /* 0x000000-0x3fffff filled in later in the DRIVER_INIT */
249
247
 
250
 
        ROM_REGION( 0x400000, "gfx2", ROMREGION_DISPOSE )       /* Graphics */
 
248
        ROM_REGION( 0x400000, "gfx2", 0 )       /* Graphics */
251
249
        ROM_LOAD( "h13.bin", 0x000000, 0x200000, CRC(13ab7f31) SHA1(468424f74d6cccd1b445a9f20e2d24bc46d61ed6) )
252
250
        ROM_LOAD( "h11.bin", 0x200000, 0x200000, CRC(c6ac41c8) SHA1(22408ef1e35c66d0fba0c72972c46fad891d1193) )
253
251
 
265
263
        ROM_LOAD16_BYTE( "spl-c23.bin", 0x000000, 0x040000, CRC(c1393bea) SHA1(a5f877ba38305a7b49fa3c96b9344cbf71e8c9ef) )
266
264
        ROM_LOAD16_BYTE( "spl-c22.bin", 0x000001, 0x040000, CRC(0d6fa33e) SHA1(37e9258ef7e108d034c80abc8e5e5ab6dacf0a61) )
267
265
 
268
 
        ROM_REGION( 0x400000, "gfx1", ROMREGION_DISPOSE )       /* Graphics */
 
266
        ROM_REGION( 0x400000, "gfx1", ROMREGION_ERASE00 )       /* Graphics */
269
267
        /* 0x000000-0x3fffff filled in later in the DRIVER_INIT */
270
268
 
271
 
        ROM_REGION( 0x400000, "gfx2", ROMREGION_DISPOSE )       /* Graphics */
 
269
        ROM_REGION( 0x400000, "gfx2", 0 )       /* Graphics */
272
270
        ROM_LOAD( "h13.bin", 0x000000, 0x200000, CRC(13ab7f31) SHA1(468424f74d6cccd1b445a9f20e2d24bc46d61ed6) )
273
271
        ROM_LOAD( "h11.bin", 0x200000, 0x200000, CRC(c6ac41c8) SHA1(22408ef1e35c66d0fba0c72972c46fad891d1193) )
274
272