trunk/src/mame/drivers/videopin.c
r241466 | r241467 | |
6 | 6 | |
7 | 7 | Known issues: |
8 | 8 | |
9 | | - plunger doesn't work in test mode - bug in the game code? |
| 9 | videopin |
| 10 | - plunger doesn't work in test mode - bug in the game code? |
10 | 11 | |
| 12 | solarwar |
| 13 | - coins not working (free play is default for now) |
| 14 | - needs correct layout file |
| 15 | |
11 | 16 | *************************************************************************/ |
12 | 17 | |
13 | 18 | #include "emu.h" |
r241466 | r241467 | |
17 | 22 | #include "sound/discrete.h" |
18 | 23 | |
19 | 24 | |
20 | | |
21 | | |
22 | | |
23 | | |
24 | | |
25 | 25 | void videopin_state::update_plunger() |
26 | 26 | { |
27 | 27 | UINT8 val = ioport("IN2")->read(); |
r241466 | r241467 | |
235 | 235 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
236 | 236 | |
237 | 237 | PORT_START("DSW") /* IN1 */ |
238 | | PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Coinage ) ) |
| 238 | PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW:8,7") |
239 | 239 | PORT_DIPSETTING( 0xc0, DEF_STR( 2C_1C ) ) |
240 | 240 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_1C ) ) |
241 | 241 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_2C ) ) |
242 | 242 | PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) ) |
243 | | PORT_DIPNAME( 0x30, 0x00, DEF_STR( Language ) ) |
| 243 | PORT_DIPNAME( 0x30, 0x00, DEF_STR( Language ) ) PORT_DIPLOCATION("DSW:6,5") |
244 | 244 | PORT_DIPSETTING( 0x00, DEF_STR( English ) ) |
245 | 245 | PORT_DIPSETTING( 0x10, DEF_STR( German ) ) |
246 | 246 | PORT_DIPSETTING( 0x20, DEF_STR( French ) ) |
247 | 247 | PORT_DIPSETTING( 0x30, DEF_STR( Spanish ) ) |
248 | | PORT_DIPNAME( 0x08, 0x08, "Balls" ) |
| 248 | PORT_DIPNAME( 0x08, 0x08, "Balls" ) PORT_DIPLOCATION("DSW:4") |
249 | 249 | PORT_DIPSETTING( 0x08, "3" ) |
250 | 250 | PORT_DIPSETTING( 0x00, "5" ) |
251 | | PORT_DIPNAME( 0x04, 0x00, "Replay" ) |
| 251 | PORT_DIPNAME( 0x04, 0x00, "Replay" ) PORT_DIPLOCATION("DSW:3") |
252 | 252 | PORT_DIPSETTING( 0x04, "Off (award 80000 points instead)" ) |
253 | 253 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
254 | | PORT_DIPNAME( 0x02, 0x00, "Extra Ball" ) |
| 254 | PORT_DIPNAME( 0x02, 0x00, "Extra Ball" ) PORT_DIPLOCATION("DSW:2") |
255 | 255 | PORT_DIPSETTING( 0x02, "Off (award 50000 points instead)" ) |
256 | 256 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
257 | | PORT_DIPNAME( 0x01, 0x01, "Replay Level" ) |
| 257 | PORT_DIPNAME( 0x01, 0x01, "Replay Level" ) PORT_DIPLOCATION("DSW:1") |
258 | 258 | PORT_DIPSETTING( 0x00, "180000 (3 balls) / 300000 (5 balls)" ) |
259 | 259 | PORT_DIPSETTING( 0x01, "210000 (3 balls) / 350000 (5 balls)" ) |
260 | 260 | |
r241466 | r241467 | |
272 | 272 | PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("Ball Shooter") PORT_CODE(KEYCODE_DOWN) |
273 | 273 | INPUT_PORTS_END |
274 | 274 | |
| 275 | static INPUT_PORTS_START( solarwar ) |
| 276 | PORT_INCLUDE( videopin ) |
| 277 | PORT_MODIFY("DSW") |
| 278 | PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW:8,7") |
| 279 | PORT_DIPSETTING( 0xc0, DEF_STR( 2C_1C ) ) |
| 280 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_1C ) ) |
| 281 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_2C ) ) |
| 282 | PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) ) |
| 283 | PORT_DIPUNKNOWN_DIPLOC( 0x30, 0x30, "DSW:6,5" ) |
| 284 | PORT_DIPNAME( 0x01, 0x01, "Replay Level" ) PORT_DIPLOCATION("DSW:1") |
| 285 | PORT_DIPSETTING( 0x00, "180000 (3 balls) / 300000 (5 balls)" ) |
| 286 | PORT_DIPSETTING( 0x01, "300000 (3 balls) / 500000 (5 balls)" ) |
| 287 | INPUT_PORTS_END |
275 | 288 | |
276 | 289 | |
277 | 290 | /************************************* |
r241466 | r241467 | |
395 | 408 | ROM_LOAD( "9402-01.h4", 0x0000, 0x0100, CRC(b8094b4c) SHA1(82dc6799a19984f3b204ee3aeeb007e55afc8be3) ) /* sync */ |
396 | 409 | ROM_END |
397 | 410 | |
| 411 | ROM_START( solarwar ) |
| 412 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 413 | ROM_LOAD_NIB_LOW ( "36159-01.e0", 0x2000, 0x0400, CRC(0db9f0fc) SHA1(191429a25b43727694f75c0ae9cbff705fbc4d77) ) |
| 414 | ROM_LOAD_NIB_HIGH( "36154-01.k0", 0x2000, 0x0400, CRC(64629efc) SHA1(4da3870c35e693ed334502ea17ae023a0073ff85) ) |
| 415 | ROM_LOAD_NIB_LOW ( "36160-01.d0", 0x2400, 0x0400, CRC(63a25dee) SHA1(cff0f1c4d381eb99a30f2fe09ff6f42ca994a19f) ) |
| 416 | ROM_LOAD_NIB_HIGH( "36155-01.j0", 0x2400, 0x0400, CRC(5fa64f47) SHA1(64e37380be0df761ba81c516592fef87bba30b91) ) |
| 417 | ROM_LOAD_NIB_LOW ( "36167-01.h1", 0x2800, 0x0400, CRC(5a85bca8) SHA1(7af9895c2e567d569ed60305fa1245081e346fc1) ) |
| 418 | ROM_LOAD_NIB_HIGH( "36166-01.h1", 0x2800, 0x0400, CRC(6ce095a6) SHA1(e3bb534487d3cd0cecccff47c0742de8f951b46c) ) |
| 419 | ROM_LOAD_NIB_LOW ( "36161-01.c0", 0x2c00, 0x0400, CRC(a9e2e08f) SHA1(5539a86d4fb69735182762e21cf3cc26d16eff80) ) |
| 420 | ROM_LOAD_NIB_HIGH( "36157-01.h0", 0x2c00, 0x0400, CRC(30b6eb18) SHA1(ae819dd97c6a7e26981731e7706cbfa3699b6a0b) ) |
| 421 | ROM_LOAD_NIB_LOW ( "36169-01.e1", 0x3000, 0x0400, CRC(f702127c) SHA1(7fb83c616671e4ea9697282a04662ec035d5d8ed) ) |
| 422 | ROM_LOAD_NIB_HIGH( "36164-01.k1", 0x3000, 0x0400, CRC(3dcded96) SHA1(eacdf017b08a7c3305fd79430fbbf07292d0cfa0) ) |
| 423 | ROM_LOAD_NIB_LOW ( "36163-02.a0", 0x3400, 0x0400, CRC(3e176619) SHA1(9b6a9a5fa02b1d87bdaa43fad8971ff3317b132d) ) |
| 424 | ROM_LOAD_NIB_HIGH( "36156-02.h0", 0x3400, 0x0400, CRC(e51363fb) SHA1(c01b263dfd6d448a18ff855a93aa4e48afc6d725) ) |
| 425 | ROM_LOAD_NIB_LOW ( "36168-01.f1", 0x3800, 0x0400, CRC(5ccbcf7e) SHA1(10f8932265abe6e62e9f243c653d7fad770a2ff5) ) |
| 426 | ROM_LOAD_NIB_HIGH( "36165-01.j1", 0x3800, 0x0400, CRC(e2ee4f7d) SHA1(be2f602a5bcfe404509ac8d6914a03213573b0a6) ) |
| 427 | ROM_LOAD_NIB_LOW ( "36162-02.b0", 0x3c00, 0x0400, CRC(cec1baaa) SHA1(15c130b01a7b8b9aa07e01f7c84c4c26494f39d8) ) |
| 428 | ROM_RELOAD( 0xfc00, 0x0400 ) |
| 429 | ROM_LOAD_NIB_HIGH( "36158-02.f0", 0x3c00, 0x0400, CRC(2606b87e) SHA1(ea72e36837eccf29cd5c82fe9a6a018a1a94730c) ) |
| 430 | ROM_RELOAD( 0xfc00, 0x0400 ) |
398 | 431 | |
| 432 | ROM_REGION( 0x0200, "gfx1", 0 ) /* tiles */ |
| 433 | ROM_LOAD_NIB_LOW ( "34259-01.d5", 0x0000, 0x0200, CRC(6cd98c06) SHA1(48bf077b7abbd2f529a19bdf85700b93014f39f9) ) |
| 434 | ROM_LOAD_NIB_HIGH( "34258-01.c5", 0x0000, 0x0200, CRC(91a5f117) SHA1(03ac6b0b3da0ed5faf1ba6695d16918d12ceeff5) ) |
399 | 435 | |
| 436 | ROM_REGION( 0x0020, "gfx2", 0 ) /* ball */ |
| 437 | ROM_LOAD( "34257-01.m1", 0x0000, 0x0020, CRC(50245866) SHA1(b0692bc8d44f127f6e7182a1ce75a785e22ac5b9) ) |
| 438 | |
| 439 | ROM_REGION( 0x0100, "proms", 0 ) |
| 440 | ROM_LOAD( "9402-01.h4", 0x0000, 0x0100, CRC(b8094b4c) SHA1(82dc6799a19984f3b204ee3aeeb007e55afc8be3) ) /* sync */ |
| 441 | ROM_END |
| 442 | |
| 443 | |
400 | 444 | /************************************* |
401 | 445 | * |
402 | 446 | * Game drivers |
r241466 | r241467 | |
404 | 448 | *************************************/ |
405 | 449 | |
406 | 450 | GAMEL( 1979, videopin, 0, videopin, videopin, driver_device, 0, ROT270, "Atari", "Video Pinball", 0, layout_videopin ) |
| 451 | GAMEL( 1979, solarwar, 0, videopin, solarwar, driver_device, 0, ROT270, "Atari", "Solar War", 0, layout_videopin ) |
trunk/src/mame/drivers/xain.c
r241466 | r241467 | |
729 | 729 | ROM_LOAD( "pt-0.ic59", 0x00000, 0x0100, CRC(fed32888) SHA1(4e9330456b20f7198c1e27ca1ae7200f25595599) ) /* BPROM type MB7114E Priority (not used) */ |
730 | 730 | ROM_END |
731 | 731 | |
732 | | ROM_START( solarwar ) |
| 732 | ROM_START( solrwarr ) |
733 | 733 | ROM_REGION( 0x14000, "maincpu", 0 ) |
734 | 734 | ROM_LOAD( "p9-02.ic66", 0x08000, 0x8000, CRC(8ff372a8) SHA1(0fc396e662419fb9cb5bea11748aa8e0e8d072e6) ) |
735 | 735 | ROM_LOAD( "pa-03.ic65", 0x04000, 0x4000, CRC(154f946f) SHA1(25b776eb9c494e5302795ae79e494cbfc7c104b1) ) |
r241466 | r241467 | |
837 | 837 | |
838 | 838 | GAME( 1986, xsleena, 0, xsleena, xsleena, driver_device, 0, ROT0, "Technos Japan (Taito license)", "Xain'd Sleena (World)", 0 ) |
839 | 839 | GAME( 1986, xsleenaj, xsleena, xsleena, xsleena, driver_device, 0, ROT0, "Technos Japan", "Xain'd Sleena (Japan)", 0 ) |
840 | | GAME( 1986, solarwar, xsleena, xsleena, xsleena, driver_device, 0, ROT0, "Technos Japan (Taito / Memetron license)", "Solar-Warrior (US)", 0 ) |
| 840 | GAME( 1986, solrwarr, xsleena, xsleena, xsleena, driver_device, 0, ROT0, "Technos Japan (Taito / Memetron license)", "Solar-Warrior (US)", 0 ) |
841 | 841 | GAME( 1986, xsleenab, xsleena, xsleenab, xsleena, driver_device, 0, ROT0, "bootleg", "Xain'd Sleena (bootleg)", 0 ) |