src/mame/drivers/junofrst.c
| r14242 | r14243 | |
| 334 | 334 | KONAMI8_COCKTAIL_B213_UNK |
| 335 | 335 | |
| 336 | 336 | PORT_START("DSW1") |
| 337 | | KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B") |
| 337 | KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1) |
| 338 | 338 | /* "No Coin B" = coins produce sound, but no effect on coin counter */ |
| 339 | 339 | |
| 340 | 340 | PORT_START("DSW2") |
| 341 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) |
| 341 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2") |
| 342 | 342 | PORT_DIPSETTING( 0x03, "3" ) |
| 343 | 343 | PORT_DIPSETTING( 0x02, "4" ) |
| 344 | 344 | PORT_DIPSETTING( 0x01, "5" ) |
| 345 | 345 | PORT_DIPSETTING( 0x00, "256 (Cheat)") |
| 346 | | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) |
| 346 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:3") |
| 347 | 347 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) |
| 348 | 348 | PORT_DIPSETTING( 0x04, DEF_STR( Cocktail ) ) |
| 349 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) |
| 350 | | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 351 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 352 | | PORT_DIPNAME( 0x70, 0x70, DEF_STR( Difficulty ) ) |
| 349 | PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW2:4" ) |
| 350 | PORT_DIPNAME( 0x70, 0x70, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6,7") |
| 353 | 351 | PORT_DIPSETTING( 0x70, "1 (Easiest)" ) |
| 354 | 352 | PORT_DIPSETTING( 0x60, "2" ) |
| 355 | 353 | PORT_DIPSETTING( 0x50, "3" ) |
| r14242 | r14243 | |
| 358 | 356 | PORT_DIPSETTING( 0x20, "6" ) |
| 359 | 357 | PORT_DIPSETTING( 0x10, "7" ) |
| 360 | 358 | PORT_DIPSETTING( 0x00, "8 (Hardest)" ) |
| 361 | | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) |
| 359 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8") |
| 362 | 360 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 363 | 361 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 364 | 362 | INPUT_PORTS_END |
src/mame/drivers/igs_m027.c
| r14242 | r14243 | |
| 30 | 30 | UINT32 *m_igs_cg_videoram; |
| 31 | 31 | UINT32 *m_igs_tx_videoram; |
| 32 | 32 | UINT32 *m_igs_bg_videoram; |
| 33 | | UINT32 *m_igs_pallete32; |
| 33 | UINT32 *m_igs_palette32; |
| 34 | 34 | tilemap_t *m_igs_tx_tilemap; |
| 35 | 35 | tilemap_t *m_igs_bg_tilemap; |
| 36 | 36 | }; |
| r14242 | r14243 | |
| 42 | 42 | Video |
| 43 | 43 | |
| 44 | 44 | 0x38001000, 0x380017ff CG_CONTROL,8 byte per object, 0x100 in total |
| 45 | | 0x38001800, 0x380019ff PALLETE RAM,2 byte per color, 0x100 in total |
| 45 | 0x38001800, 0x380019ff PALETTE RAM,2 byte per color, 0x100 in total |
| 46 | 46 | 0x38004000, 0x38005FFF TX Video RAM????????1E00??????512x240?????? |
| 47 | 47 | 0x38006000, 0x38007FFF BG Video RAM????????1E00??????512x240?????? |
| 48 | 48 | |
| r14242 | r14243 | |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | |
| 141 | | /* Pallete Layer */ |
| 142 | | static WRITE32_HANDLER( igs_pallete32_w ) |
| 141 | /* Palette Layer */ |
| 142 | static WRITE32_HANDLER( igs_palette32_w ) |
| 143 | 143 | { |
| 144 | 144 | igs_m027_state *state = space->machine().driver_data<igs_m027_state>(); |
| 145 | | space->machine().generic.paletteram.u16=(UINT16 *)state->m_igs_pallete32; |
| 146 | | COMBINE_DATA(&state->m_igs_pallete32[offset]); |
| 145 | space->machine().generic.paletteram.u16=(UINT16 *)state->m_igs_palette32; |
| 146 | COMBINE_DATA(&state->m_igs_palette32[offset]); |
| 147 | 147 | //paletteram16_xGGGGGRRRRRBBBBB_word_w(offset*2,space->machine().generic.paletteram.u16[offset*2],0); |
| 148 | 148 | //paletteram16_xGGGGGRRRRRBBBBB_word_w(offset*2+1,space->machine().generic.paletteram.u16[offset*2+1],0); |
| 149 | 149 | //if(data!=0) |
| 150 | | //fprintf(stdout,"PALLETE RAM OFFSET %x ,data %x!\n",offset ,state->m_igs_pallete32[offset]); |
| 150 | //fprintf(stdout,"PALETTE RAM OFFSET %x ,data %x!\n",offset ,state->m_igs_palette32[offset]); |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | |
| r14242 | r14243 | |
| 197 | 197 | AM_RANGE(0x10000000, 0x100003ff) AM_RAM AM_BASE_MEMBER(igs_m027_state, m_igs_mainram)// main ram for asic? |
| 198 | 198 | AM_RANGE(0x18000000, 0x18007fff) AM_RAM |
| 199 | 199 | |
| 200 | | AM_RANGE(0x38001000, 0x380017ff) AM_RAM_WRITE(igs_cg_videoram_w) AM_BASE_MEMBER(igs_m027_state, m_igs_cg_videoram) //0x200 * 1 CG PALLETE? |
| 201 | | AM_RANGE(0x38001800, 0x38001fff) AM_RAM_WRITE(igs_pallete32_w) AM_BASE_MEMBER(igs_m027_state, m_igs_pallete32) //0x200 * 1 |
| 200 | AM_RANGE(0x38001000, 0x380017ff) AM_RAM_WRITE(igs_cg_videoram_w) AM_BASE_MEMBER(igs_m027_state, m_igs_cg_videoram) //0x200 * 1 CG PALETTE? |
| 201 | AM_RANGE(0x38001800, 0x38001fff) AM_RAM_WRITE(igs_palette32_w) AM_BASE_MEMBER(igs_m027_state, m_igs_palette32) //0x200 * 1 |
| 202 | 202 | |
| 203 | 203 | AM_RANGE(0x38004000, 0x38005FFF) AM_RAM_WRITE(igs_tx_videoram_w) AM_BASE_MEMBER(igs_m027_state, m_igs_tx_videoram) /* Text Layer */ |
| 204 | 204 | AM_RANGE(0x38006000, 0x38007FFF) AM_RAM_WRITE(igs_bg_videoram_w) AM_BASE_MEMBER(igs_m027_state, m_igs_bg_videoram) /* CG Layer */ |
src/mame/drivers/baraduke.c
| r14242 | r14243 | |
| 100 | 100 | |
| 101 | 101 | DIP locations verified for: |
| 102 | 102 | -------------------------- |
| 103 | | - metrocrs (manual) |
| 103 | - baraduke (manual JP) |
| 104 | - metrocrs (manual US, JP) |
| 104 | 105 | |
| 105 | 106 | ***************************************************************************/ |
| 106 | 107 | |
| r14242 | r14243 | |
| 231 | 232 | |
| 232 | 233 | PORT_START("DSWB") |
| 233 | 234 | PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SWB:1,2") |
| 234 | | PORT_DIPSETTING( 0x80, "Every 10k" ) |
| 235 | | PORT_DIPSETTING( 0xc0, "10k And Every 20k" ) |
| 236 | | PORT_DIPSETTING( 0x40, "Every 20k" ) |
| 237 | | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) |
| 235 | PORT_DIPSETTING( 0x80, "Every 10k" ) // "B" |
| 236 | PORT_DIPSETTING( 0xc0, "10k And Every 20k" ) // "A" (default) |
| 237 | PORT_DIPSETTING( 0x40, "Every 20k" ) // "C" |
| 238 | PORT_DIPSETTING( 0x00, DEF_STR( None ) ) // "D" |
| 238 | 239 | PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SWB:3,4") |
| 239 | | PORT_DIPSETTING( 0x20, DEF_STR( Easy ) ) |
| 240 | | PORT_DIPSETTING( 0x30, DEF_STR( Normal ) ) |
| 241 | | PORT_DIPSETTING( 0x10, DEF_STR( Hard ) ) |
| 242 | | PORT_DIPSETTING( 0x00, DEF_STR( Very_Hard ) ) |
| 240 | PORT_DIPSETTING( 0x20, DEF_STR( Easy ) ) // "B" |
| 241 | PORT_DIPSETTING( 0x30, DEF_STR( Normal ) ) // "A" (default) |
| 242 | PORT_DIPSETTING( 0x10, DEF_STR( Hard ) ) // "C" |
| 243 | PORT_DIPSETTING( 0x00, DEF_STR( Very_Hard ) ) // "D" |
| 243 | 244 | /* To advance rounds: set SWB:5 to ON, coin up game and push 1P start. |
| 244 | 245 | Use joystick to select round 1 - 48. Set SWB:5 to OFF to play selected round. */ |
| 245 | 246 | PORT_DIPNAME( 0x08, 0x08, "Round Select" ) PORT_DIPLOCATION("SWB:5") |
| r14242 | r14243 | |
| 297 | 298 | PORT_DIPSETTING( 0x60, DEF_STR( 1C_1C ) ) |
| 298 | 299 | PORT_DIPSETTING( 0x40, DEF_STR( 1C_2C ) ) |
| 299 | 300 | PORT_DIPNAME( 0x18, 0x18, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SWA:4,5") |
| 300 | | PORT_DIPSETTING( 0x10, DEF_STR( Easy ) ) |
| 301 | | PORT_DIPSETTING( 0x18, DEF_STR( Normal ) ) |
| 302 | | PORT_DIPSETTING( 0x08, DEF_STR( Hard ) ) |
| 303 | | PORT_DIPSETTING( 0x00, DEF_STR( Very_Hard ) ) |
| 304 | | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SWA:6") |
| 301 | PORT_DIPSETTING( 0x10, DEF_STR( Easy ) ) // "B" |
| 302 | PORT_DIPSETTING( 0x18, DEF_STR( Normal ) ) // "A" (default) |
| 303 | PORT_DIPSETTING( 0x08, DEF_STR( Hard ) ) // "C" |
| 304 | PORT_DIPSETTING( 0x00, DEF_STR( Very_Hard ) ) // "D" |
| 305 | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SWA:6") // metrocrs: after round 8, metrocrsa: after round 4 |
| 305 | 306 | PORT_DIPSETTING( 0x00, DEF_STR( No ) ) |
| 306 | 307 | PORT_DIPSETTING( 0x04, DEF_STR( Yes ) ) |
| 307 | 308 | |
src/mame/drivers/dcheese.c
| r14242 | r14243 | |
| 591 | 591 | ROM_RELOAD( 0x380000, 0x80000 ) |
| 592 | 592 | |
| 593 | 593 | ROM_REGION16_LE( 0x20000, "user1", 0 ) |
| 594 | | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Pallette - 0 at U144 */ |
| 595 | | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Pallette - 1 at U145 */ |
| 594 | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Palette - 0 at U144 */ |
| 595 | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Palette - 1 at U145 */ |
| 596 | 596 | |
| 597 | 597 | ROM_REGION( 0x100, "user2", 0 ) |
| 598 | 598 | ROM_LOAD16_BYTE( "93c46.u158", 0x00000, 0x0080, CRC(a40a7b87) SHA1(3632b7538b3bf41ee0cbe7541a0f5951f70b4a9b) ) /* EEPROM data at U158 */ |
| r14242 | r14243 | |
| 624 | 624 | ROM_RELOAD( 0x380000, 0x80000 ) |
| 625 | 625 | |
| 626 | 626 | ROM_REGION16_LE( 0x20000, "user1", 0 ) |
| 627 | | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Pallette - 0 at U144 */ |
| 628 | | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Pallette - 1 at U145 */ |
| 627 | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Palette - 0 at U144 */ |
| 628 | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Palette - 1 at U145 */ |
| 629 | 629 | |
| 630 | 630 | ROM_REGION( 0x100, "user2", 0 ) |
| 631 | 631 | ROM_LOAD16_BYTE( "93c46.u158", 0x00000, 0x0080, CRC(a40a7b87) SHA1(3632b7538b3bf41ee0cbe7541a0f5951f70b4a9b) ) /* EEPROM data at U158 */ |
| r14242 | r14243 | |
| 656 | 656 | ROM_RELOAD( 0x380000, 0x80000 ) |
| 657 | 657 | |
| 658 | 658 | ROM_REGION16_LE( 0x20000, "user1", 0 ) |
| 659 | | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Pallette - 0 at U144 */ |
| 660 | | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Pallette - 1 at U145 */ |
| 659 | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Palette - 0 at U144 */ |
| 660 | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Palette - 1 at U145 */ |
| 661 | 661 | |
| 662 | 662 | ROM_REGION( 0x100, "user2", 0 ) |
| 663 | 663 | ROM_LOAD16_BYTE( "93c46.u158", 0x00000, 0x0080, CRC(a40a7b87) SHA1(3632b7538b3bf41ee0cbe7541a0f5951f70b4a9b) ) /* EEPROM data at U158 */ |
| r14242 | r14243 | |
| 689 | 689 | ROM_RELOAD( 0x380000, 0x80000 ) |
| 690 | 690 | |
| 691 | 691 | ROM_REGION16_LE( 0x20000, "user1", 0 ) |
| 692 | | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Pallette - 0 at U144 */ |
| 693 | | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Pallette - 1 at U145 */ |
| 692 | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Palette - 0 at U144 */ |
| 693 | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Palette - 1 at U145 */ |
| 694 | 694 | |
| 695 | 695 | ROM_REGION( 0x100, "user2", 0 ) |
| 696 | 696 | ROM_LOAD16_BYTE( "93c46.u158", 0x00000, 0x0080, CRC(a40a7b87) SHA1(3632b7538b3bf41ee0cbe7541a0f5951f70b4a9b) ) /* EEPROM data at U158 */ |
| r14242 | r14243 | |
| 721 | 721 | ROM_RELOAD( 0x380000, 0x80000 ) |
| 722 | 722 | |
| 723 | 723 | ROM_REGION16_LE( 0x20000, "user1", 0 ) |
| 724 | | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Pallette - 0 at U144 */ |
| 725 | | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Pallette - 1 at U145 */ |
| 724 | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Palette - 0 at U144 */ |
| 725 | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Palette - 1 at U145 */ |
| 726 | 726 | |
| 727 | 727 | ROM_REGION( 0x100, "user2", 0 ) |
| 728 | 728 | ROM_LOAD16_BYTE( "93c46.u158", 0x00000, 0x0080, CRC(a40a7b87) SHA1(3632b7538b3bf41ee0cbe7541a0f5951f70b4a9b) ) /* EEPROM data at U158 */ |
| r14242 | r14243 | |
| 753 | 753 | ROM_RELOAD( 0x380000, 0x80000 ) |
| 754 | 754 | |
| 755 | 755 | ROM_REGION16_LE( 0x20000, "user1", 0 ) |
| 756 | | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Pallette - 0 at U144 */ |
| 757 | | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Pallette - 1 at U145 */ |
| 756 | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(793c4bda) SHA1(5a8a2981b48922f4d9e617a9bf9ef6a47ab702b7) ) /* Palette - 0 at U144 */ |
| 757 | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(fe2c3521) SHA1(896e53427c7831620ca565be9c0b76aabc36b9f4) ) /* Palette - 1 at U145 */ |
| 758 | 758 | |
| 759 | 759 | ROM_REGION( 0x100, "user2", 0 ) |
| 760 | 760 | ROM_LOAD16_BYTE( "93c46.u158", 0x00000, 0x0080, CRC(a40a7b87) SHA1(3632b7538b3bf41ee0cbe7541a0f5951f70b4a9b) ) /* EEPROM data at U158 */ |
| r14242 | r14243 | |
| 794 | 794 | ROM_RELOAD( 0x3c0000, 0x40000 ) |
| 795 | 795 | |
| 796 | 796 | ROM_REGION16_LE( 0x20000, "user1", 0 ) |
| 797 | | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(69b3cc85) SHA1(05f7204ac961274b5d2f42cc6c0d06e5fa146aef)) /* Pallette - 0 at U144 */ |
| 798 | | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(e64a8511) SHA1(0e3a1fe936c841b8acfb150bf63e564b1dec2363) ) /* Pallette - 1 at U145 */ |
| 797 | ROM_LOAD16_BYTE( "0.144", 0x00000, 0x10000, CRC(69b3cc85) SHA1(05f7204ac961274b5d2f42cc6c0d06e5fa146aef)) /* Palette - 0 at U144 */ |
| 798 | ROM_LOAD16_BYTE( "1.145", 0x00001, 0x10000, CRC(e64a8511) SHA1(0e3a1fe936c841b8acfb150bf63e564b1dec2363) ) /* Palette - 1 at U145 */ |
| 799 | 799 | ROM_END |
| 800 | 800 | |
| 801 | 801 | |
src/mame/drivers/hexion.c
| r14242 | r14243 | |
| 141 | 141 | |
| 142 | 142 | static INPUT_PORTS_START( hexion ) |
| 143 | 143 | PORT_START("DSW1") |
| 144 | | KONAMI_COINAGE(DEF_STR( Free_Play ), DEF_STR( Free_Play )) |
| 144 | KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( Free_Play ), SW1) |
| 145 | 145 | |
| 146 | 146 | PORT_START("DSW2") |
| 147 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) |
| 148 | | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 149 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 150 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) |
| 151 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 152 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 153 | | PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) |
| 154 | | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 155 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 156 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) |
| 157 | | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 158 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 159 | | PORT_DIPNAME( 0x70, 0x70, DEF_STR( Difficulty ) ) |
| 160 | | PORT_DIPSETTING( 0x70, DEF_STR( Easiest ) ) |
| 161 | | PORT_DIPSETTING( 0x60, DEF_STR( Very_Easy) ) |
| 162 | | PORT_DIPSETTING( 0x50, DEF_STR( Easy ) ) |
| 163 | | PORT_DIPSETTING( 0x40, DEF_STR( Medium ) ) |
| 164 | | PORT_DIPSETTING( 0x30, DEF_STR( Medium_Hard ) ) |
| 165 | | PORT_DIPSETTING( 0x20, DEF_STR( Hard ) ) |
| 166 | | PORT_DIPSETTING( 0x10, DEF_STR( Very_Hard ) ) |
| 167 | | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 168 | | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) |
| 169 | | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 170 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 147 | PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 148 | PORT_DIPNAME( 0x70, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6,7") |
| 149 | PORT_DIPSETTING( 0x70, DEF_STR( Easiest ) ) // "1" |
| 150 | PORT_DIPSETTING( 0x60, DEF_STR( Very_Easy) ) // "2" |
| 151 | PORT_DIPSETTING( 0x50, DEF_STR( Easy ) ) // "3" |
| 152 | PORT_DIPSETTING( 0x40, DEF_STR( Medium ) ) // "4" |
| 153 | PORT_DIPSETTING( 0x30, DEF_STR( Medium_Hard ) ) // "5" |
| 154 | PORT_DIPSETTING( 0x20, DEF_STR( Hard ) ) // "6" |
| 155 | PORT_DIPSETTING( 0x10, DEF_STR( Very_Hard ) ) // "7" |
| 156 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) // "8" |
| 157 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8") |
| 158 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 159 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 171 | 160 | |
| 172 | 161 | PORT_START("DSW3") |
| 173 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) |
| 162 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW3:1") |
| 174 | 163 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 175 | 164 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 176 | | PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) |
| 177 | | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 178 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 179 | | PORT_SERVICE( 0x04, IP_ACTIVE_LOW ) |
| 180 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) |
| 181 | | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 182 | | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 183 | | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 165 | PORT_BIT( 0xfa, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 166 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" ) |
| 184 | 167 | |
| 185 | 168 | PORT_START("P1") |
| 186 | 169 | KONAMI8_B12_START(1) |
src/mame/drivers/battlnts.c
| r14242 | r14243 | |
| 131 | 131 | |
| 132 | 132 | PORT_START("P1") |
| 133 | 133 | KONAMI8_B1(1) |
| 134 | | PORT_DIPNAME( 0x80, 0x80, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW3:4") |
| 134 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW3:4") |
| 135 | 135 | PORT_DIPSETTING( 0x80, "3 Times" ) |
| 136 | 136 | PORT_DIPSETTING( 0x00, "5 Times" ) |
| 137 | 137 | |
| r14242 | r14243 | |
| 139 | 139 | KONAMI8_B1_UNK(2) |
| 140 | 140 | INPUT_PORTS_END |
| 141 | 141 | |
| 142 | | static INPUT_PORTS_START( thehustlj ) |
| 142 | static INPUT_PORTS_START( rackemup ) |
| 143 | 143 | PORT_INCLUDE( battlnts ) |
| 144 | 144 | |
| 145 | 145 | PORT_MODIFY("DSW2") |
| 146 | 146 | PORT_DIPNAME( 0x03, 0x02, "Balls" ) PORT_DIPLOCATION("SW2:1,2") |
| 147 | | PORT_DIPSETTING( 0x03, "1" ) |
| 148 | | PORT_DIPSETTING( 0x02, "2" ) |
| 149 | | PORT_DIPSETTING( 0x01, "3" ) |
| 150 | | PORT_DIPSETTING( 0x00, "6" ) |
| 151 | | PORT_DIPNAME( 0x18, 0x18, "Time To Aim" ) PORT_DIPLOCATION("SW2:4,5") |
| 147 | PORT_DIPSETTING( 0x03, "2" ) |
| 148 | PORT_DIPSETTING( 0x02, "3" ) |
| 149 | PORT_DIPSETTING( 0x01, "4" ) |
| 150 | PORT_DIPSETTING( 0x00, "7" ) |
| 151 | PORT_DIPNAME( 0x18, 0x10, "Time To Aim" ) PORT_DIPLOCATION("SW2:4,5") |
| 152 | 152 | PORT_DIPSETTING( 0x18, "25s (Stage 1: 30s)" ) |
| 153 | 153 | PORT_DIPSETTING( 0x10, "20s (Stage 1: 25s)" ) |
| 154 | 154 | PORT_DIPSETTING( 0x08, "17s (Stage 1: 22s)" ) |
| 155 | 155 | PORT_DIPSETTING( 0x00, "15s (Stage 1: 20s)" ) |
| 156 | 156 | |
| 157 | | PORT_MODIFY("DSW3") |
| 158 | | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW3:2" ) |
| 159 | | |
| 160 | 157 | PORT_MODIFY("P1") |
| 161 | 158 | KONAMI8_B12(1) |
| 162 | 159 | PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW3:4" ) |
| r14242 | r14243 | |
| 165 | 162 | KONAMI8_B12_UNK(2) |
| 166 | 163 | INPUT_PORTS_END |
| 167 | 164 | |
| 165 | static INPUT_PORTS_START( thehustl ) |
| 166 | PORT_INCLUDE( rackemup ) |
| 168 | 167 | |
| 168 | PORT_MODIFY("DSW3") |
| 169 | PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "SW3:2" ) |
| 170 | INPUT_PORTS_END |
| 171 | |
| 172 | |
| 169 | 173 | /************************************* |
| 170 | 174 | * |
| 171 | 175 | * Graphics definitions |
| r14242 | r14243 | |
| 414 | 418 | |
| 415 | 419 | GAME( 1987, battlnts, 0, battlnts, battlnts, 0, ROT90, "Konami", "Battlantis", GAME_SUPPORTS_SAVE ) |
| 416 | 420 | GAME( 1987, battlntsj, battlnts, battlnts, battlnts, 0, ROT90, "Konami", "Battlantis (Japan)", GAME_SUPPORTS_SAVE ) |
| 417 | | GAME( 1987, rackemup, 0, battlnts, thehustlj,rackemup, ROT90, "Konami", "Rack 'em Up", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 418 | | GAME( 1987, thehustl, rackemup, battlnts, thehustlj,0, ROT90, "Konami", "The Hustler (Japan version M)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 419 | | GAME( 1987, thehustlj, rackemup, battlnts, thehustlj,0, ROT90, "Konami", "The Hustler (Japan version J)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 421 | GAME( 1987, rackemup, 0, battlnts, rackemup, rackemup, ROT90, "Konami", "Rack 'em Up", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 422 | GAME( 1987, thehustl, rackemup, battlnts, thehustl, 0, ROT90, "Konami", "The Hustler (Japan version M)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
| 423 | GAME( 1987, thehustlj, rackemup, battlnts, thehustl, 0, ROT90, "Konami", "The Hustler (Japan version J)", GAME_NO_COCKTAIL | GAME_SUPPORTS_SAVE ) |
src/mame/drivers/ironhors.c
| r14242 | r14243 | |
| 67 | 67 | AM_RANGE(0x0060, 0x00df) AM_RAM |
| 68 | 68 | AM_RANGE(0x0800, 0x0800) AM_WRITE(soundlatch_w) |
| 69 | 69 | AM_RANGE(0x0900, 0x0900) AM_READ_PORT("DSW3") AM_WRITE(ironhors_sh_irqtrigger_w) |
| 70 | | AM_RANGE(0x0a00, 0x0a00) AM_READ_PORT("DSW1") AM_WRITE(ironhors_palettebank_w) |
| 71 | | AM_RANGE(0x0b00, 0x0b00) AM_READ_PORT("DSW2") AM_WRITE(ironhors_flipscreen_w) |
| 70 | AM_RANGE(0x0a00, 0x0a00) AM_READ_PORT("DSW2") AM_WRITE(ironhors_palettebank_w) |
| 71 | AM_RANGE(0x0b00, 0x0b00) AM_READ_PORT("DSW1") AM_WRITE(ironhors_flipscreen_w) |
| 72 | 72 | AM_RANGE(0x0b01, 0x0b01) AM_READ_PORT("P2") |
| 73 | 73 | AM_RANGE(0x0b02, 0x0b02) AM_READ_PORT("P1") |
| 74 | 74 | AM_RANGE(0x0b03, 0x0b03) AM_READ_PORT("SYSTEM") |
| r14242 | r14243 | |
| 106 | 106 | AM_RANGE(0x0060, 0x00ff) AM_RAM |
| 107 | 107 | AM_RANGE(0x0800, 0x0800) AM_WRITE(soundlatch_w) |
| 108 | 108 | AM_RANGE(0x0900, 0x0900) /*AM_READ_PORT("DSW3") */AM_WRITE(ironhors_sh_irqtrigger_w) |
| 109 | | AM_RANGE(0x0a00, 0x0a00) AM_READ_PORT("DSW1") //AM_WRITE(ironhors_palettebank_w) |
| 110 | | AM_RANGE(0x0b00, 0x0b00) AM_READ_PORT("DSW2") AM_WRITE(ironhors_flipscreen_w) |
| 111 | | AM_RANGE(0x0b01, 0x0b01) AM_READ_PORT("DSW1") //AM_WRITE(ironhors_palettebank_w) |
| 109 | AM_RANGE(0x0a00, 0x0a00) AM_READ_PORT("DSW2") //AM_WRITE(ironhors_palettebank_w) |
| 110 | AM_RANGE(0x0b00, 0x0b00) AM_READ_PORT("DSW1") AM_WRITE(ironhors_flipscreen_w) |
| 111 | AM_RANGE(0x0b01, 0x0b01) AM_READ_PORT("DSW2") //AM_WRITE(ironhors_palettebank_w) |
| 112 | 112 | AM_RANGE(0x0b02, 0x0b02) AM_READ_PORT("P1") |
| 113 | 113 | AM_RANGE(0x0b03, 0x0b03) AM_READ_PORT("SYSTEM") |
| 114 | 114 | |
| r14242 | r14243 | |
| 154 | 154 | KONAMI8_COCKTAIL_4WAY_B123_UNK |
| 155 | 155 | |
| 156 | 156 | PORT_START("DSW1") |
| 157 | | PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) |
| 157 | KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1) |
| 158 | /* "No Coin B" = coins produce sound, but no effect on coin counter */ |
| 159 | |
| 160 | PORT_START("DSW2") |
| 161 | PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2") |
| 158 | 162 | PORT_DIPSETTING( 0x03, "2" ) |
| 159 | 163 | PORT_DIPSETTING( 0x02, "3" ) |
| 160 | 164 | PORT_DIPSETTING( 0x01, "5" ) |
| 161 | 165 | PORT_DIPSETTING( 0x00, "7" ) |
| 162 | | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) |
| 166 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:3") |
| 163 | 167 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) |
| 164 | 168 | PORT_DIPSETTING( 0x04, DEF_STR( Cocktail ) ) |
| 165 | | PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) |
| 169 | PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4,5") |
| 166 | 170 | PORT_DIPSETTING( 0x18, "30K 70K+" ) |
| 167 | 171 | PORT_DIPSETTING( 0x10, "40K 80K+" ) |
| 168 | 172 | PORT_DIPSETTING( 0x08, "40K" ) |
| 169 | 173 | PORT_DIPSETTING( 0x00, "50K" ) |
| 170 | | PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) |
| 174 | PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7") |
| 171 | 175 | PORT_DIPSETTING( 0x60, DEF_STR( Easy ) ) |
| 172 | | PORT_DIPSETTING( 0x40, DEF_STR( Normal ) ) |
| 173 | | PORT_DIPSETTING( 0x20, DEF_STR( Hard ) ) |
| 176 | PORT_DIPSETTING( 0x40, DEF_STR( Normal ) ) // factory default (JP) |
| 177 | PORT_DIPSETTING( 0x20, DEF_STR( Hard ) ) // factory default (US) |
| 174 | 178 | PORT_DIPSETTING( 0x00, DEF_STR( Very_Hard ) ) |
| 175 | | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) |
| 179 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8") |
| 176 | 180 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 177 | 181 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 178 | 182 | |
| 179 | | PORT_START("DSW2") |
| 180 | | KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B") |
| 181 | | /* "No Coin B" = coins produce sound, but no effect on coin counter */ |
| 182 | | |
| 183 | 183 | PORT_START("DSW3") |
| 184 | | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) ) |
| 184 | PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW3:1") |
| 185 | 185 | PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) |
| 186 | 186 | PORT_DIPSETTING( 0x01, DEF_STR( On ) ) |
| 187 | | PORT_DIPNAME( 0x02, 0x02, "Upright Controls" ) |
| 187 | PORT_DIPNAME( 0x02, 0x02, "Upright Controls" ) PORT_DIPLOCATION("SW3:2") |
| 188 | 188 | PORT_DIPSETTING( 0x02, DEF_STR( Single ) ) |
| 189 | 189 | PORT_DIPSETTING( 0x00, DEF_STR( Dual ) ) |
| 190 | | PORT_DIPNAME( 0x04, 0x04, "Button Layout" ) |
| 190 | PORT_DIPNAME( 0x04, 0x04, "Button Layout" ) PORT_DIPLOCATION("SW3:3") // though US manual says unused |
| 191 | 191 | PORT_DIPSETTING( 0x04, "Power Attack Squat" ) |
| 192 | 192 | PORT_DIPSETTING( 0x00, "Squat Attack Power" ) |
| 193 | 193 | PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED ) |
src/mame/drivers/mappy.c
| r14242 | r14243 | |
| 31 | 31 | sprites are 4bpp instead of 2bpp, so the final stage of video generation is |
| 32 | 32 | a little different as well, though the custom ICs are still the same. |
| 33 | 33 | Dig Dig II and Motos are almost the same, apart from larger ROMs. |
| 34 | | Tower of Druaga also has 4x the amount of sprite color combinations so it's |
| 35 | | the most different of the four. |
| 34 | The Tower of Druaga also has 4x the amount of sprite color combinations so |
| 35 | it's the most different of the four. |
| 36 | 36 | |
| 37 | 37 | |
| 38 | 38 | Custom ICs (Super Pacman and Mappy): |
| r14242 | r14243 | |
| 117 | 117 | |
| 118 | 118 | Mappy memory map |
| 119 | 119 | ---------------- |
| 120 | | Tower of Druaga, Dig Dug 2, Motos are the same, with minor differences. |
| 120 | The Tower of Druaga, Dig Dug 2, Motos are the same, with minor differences. |
| 121 | 121 | The main difference with Super Pac-Man is the increased video RAM, needed to |
| 122 | 122 | implement a scrolling tilemap. |
| 123 | 123 | |
| r14242 | r14243 | |
| 154 | 154 | 111xxxxxxxxxxxxx R xxxxxxxx ROM 1B program ROM [2] |
| 155 | 155 | |
| 156 | 156 | [1] only half of that space is actually used, because only 2 of the possible 4 I/O chips are present |
| 157 | | [2] Tower of Druaga, Dig Dug 2, Motos have 2 128k ROMs instead of 3 64k: |
| 157 | [2] The Tower of Druaga, Dig Dug 2, Motos have 2 128k ROMs instead of 3 64k: |
| 158 | 158 | 10xxxxxxxxxxxxxx R xxxxxxxx ROM 1D program ROM |
| 159 | 159 | 11xxxxxxxxxxxxxx R xxxxxxxx ROM 1B program ROM |
| 160 | 160 | [3] Overlaps the ROM region. Dig Dug 2 reads it. |
| r14242 | r14243 | |
| 446 | 446 | (c) 1983 NAMCO |
| 447 | 447 | ALL RIGHTS RESERVED |
| 448 | 448 | |
| 449 | | - Tower of Druaga |
| 449 | - The Tower of Druaga |
| 450 | 450 | - enter service mode |
| 451 | 451 | - select sound 19 |
| 452 | 452 | - press S to display the grid |
| r14242 | r14243 | |
| 518 | 518 | 99.99.999.9999.9999.9999 |
| 519 | 519 | 99.99.999.9999.9999.0000 |
| 520 | 520 | |
| 521 | | - Tower of Druaga: keep button 1 pressed while pressing the start button to |
| 521 | - The Tower of Druaga: keep button 1 pressed while pressing the start button to |
| 522 | 522 | continue the previous game; you can choose which level to start from. |
| 523 | 523 | |
| 524 | 524 | - Grobda: when the Level Select dip switch is On, after inserting a coin press |
| r14242 | r14243 | |
| 2297 | 2297 | /* 2x6809, scroling tilemap, 4bpp sprites (Super Pacman type) */ |
| 2298 | 2298 | GAME( 1983, mappy, 0, mappy, mappy, 0, ROT90, "Namco", "Mappy (US)", GAME_SUPPORTS_SAVE ) |
| 2299 | 2299 | GAME( 1983, mappyj, mappy, mappy, mappy, 0, ROT90, "Namco", "Mappy (Japan)", GAME_SUPPORTS_SAVE ) |
| 2300 | | GAME( 1984, todruaga, 0, todruaga, todruaga, 0, ROT90, "Namco", "Tower of Druaga (New Ver.)", GAME_SUPPORTS_SAVE ) |
| 2301 | | GAME( 1984, todruagao,todruaga, todruaga, todruaga, 0, ROT90, "Namco", "Tower of Druaga (Old Ver.)", GAME_SUPPORTS_SAVE ) |
| 2302 | | GAME( 1984, todruagas,todruaga, todruaga, todruaga, 0, ROT90, "bootleg? (Sidam)", "Tower of Druaga (Sidam)", GAME_SUPPORTS_SAVE ) |
| 2300 | GAME( 1984, todruaga, 0, todruaga, todruaga, 0, ROT90, "Namco", "The Tower of Druaga (New Ver.)", GAME_SUPPORTS_SAVE ) |
| 2301 | GAME( 1984, todruagao,todruaga, todruaga, todruaga, 0, ROT90, "Namco", "The Tower of Druaga (Old Ver.)", GAME_SUPPORTS_SAVE ) |
| 2302 | GAME( 1984, todruagas,todruaga, todruaga, todruaga, 0, ROT90, "bootleg? (Sidam)", "The Tower of Druaga (Sidam)", GAME_SUPPORTS_SAVE ) |
| 2303 | 2303 | GAME( 1985, digdug2, 0, digdug2, digdug2, digdug2, ROT90, "Namco", "Dig Dug II (New Ver.)", GAME_SUPPORTS_SAVE ) |
| 2304 | 2304 | GAME( 1985, digdug2o, digdug2, digdug2, digdug2, digdug2, ROT90, "Namco", "Dig Dug II (Old Ver.)", GAME_SUPPORTS_SAVE ) |
| 2305 | 2305 | GAME( 1985, motos, 0, motos, motos, 0, ROT90, "Namco", "Motos", GAME_SUPPORTS_SAVE ) |
src/mame/drivers/gyruss.c
| r14242 | r14243 | |
| 62 | 62 | #include "cpu/mcs48/mcs48.h" |
| 63 | 63 | #include "sound/ay8910.h" |
| 64 | 64 | #include "sound/discrete.h" |
| 65 | #include "includes/konamipt.h" |
| 65 | 66 | #include "includes/gyruss.h" |
| 66 | 67 | |
| 67 | 68 | |
| r14242 | r14243 | |
| 251 | 252 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 252 | 253 | |
| 253 | 254 | PORT_START("DSW1") |
| 254 | | PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:1,2,3,4") |
| 255 | | PORT_DIPSETTING( 0x02, DEF_STR( 4C_1C ) ) |
| 256 | | PORT_DIPSETTING( 0x05, DEF_STR( 3C_1C ) ) |
| 257 | | PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) ) |
| 258 | | PORT_DIPSETTING( 0x04, DEF_STR( 3C_2C ) ) |
| 259 | | PORT_DIPSETTING( 0x01, DEF_STR( 4C_3C ) ) |
| 260 | | PORT_DIPSETTING( 0x0f, DEF_STR( 1C_1C ) ) |
| 261 | | PORT_DIPSETTING( 0x03, DEF_STR( 3C_4C ) ) |
| 262 | | PORT_DIPSETTING( 0x07, DEF_STR( 2C_3C ) ) |
| 263 | | PORT_DIPSETTING( 0x0e, DEF_STR( 1C_2C ) ) |
| 264 | | PORT_DIPSETTING( 0x06, DEF_STR( 2C_5C ) ) |
| 265 | | PORT_DIPSETTING( 0x0d, DEF_STR( 1C_3C ) ) |
| 266 | | PORT_DIPSETTING( 0x0c, DEF_STR( 1C_4C ) ) |
| 267 | | PORT_DIPSETTING( 0x0b, DEF_STR( 1C_5C ) ) |
| 268 | | PORT_DIPSETTING( 0x0a, DEF_STR( 1C_6C ) ) |
| 269 | | PORT_DIPSETTING( 0x09, DEF_STR( 1C_7C ) ) |
| 270 | | PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) ) |
| 271 | | PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:5,6,7,8") |
| 272 | | PORT_DIPSETTING( 0x20, DEF_STR( 4C_1C ) ) |
| 273 | | PORT_DIPSETTING( 0x50, DEF_STR( 3C_1C ) ) |
| 274 | | PORT_DIPSETTING( 0x80, DEF_STR( 2C_1C ) ) |
| 275 | | PORT_DIPSETTING( 0x40, DEF_STR( 3C_2C ) ) |
| 276 | | PORT_DIPSETTING( 0x10, DEF_STR( 4C_3C ) ) |
| 277 | | PORT_DIPSETTING( 0xf0, DEF_STR( 1C_1C ) ) |
| 278 | | PORT_DIPSETTING( 0x30, DEF_STR( 3C_4C ) ) |
| 279 | | PORT_DIPSETTING( 0x70, DEF_STR( 2C_3C ) ) |
| 280 | | PORT_DIPSETTING( 0xe0, DEF_STR( 1C_2C ) ) |
| 281 | | PORT_DIPSETTING( 0x60, DEF_STR( 2C_5C ) ) |
| 282 | | PORT_DIPSETTING( 0xd0, DEF_STR( 1C_3C ) ) |
| 283 | | PORT_DIPSETTING( 0xc0, DEF_STR( 1C_4C ) ) |
| 284 | | PORT_DIPSETTING( 0xb0, DEF_STR( 1C_5C ) ) |
| 285 | | PORT_DIPSETTING( 0xa0, DEF_STR( 1C_6C ) ) |
| 286 | | PORT_DIPSETTING( 0x90, DEF_STR( 1C_7C ) ) |
| 287 | | PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) ) |
| 255 | KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), DEF_STR( Free_Play ), SW1) |
| 288 | 256 | |
| 289 | 257 | PORT_START("DSW2") |
| 290 | | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2") |
| 258 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2") |
| 291 | 259 | PORT_DIPSETTING( 0x03, "3" ) |
| 292 | 260 | PORT_DIPSETTING( 0x02, "4" ) |
| 293 | 261 | PORT_DIPSETTING( 0x01, "5" ) |
| 294 | 262 | PORT_DIPSETTING( 0x00, "255 (Cheat)") |
| 295 | | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:3") |
| 263 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:3") |
| 296 | 264 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) |
| 297 | 265 | PORT_DIPSETTING( 0x04, DEF_STR( Cocktail ) ) |
| 298 | | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4") /* tables at 0x1653 (15 bytes) or 0x4bf3 (13 bytes) */ |
| 299 | | PORT_DIPSETTING( 0x08, "30k 90k 60k+" ) /* last bonus life at 810k : max. 14 bonus lives */ |
| 300 | | PORT_DIPSETTING( 0x00, "40k 110k 70k+" ) /* last bonus life at 810k : max. 12 bonus lives */ |
| 301 | | PORT_DIPNAME( 0x70, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6,7") |
| 266 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:4") /* tables at 0x1653 (15 bytes) or 0x4bf3 (13 bytes) */ |
| 267 | PORT_DIPSETTING( 0x08, "30k 90k 60k+" ) /* last bonus life at 810k : max. 14 bonus lives */ |
| 268 | PORT_DIPSETTING( 0x00, "40k 110k 70k+" ) /* last bonus life at 810k : max. 12 bonus lives */ |
| 269 | PORT_DIPNAME( 0x70, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6,7") |
| 302 | 270 | PORT_DIPSETTING( 0x70, "1 (Easiest)" ) |
| 303 | 271 | PORT_DIPSETTING( 0x60, "2" ) |
| 304 | 272 | PORT_DIPSETTING( 0x50, "3" ) |
| r14242 | r14243 | |
| 307 | 275 | PORT_DIPSETTING( 0x20, "6" ) |
| 308 | 276 | PORT_DIPSETTING( 0x10, "7" ) |
| 309 | 277 | PORT_DIPSETTING( 0x00, "8 (Hardest)" ) |
| 310 | | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8") |
| 278 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8") |
| 311 | 279 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 312 | 280 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 313 | 281 | |
| 314 | 282 | PORT_START("DSW3") |
| 315 | | PORT_DIPNAME( 0x01, 0x00, "Demo Music" ) PORT_DIPLOCATION("SW3:1") |
| 283 | PORT_DIPNAME( 0x01, 0x00, "Demo Music" ) PORT_DIPLOCATION("SW3:1") |
| 316 | 284 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 317 | 285 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 286 | PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 318 | 287 | INPUT_PORTS_END |
| 319 | 288 | |
| 320 | 289 | static INPUT_PORTS_START( gyrussce ) |
| 321 | 290 | PORT_INCLUDE( gyruss ) |
| 322 | 291 | |
| 323 | 292 | PORT_MODIFY("DSW2") |
| 324 | | PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:3") /* tables at 0x1653 (15 bytes) or 0x4bf3 (13 bytes) */ |
| 325 | | PORT_DIPSETTING( 0x08, "50k 120k 70k+" ) /* last bonus life at 960k : max. 14 bonus lives */ |
| 326 | | PORT_DIPSETTING( 0x00, "60k 140k 80k+" ) /* last bonus life at 940k : max. 12 bonus lives */ |
| 327 | | PORT_DIPNAME( 0x70, 0x20, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6,7") /* "Difficult" default setting according to Centuri manual */ |
| 293 | PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW2:3") /* tables at 0x1653 (15 bytes) or 0x4bf3 (13 bytes) */ |
| 294 | PORT_DIPSETTING( 0x08, "50k 120k 70k+" ) /* last bonus life at 960k : max. 14 bonus lives */ |
| 295 | PORT_DIPSETTING( 0x00, "60k 140k 80k+" ) /* last bonus life at 940k : max. 12 bonus lives */ |
| 296 | PORT_DIPNAME( 0x70, 0x20, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6,7") /* "Difficult" default setting according to Centuri manual */ |
| 328 | 297 | PORT_DIPSETTING( 0x70, "1 (Easiest)" ) |
| 329 | 298 | PORT_DIPSETTING( 0x60, "2" ) |
| 330 | 299 | PORT_DIPSETTING( 0x50, "3" ) |
src/mame/drivers/fastlane.c
| r14242 | r14243 | |
| 100 | 100 | /* verified from HD6309 code */ |
| 101 | 101 | static INPUT_PORTS_START( fastlane ) |
| 102 | 102 | PORT_START("DSW1") |
| 103 | | KONAMI_COINAGE(DEF_STR( Free_Play ), "No Coin B") |
| 103 | KONAMI_COINAGE_LOC(DEF_STR( Free_Play ), "No Coin B", SW1) |
| 104 | 104 | /* "No Coin B" = coins produce sound, but no effect on coin counter */ |
| 105 | 105 | |
| 106 | 106 | PORT_START("DSW2") |
| 107 | | PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) |
| 107 | PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:1,2") |
| 108 | 108 | PORT_DIPSETTING( 0x03, "2" ) |
| 109 | 109 | PORT_DIPSETTING( 0x02, "3" ) |
| 110 | 110 | PORT_DIPSETTING( 0x01, "4" ) |
| 111 | 111 | PORT_DIPSETTING( 0x00, "7" ) |
| 112 | | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) |
| 112 | PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:3") |
| 113 | 113 | PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) |
| 114 | 114 | PORT_DIPSETTING( 0x04, DEF_STR( Cocktail ) ) |
| 115 | 115 | /* The bonus life affects the starting high score too, 20000 or 30000 */ |
| 116 | 116 | PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) ) |
| 117 | | PORT_DIPSETTING( 0x18, "20k 100k 200k 400k 800k" ) |
| 117 | PORT_DIPSETTING( 0x18, "20k 100k 200k 400k 800k" ) PORT_DIPLOCATION("SW2:4,5") |
| 118 | 118 | PORT_DIPSETTING( 0x10, "30k 150k 300k 600k" ) |
| 119 | 119 | PORT_DIPSETTING( 0x08, "20k only" ) |
| 120 | 120 | PORT_DIPSETTING( 0x00, "30k only" ) |
| 121 | | PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) |
| 121 | PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:6,7") |
| 122 | 122 | PORT_DIPSETTING( 0x60, DEF_STR( Easy ) ) |
| 123 | 123 | PORT_DIPSETTING( 0x40, DEF_STR( Medium ) ) |
| 124 | 124 | PORT_DIPSETTING( 0x20, DEF_STR( Hard ) ) |
| 125 | 125 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest ) ) |
| 126 | | PORT_DIPNAME( 0x80, 0x00, "Demo Music" ) /* when levels are played by the computer */ |
| 126 | PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8") |
| 127 | 127 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 128 | 128 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 129 | 129 | |
| 130 | 130 | PORT_START("DSW3") |
| 131 | | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) |
| 131 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW3:1") |
| 132 | 132 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 133 | 133 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 134 | | PORT_DIPNAME( 0x02, 0x02, "Upright Controls" ) |
| 134 | PORT_DIPNAME( 0x02, 0x02, "Upright Controls" ) PORT_DIPLOCATION("SW3:2") |
| 135 | 135 | PORT_DIPSETTING( 0x02, DEF_STR( Single ) ) |
| 136 | 136 | PORT_DIPSETTING( 0x00, DEF_STR( Dual ) ) |
| 137 | | PORT_SERVICE( 0x04, IP_ACTIVE_LOW ) |
| 138 | | PORT_DIPNAME( 0x08, 0x08, "Continue" ) |
| 139 | | PORT_DIPSETTING( 0x08, "3" ) |
| 137 | PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW3:3" ) |
| 138 | PORT_DIPNAME( 0x08, 0x08, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW3:4") |
| 139 | PORT_DIPSETTING( 0x08, "3 Times" ) |
| 140 | 140 | PORT_DIPSETTING( 0x00, DEF_STR( Infinite ) ) |
| 141 | 141 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 142 | 142 | |
src/emu/cpu/i386/x87ops.c
| r14242 | r14243 | |
| 4 | 4 | |
| 5 | 5 | TODO: |
| 6 | 6 | - 80-bit precision for F2XM1, FYL2X, FPATAN |
| 7 | - Figure out why SoftFloat trig extensions produce bad values |
| 7 | 8 | - Cycle counts for all processors (currently using 486 counts) |
| 8 | 9 | - Precision-dependent cycle counts for divide instructions |
| 9 | 10 | - Last instruction, operand pointers etc. |
| r14242 | r14243 | |
| 2157 | 2158 | result1 = ST(0); |
| 2158 | 2159 | result2 = fx80_one; |
| 2159 | 2160 | |
| 2161 | #if 0 // TODO: Function produces bad values |
| 2160 | 2162 | if (floatx80_ftan(result1) != -1) |
| 2161 | 2163 | cpustate->x87_sw &= ~X87_SW_C2; |
| 2162 | 2164 | else |
| 2163 | 2165 | cpustate->x87_sw |= X87_SW_C2; |
| 2166 | #else |
| 2167 | double x = fx80_to_double(result1); |
| 2168 | x = tan(x); |
| 2169 | result1 = double_to_fx80(x); |
| 2170 | |
| 2171 | cpustate->x87_sw &= ~X87_SW_C2; |
| 2172 | #endif |
| 2164 | 2173 | } |
| 2165 | 2174 | |
| 2166 | 2175 | if (x87_check_exceptions(cpustate)) |
| r14242 | r14243 | |
| 2211 | 2220 | { |
| 2212 | 2221 | result = ST(0); |
| 2213 | 2222 | |
| 2223 | #if 0 // TODO: Function produces bad values |
| 2214 | 2224 | if (floatx80_fsin(result) != -1) |
| 2215 | 2225 | cpustate->x87_sw &= ~X87_SW_C2; |
| 2216 | 2226 | else |
| 2217 | 2227 | cpustate->x87_sw |= X87_SW_C2; |
| 2228 | #else |
| 2229 | double x = fx80_to_double(result); |
| 2230 | x = sin(x); |
| 2231 | result = double_to_fx80(x); |
| 2232 | |
| 2233 | cpustate->x87_sw &= ~X87_SW_C2; |
| 2234 | #endif |
| 2218 | 2235 | } |
| 2219 | 2236 | |
| 2220 | 2237 | if (x87_check_exceptions(cpustate)) |
| r14242 | r14243 | |
| 2236 | 2253 | { |
| 2237 | 2254 | result = ST(0); |
| 2238 | 2255 | |
| 2256 | #if 0 // TODO: Function produces bad values |
| 2239 | 2257 | if (floatx80_fcos(result) != -1) |
| 2240 | 2258 | cpustate->x87_sw &= ~X87_SW_C2; |
| 2241 | 2259 | else |
| 2242 | 2260 | cpustate->x87_sw |= X87_SW_C2; |
| 2261 | #else |
| 2262 | double x = fx80_to_double(result); |
| 2263 | x = cos(x); |
| 2264 | result = double_to_fx80(x); |
| 2265 | |
| 2266 | cpustate->x87_sw &= ~X87_SW_C2; |
| 2267 | #endif |
| 2243 | 2268 | } |
| 2244 | 2269 | |
| 2245 | 2270 | if (x87_check_exceptions(cpustate)) |
| r14242 | r14243 | |
| 2268 | 2293 | |
| 2269 | 2294 | s_result = c_result = ST(0); |
| 2270 | 2295 | |
| 2296 | #if 0 // TODO: Function produces bad values |
| 2271 | 2297 | if (sf_fsincos(s_result, &s_result, &c_result) != -1) |
| 2272 | 2298 | cpustate->x87_sw &= ~X87_SW_C2; |
| 2273 | 2299 | else |
| 2274 | 2300 | cpustate->x87_sw |= X87_SW_C2; |
| 2301 | #else |
| 2302 | double s = fx80_to_double(s_result); |
| 2303 | double c = fx80_to_double(c_result); |
| 2304 | s = sin(s); |
| 2305 | c = cos(c); |
| 2306 | |
| 2307 | s_result = double_to_fx80(s); |
| 2308 | c_result = double_to_fx80(c); |
| 2309 | |
| 2310 | cpustate->x87_sw &= ~X87_SW_C2; |
| 2311 | #endif |
| 2275 | 2312 | } |
| 2276 | 2313 | |
| 2277 | 2314 | if (x87_check_exceptions(cpustate)) |
| r14242 | r14243 | |
| 4277 | 4314 | { |
| 4278 | 4315 | int modrm = 0; |
| 4279 | 4316 | |
| 4280 | | for (modrm = 0; modrm < 0xff; ++modrm) |
| 4317 | for (modrm = 0; modrm < 0x100; ++modrm) |
| 4281 | 4318 | { |
| 4282 | 4319 | void (*ptr)(i386_state *cpustate, UINT8 modrm) = x87_invalid; |
| 4283 | 4320 | |
| r14242 | r14243 | |
| 4319 | 4356 | { |
| 4320 | 4357 | int modrm = 0; |
| 4321 | 4358 | |
| 4322 | | for (modrm = 0; modrm < 0xff; ++modrm) |
| 4359 | for (modrm = 0; modrm < 0x100; ++modrm) |
| 4323 | 4360 | { |
| 4324 | 4361 | void (*ptr)(i386_state *cpustate, UINT8 modrm) = x87_invalid; |
| 4325 | 4362 | |
| r14242 | r14243 | |
| 4397 | 4434 | { |
| 4398 | 4435 | int modrm = 0; |
| 4399 | 4436 | |
| 4400 | | for (modrm = 0; modrm < 0xff; ++modrm) |
| 4437 | for (modrm = 0; modrm < 0x100; ++modrm) |
| 4401 | 4438 | { |
| 4402 | 4439 | void (*ptr)(i386_state *cpustate, UINT8 modrm) = x87_invalid; |
| 4403 | 4440 | |
| r14242 | r14243 | |
| 4432 | 4469 | { |
| 4433 | 4470 | int modrm = 0; |
| 4434 | 4471 | |
| 4435 | | for (modrm = 0; modrm < 0xff; ++modrm) |
| 4472 | for (modrm = 0; modrm < 0x100; ++modrm) |
| 4436 | 4473 | { |
| 4437 | 4474 | void (*ptr)(i386_state *cpustate, UINT8 modrm) = x87_invalid; |
| 4438 | 4475 | |
| r14242 | r14243 | |
| 4468 | 4505 | { |
| 4469 | 4506 | int modrm = 0; |
| 4470 | 4507 | |
| 4471 | | for (modrm = 0; modrm < 0xff; ++modrm) |
| 4508 | for (modrm = 0; modrm < 0x100; ++modrm) |
| 4472 | 4509 | { |
| 4473 | 4510 | void (*ptr)(i386_state *cpustate, UINT8 modrm) = x87_invalid; |
| 4474 | 4511 | |
| r14242 | r14243 | |
| 4508 | 4545 | { |
| 4509 | 4546 | int modrm = 0; |
| 4510 | 4547 | |
| 4511 | | for (modrm = 0; modrm < 0xff; ++modrm) |
| 4548 | for (modrm = 0; modrm < 0x100; ++modrm) |
| 4512 | 4549 | { |
| 4513 | 4550 | void (*ptr)(i386_state *cpustate, UINT8 modrm) = x87_invalid; |
| 4514 | 4551 | |
| r14242 | r14243 | |
| 4545 | 4582 | { |
| 4546 | 4583 | int modrm = 0; |
| 4547 | 4584 | |
| 4548 | | for (modrm = 0; modrm < 0xff; ++modrm) |
| 4585 | for (modrm = 0; modrm < 0x100; ++modrm) |
| 4549 | 4586 | { |
| 4550 | 4587 | void (*ptr)(i386_state *cpustate, UINT8 modrm) = x87_invalid; |
| 4551 | 4588 | |
| r14242 | r14243 | |
| 4586 | 4623 | { |
| 4587 | 4624 | int modrm = 0; |
| 4588 | 4625 | |
| 4589 | | for (modrm = 0; modrm < 0xff; ++modrm) |
| 4626 | for (modrm = 0; modrm < 0x100; ++modrm) |
| 4590 | 4627 | { |
| 4591 | 4628 | void (*ptr)(i386_state *cpustate, UINT8 modrm) = x87_invalid; |
| 4592 | 4629 | |