trunk/src/mame/drivers/asteroid.c
| r31307 | r31308 | |
| 227 | 227 | { |
| 228 | 228 | "lamp0", "lamp1", "lamp2", "lamp3", "lamp4" |
| 229 | 229 | }; |
| 230 | | int i; |
| 231 | 230 | |
| 232 | | for (i = 0; i < 5; i++) |
| 231 | for (int i = 0; i < 5; i++) |
| 233 | 232 | output_set_value(lampname[i], (data >> (4 - i)) & 1); |
| 234 | 233 | } |
| 235 | 234 | |
| r31307 | r31308 | |
| 395 | 394 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_SPACE) PORT_CODE(JOYCODE_BUTTON3) /* hyperspace */ |
| 396 | 395 | INPUT_PORTS_END |
| 397 | 396 | |
| 397 | |
| 398 | 398 | static INPUT_PORTS_START( aerolitos ) |
| 399 | 399 | PORT_INCLUDE( asteroid ) |
| 400 | 400 | |
| r31307 | r31308 | |
| 404 | 404 | PORT_DIPSETTING ( 0x01, DEF_STR( German ) ) |
| 405 | 405 | PORT_DIPSETTING ( 0x02, DEF_STR( French ) ) |
| 406 | 406 | PORT_DIPSETTING ( 0x03, DEF_STR( Spanish ) ) |
| 407 | | |
| 408 | 407 | INPUT_PORTS_END |
| 409 | 408 | |
| 410 | 409 | |
| r31307 | r31308 | |
| 607 | 606 | INPUT_PORTS_END |
| 608 | 607 | |
| 609 | 608 | |
| 609 | static INPUT_PORTS_START( llandert ) |
| 610 | PORT_START("IN0") |
| 611 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 612 | |
| 613 | PORT_START("IN1") |
| 614 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 615 | |
| 616 | PORT_START("DSW1") |
| 617 | PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x00, "P8:1" ) // lock up |
| 618 | PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x00, "P8:2" ) // lock up |
| 619 | PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x00, "P8:4" ) // lock up |
| 620 | PORT_DIPNAME( 0x24, 0x00, "Parameter 1" ) PORT_DIPLOCATION("P8:3,6") |
| 621 | PORT_DIPSETTING ( 0x00, "0" ) |
| 622 | PORT_DIPSETTING ( 0x04, "1" ) |
| 623 | PORT_DIPSETTING ( 0x20, "2" ) |
| 624 | PORT_DIPSETTING ( 0x24, "Invalid" ) |
| 625 | PORT_DIPNAME( 0xd0, 0x40, "Parameter 2" ) PORT_DIPLOCATION("P8:5,7,8") |
| 626 | PORT_DIPSETTING ( 0x00, "0" ) |
| 627 | PORT_DIPSETTING ( 0x40, "1" ) |
| 628 | PORT_DIPSETTING ( 0x80, "2" ) |
| 629 | PORT_DIPSETTING ( 0xc0, "3" ) |
| 630 | PORT_DIPSETTING ( 0x10, "4" ) |
| 631 | PORT_DIPSETTING ( 0x50, "5" ) |
| 632 | PORT_DIPSETTING ( 0x90, "6" ) |
| 633 | PORT_DIPSETTING ( 0xd0, "7" ) |
| 634 | |
| 635 | PORT_START("THRUST") |
| 636 | PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 637 | INPUT_PORTS_END |
| 638 | |
| 639 | |
| 610 | 640 | /************************************* |
| 611 | 641 | * |
| 612 | 642 | * Machine drivers |
| r31307 | r31308 | |
| 954 | 984 | ROM_LOAD( "034602-01.c8", 0x0000, 0x0100, CRC(97953db8) SHA1(8cbded64d1dd35b18c4d5cece00f77e7b2cab2ad) ) |
| 955 | 985 | ROM_END |
| 956 | 986 | |
| 987 | ROM_START( llandert ) |
| 988 | ROM_REGION( 0x8000, "maincpu", 0 ) |
| 989 | ROM_LOAD( "llprom0.de1", 0x6800, 0x0800, CRC(b5302947) SHA1(622245053682b838762b4eb04be5d4bbed5e78ef) ) |
| 990 | ROM_LOAD( "llprom1.c1", 0x7000, 0x0800, CRC(761a5b45) SHA1(dde08ef856caed4b017bfbb8e3f3260747c0a1e5) ) |
| 991 | ROM_LOAD( "llprom2.b1", 0x7800, 0x0800, CRC(9ec62656) SHA1(2247fd187d0aa7305d7326722c99578ad20718fa) ) |
| 957 | 992 | |
| 993 | /* Vector ROM */ |
| 994 | ROM_LOAD( "llvrom0.r3", 0x4800, 0x0800, CRC(c307b42a) SHA1(6872c7671f4ab314962892b3cf93cc9d6c380ee2) ) // unused |
| 995 | ROM_LOAD( "llvrom1.np3", 0x5000, 0x0800, CRC(ace6b2be) SHA1(afdf4e6fc4be23197977e67c04b9baf9597756a0) ) // unused |
| 996 | ROM_LOAD( "llvrom2.m3", 0x5800, 0x0800, CRC(56c38219) SHA1(714878c0b24c9657c972a2ba25e790a4d3b81d64) ) // unused, filled with garbage? (it is not the language rom) |
| 958 | 997 | |
| 998 | /* DVG PROM */ |
| 999 | ROM_REGION( 0x100, "user1", 0 ) |
| 1000 | ROM_LOAD( "034602-01.c8", 0x0000, 0x0100, CRC(97953db8) SHA1(8cbded64d1dd35b18c4d5cece00f77e7b2cab2ad) ) // taken from parent |
| 1001 | ROM_END |
| 1002 | |
| 1003 | |
| 1004 | |
| 959 | 1005 | /************************************* |
| 960 | 1006 | * |
| 961 | 1007 | * Driver initialization |
| r31307 | r31308 | |
| 999 | 1045 | |
| 1000 | 1046 | GAME( 1979, llander, 0, llander, llander, driver_device, 0, ROT0, "Atari", "Lunar Lander (rev 2)", GAME_SUPPORTS_SAVE ) |
| 1001 | 1047 | GAME( 1979, llander1, llander, llander, llander1, driver_device, 0, ROT0, "Atari", "Lunar Lander (rev 1)", GAME_SUPPORTS_SAVE ) |
| 1048 | GAME( 1979, llandert, llander, llander, llandert, driver_device, 0, ROT0, "Atari", "Lunar Lander (screen test)", GAME_SUPPORTS_SAVE ) // no copyright shown, assume it's an in-house diagnostics romset (PCB came from a seller that has had Atari prototypes in his possession before) |