src/mame/drivers/cps1.c
| r2935 | r2936 | |
| 10 | 10 | |
| 11 | 11 | 68000 clock speeds are unknown for all games (except where commented) |
| 12 | 12 | |
| 13 | todo: move the bootleg sets with modified hardware into their own |
| 14 | drivers, like fcrash.c |
| 13 | 15 | |
| 16 | |
| 14 | 17 | Stephh's notes (based on the games M68000 code and some tests) : |
| 15 | 18 | |
| 16 | 19 | 1) 'forgottn' and clones |
| r2935 | r2936 | |
| 157 | 160 | #include "sound/2151intf.h" |
| 158 | 161 | #include "sound/okim6295.h" |
| 159 | 162 | #include "sound/qsound.h" |
| 163 | #include "sound/msm5205.h" |
| 160 | 164 | |
| 165 | |
| 161 | 166 | #include "cps1.h" /* External CPS1 definitions */ |
| 162 | 167 | |
| 163 | 168 | READ16_HANDLER( cps1_dsw_r ) |
| r2935 | r2936 | |
| 3467 | 3472 | PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "SW(B):7" ) |
| 3468 | 3473 | INPUT_PORTS_END |
| 3469 | 3474 | |
| 3475 | static INPUT_PORTS_START( wofhfh ) |
| 3476 | PORT_INCLUDE( wof ) |
| 3477 | |
| 3478 | PORT_MODIFY("DSWA") |
| 3479 | PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW(A):1,2") |
| 3480 | PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) ) |
| 3481 | PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) ) |
| 3482 | PORT_DIPSETTING( 0x01, DEF_STR( 1C_3C ) ) |
| 3483 | PORT_DIPSETTING( 0x00, DEF_STR( 1C_4C ) ) |
| 3484 | PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3485 | |
| 3486 | PORT_MODIFY("DSWB") |
| 3487 | PORT_DIPNAME( 0x07, 0x04, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW(B):1,2,3") |
| 3488 | PORT_DIPSETTING( 0x07, "Extra Easy" ) |
| 3489 | PORT_DIPSETTING( 0x06, DEF_STR( Very_Easy) ) |
| 3490 | PORT_DIPSETTING( 0x05, DEF_STR( Easy) ) |
| 3491 | PORT_DIPSETTING( 0x04, DEF_STR( Normal) ) |
| 3492 | PORT_DIPSETTING( 0x03, DEF_STR( Hard) ) |
| 3493 | PORT_DIPSETTING( 0x02, DEF_STR( Very_Hard) ) |
| 3494 | PORT_DIPSETTING( 0x01, "Extra Hard" ) |
| 3495 | PORT_DIPSETTING( 0x00, DEF_STR( Hardest) ) |
| 3496 | PORT_DIPNAME( 0x70, 0x60, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW(B):4,5,6") |
| 3497 | PORT_DIPSETTING( 0x00, "Start 4 Continue 5" ) |
| 3498 | PORT_DIPSETTING( 0x10, "Start 3 Continue 4" ) |
| 3499 | PORT_DIPSETTING( 0x20, "Start 2 Continue 3" ) |
| 3500 | PORT_DIPSETTING( 0x30, "Start 1 Continue 2" ) |
| 3501 | PORT_DIPSETTING( 0x40, "Start 4 Continue 4" ) |
| 3502 | PORT_DIPSETTING( 0x50, "Start 3 Continue 3" ) |
| 3503 | PORT_DIPSETTING( 0x60, "Start 2 Continue 2" ) |
| 3504 | PORT_DIPSETTING( 0x70, "Start 1 Continue 1" ) |
| 3505 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3506 | |
| 3507 | PORT_MODIFY("DSWC") |
| 3508 | PORT_DIPNAME( 0x03, 0x03, "Coin Slots" ) PORT_DIPLOCATION("SW(C):1,2") |
| 3509 | // PORT_DIPSETTING( 0x00, "2 Players 1 Shooter" ) |
| 3510 | PORT_DIPSETTING( 0x01, "2 Players 1 Shooter" ) |
| 3511 | PORT_DIPSETTING( 0x02, "3 Players 1 Shooter" ) |
| 3512 | PORT_DIPSETTING( 0x03, "3 Players 3 Shooters" ) |
| 3513 | PORT_BIT( 0xfc, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3514 | |
| 3515 | PORT_MODIFY("IN1") |
| 3516 | PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1) |
| 3517 | PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1) |
| 3518 | PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1) |
| 3519 | PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1) |
| 3520 | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) |
| 3521 | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) |
| 3522 | PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 3523 | PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3524 | PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) |
| 3525 | PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2) |
| 3526 | PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2) |
| 3527 | PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2) |
| 3528 | PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) |
| 3529 | PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) |
| 3530 | PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 3531 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 3532 | |
| 3533 | PORT_MODIFY("IN2") /* Player 3 */ |
| 3534 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3) |
| 3535 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(3) |
| 3536 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(3) |
| 3537 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(3) |
| 3538 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3) |
| 3539 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3) |
| 3540 | // PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(3) |
| 3541 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN3 ) |
| 3542 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START3 ) |
| 3543 | INPUT_PORTS_END |
| 3544 | |
| 3545 | |
| 3470 | 3546 | /* |
| 3471 | 3547 | A Final Fight board with mismatched USA and Japan GFX proves that the columns |
| 3472 | 3548 | of the 8x8 tilemap alternate between sides of the 16x16 tile resulting |
| r2935 | r2936 | |
| 3646 | 3722 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
| 3647 | 3723 | MACHINE_DRIVER_END |
| 3648 | 3724 | |
| 3725 | static MACHINE_DRIVER_START( wofhfh ) |
| 3726 | |
| 3727 | /* basic machine hardware */ |
| 3728 | MDRV_IMPORT_FROM(cps1_12MHz) |
| 3729 | |
| 3730 | MDRV_NVRAM_HANDLER(qsound) |
| 3731 | MACHINE_DRIVER_END |
| 3732 | |
| 3733 | /* incomplete */ |
| 3734 | static ADDRESS_MAP_START( sf2mdt_z80map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 3735 | AM_RANGE(0x0000, 0xcfff) AM_ROM |
| 3736 | AM_RANGE(0xd000, 0xd7ff) AM_RAM |
| 3737 | ADDRESS_MAP_END |
| 3738 | |
| 3739 | static void m5205_int1(running_machine *machine, int data) |
| 3740 | { |
| 3741 | // MSM5205_data_w(0, sample_buffer1 & 0x0F); |
| 3742 | // sample_buffer1 >>= 4; |
| 3743 | // sample_select1 ^= 1; |
| 3744 | // if (sample_select1 == 0) |
| 3745 | // cpunum_set_input_line(machine, 1, INPUT_LINE_NMI, PULSE_LINE); |
| 3746 | } |
| 3747 | |
| 3748 | static void m5205_int2(running_machine *machine, int data) |
| 3749 | { |
| 3750 | // MSM5205_data_w(1, sample_buffer2 & 0x0F); |
| 3751 | // sample_buffer2 >>= 4; |
| 3752 | // sample_select2 ^= 1; |
| 3753 | } |
| 3754 | |
| 3755 | static const struct MSM5205interface msm5205_interface1 = |
| 3756 | { |
| 3757 | m5205_int1, /* interrupt function */ |
| 3758 | MSM5205_S96_4B /* 4KHz 4-bit */ |
| 3759 | }; |
| 3760 | |
| 3761 | static const struct MSM5205interface msm5205_interface2 = |
| 3762 | { |
| 3763 | m5205_int2, /* interrupt function */ |
| 3764 | MSM5205_S96_4B /* 4KHz 4-bit */ |
| 3765 | }; |
| 3766 | |
| 3767 | static MACHINE_DRIVER_START( sf2mdt ) |
| 3768 | |
| 3769 | /* basic machine hardware */ |
| 3770 | MDRV_CPU_ADD_TAG("main", M68000, 12000000) |
| 3771 | MDRV_CPU_PROGRAM_MAP(main_map,0) |
| 3772 | MDRV_CPU_VBLANK_INT("main", cps1_interrupt) |
| 3773 | |
| 3774 | MDRV_CPU_ADD_TAG("sound", Z80, 3579545) |
| 3775 | /* audio CPU */ |
| 3776 | MDRV_CPU_PROGRAM_MAP(sf2mdt_z80map,0) |
| 3777 | |
| 3778 | /* video hardware */ |
| 3779 | MDRV_SCREEN_ADD("main", RASTER) |
| 3780 | MDRV_SCREEN_REFRESH_RATE(60) |
| 3781 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 3782 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 3783 | MDRV_SCREEN_SIZE(64*8, 32*8) |
| 3784 | MDRV_SCREEN_VISIBLE_AREA(8*8, (64-8)*8-1, 2*8, 30*8-1 ) |
| 3785 | |
| 3786 | MDRV_GFXDECODE(cps1) |
| 3787 | MDRV_PALETTE_LENGTH(0xc00) |
| 3788 | |
| 3789 | MDRV_VIDEO_START(cps1) |
| 3790 | MDRV_VIDEO_EOF(cps1) |
| 3791 | MDRV_VIDEO_UPDATE(cps1) |
| 3792 | |
| 3793 | /* sound hardware */ |
| 3794 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 3795 | |
| 3796 | MDRV_SOUND_ADD_TAG("2151", YM2151, 3579545) |
| 3797 | MDRV_SOUND_CONFIG(ym2151_interface) |
| 3798 | MDRV_SOUND_ROUTE(0, "mono", 0.35) |
| 3799 | MDRV_SOUND_ROUTE(1, "mono", 0.35) |
| 3800 | |
| 3801 | /* has 2x MSM5205 instead of OKI6295 */ |
| 3802 | MDRV_SOUND_ADD(MSM5205, 24000000/64) /* ? */ |
| 3803 | MDRV_SOUND_CONFIG(msm5205_interface1) |
| 3804 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 3805 | |
| 3806 | MDRV_SOUND_ADD(MSM5205, 24000000/64) /* ? */ |
| 3807 | MDRV_SOUND_CONFIG(msm5205_interface2) |
| 3808 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
| 3809 | MACHINE_DRIVER_END |
| 3810 | |
| 3649 | 3811 | #endif |
| 3650 | 3812 | |
| 3651 | 3813 | |
| r2935 | r2936 | |
| 5945 | 6107 | ROM_LOAD( "kd19.bin", 0x20000, 0x20000, CRC(92941b80) SHA1(5fa7c2793e6febee54a83042d118ddd4f2b7d127) ) |
| 5946 | 6108 | ROM_END |
| 5947 | 6109 | |
| 6110 | /* |
| 6111 | CPU |
| 6112 | |
| 6113 | 1x TS68000CP12 (main) |
| 6114 | 1x TPC1020AFN-084C |
| 6115 | 1x Z8400BB1-Z80CPU (sound) |
| 6116 | 1x YM2151 (sound) |
| 6117 | 1x YM3012A (sound) |
| 6118 | 1x OKI-M6295 (sound) |
| 6119 | 2x LM324N (sound) |
| 6120 | 1x TDA2003 (sound) |
| 6121 | 1x oscillator 10.0 MHz |
| 6122 | 1x oscillator 22.1184 MHz |
| 6123 | |
| 6124 | ROMs |
| 6125 | |
| 6126 | 1x AM27C512 (1)(sound) |
| 6127 | 1x AM27C020 (2)(sound) |
| 6128 | 2x AM27C040 (3,4)(main) |
| 6129 | 1x Am27C040 (bp)(gfx) |
| 6130 | 7x maskrom (ai,bi,ci,di,ap,cp,dp)(gfx) |
| 6131 | 1x GAL20V8A (not dumped) |
| 6132 | 3x GAL16V8A (not dumped) |
| 6133 | 1x PALCE20V8H (not dumped) |
| 6134 | 1x GAL20V8S (not dumped) |
| 6135 | |
| 6136 | Note |
| 6137 | |
| 6138 | 1x JAMMA edge connector |
| 6139 | 1x trimmer (volume) |
| 6140 | 3x 8 switches dip |
| 6141 | |
| 6142 | */ |
| 6143 | |
| 5948 | 6144 | ROM_START( kodb ) |
| 5949 | 6145 | ROM_REGION( CODE_SIZE, REGION_CPU1, 0 ) /* 68000 code */ |
| 5950 | | ROM_LOAD16_BYTE( "kod.17", 0x00000, 0x080000, CRC(036dd74c) SHA1(489344e56863429e86b4c362b82d89819c1d6afb) ) |
| 5951 | | ROM_LOAD16_BYTE( "kod.18", 0x00001, 0x080000, CRC(3e4b7295) SHA1(3245640bae7d141238051dfe5c7683d05c6d3848) ) |
| 6146 | ROM_LOAD16_BYTE( "3.ic172", 0x00000, 0x080000, CRC(036dd74c) SHA1(489344e56863429e86b4c362b82d89819c1d6afb) ) |
| 6147 | ROM_LOAD16_BYTE( "4.ic171", 0x00001, 0x080000, CRC(3e4b7295) SHA1(3245640bae7d141238051dfe5c7683d05c6d3848) ) |
| 5952 | 6148 | |
| 5953 | 6149 | ROM_REGION( 0x400000, REGION_GFX1, 0 ) |
| 5954 | | ROMX_LOAD( "kod02.rom", 0x000000, 0x80000, CRC(e45b8701) SHA1(604e39e455e81695ee4f899f102d0bcd789cedd0) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 5955 | | ROMX_LOAD( "kod04.rom", 0x000002, 0x80000, CRC(a7750322) SHA1(3c583496a53cd64edf377db35f7f40f02b59b7e7) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 5956 | | ROMX_LOAD( "kod01.rom", 0x000004, 0x80000, CRC(5f74bf78) SHA1(b7c43eea9bf77a0fb571dcd53f8be719e6655fd9) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 5957 | | ROMX_LOAD( "kod03.rom", 0x000006, 0x80000, CRC(5e5303bf) SHA1(d9f90b898ffdf4398b2bbeb48247f06f728e7c00) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 5958 | | ROMX_LOAD( "kod11.rom", 0x200000, 0x80000, CRC(113358f3) SHA1(9d98eafa74a046f65bf3847fe1d88ea1b0c82b0c) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 5959 | | ROMX_LOAD( "kod13.rom", 0x200002, 0x80000, CRC(38853c44) SHA1(a6e552fb0138a76a7878b90d202904e2b44ae7ec) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 5960 | | ROMX_LOAD( "kod10.rom", 0x200004, 0x80000, CRC(9ef36604) SHA1(b42ca0a910b65e1e7bb6e7d734e853ce67e821bf) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 5961 | | ROMX_LOAD( "kod12.rom", 0x200006, 0x80000, CRC(402b9b4f) SHA1(4c11976976eadf1ad293b31b0a4d047d05032b06) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 6150 | ROMX_LOAD( "cp.ic90", 0x000000, 0x80000, CRC(e3b8589e) SHA1(775f97e43cb995b93da40063a1f1e4d73b34437c), ROM_SKIP(7) ) |
| 6151 | ROMX_LOAD( "dp.ic89", 0x000001, 0x80000, CRC(3eec9580) SHA1(3d8d0cfbeae077544e514a5eb96cc83f716e494f), ROM_SKIP(7) ) |
| 6152 | ROMX_LOAD( "ap.ic88", 0x000002, 0x80000, CRC(fdf5f163) SHA1(271ee96886c958accaca9a82484ab80fe32bd38e), ROM_SKIP(7) ) |
| 6153 | ROMX_LOAD( "bp.ic87", 0x000003, 0x80000, CRC(4e1c52b7) SHA1(74570e7d577c999c62203c97b3d449e3b61a678a), ROM_SKIP(7) ) |
| 6154 | ROMX_LOAD( "ci.ic91", 0x000004, 0x80000, CRC(22228bc5) SHA1(d48a09ee284d9e4b986f5c3c1c865930f76986e2), ROM_SKIP(7) ) |
| 6155 | ROMX_LOAD( "di.ic92", 0x000005, 0x80000, CRC(ab031763) SHA1(5bcd89b1debf029b779aa1bb73b3a572d27154ec), ROM_SKIP(7) ) |
| 6156 | ROMX_LOAD( "ai.ic93", 0x000006, 0x80000, CRC(cffbf4be) SHA1(f805bafc855d4a656c055a76eaeb26e36835541e), ROM_SKIP(7) ) |
| 6157 | ROMX_LOAD( "bi.ic94", 0x000007, 0x80000, CRC(4a1b43fe) SHA1(7957f45b2862825c9509043c63c7da7108bd251b), ROM_SKIP(7) ) |
| 5962 | 6158 | |
| 5963 | 6159 | ROM_REGION( 0x8000, REGION_GFX2, 0 ) |
| 5964 | 6160 | ROM_COPY( REGION_GFX1, 0x000000, 0x000000, 0x8000 ) /* stars */ |
| 5965 | 6161 | |
| 5966 | 6162 | ROM_REGION( 0x18000, REGION_CPU2, 0 ) /* 64k for the audio CPU (+banks) */ |
| 5967 | | ROM_LOAD( "kod.15", 0x00000, 0x08000, CRC(01cae60c) SHA1(b2cdd883fd859f0b701230831aca1f1a74ad6087) ) |
| 6163 | ROM_LOAD( "1.ic28", 0x00000, 0x08000, CRC(01cae60c) SHA1(b2cdd883fd859f0b701230831aca1f1a74ad6087) ) |
| 5968 | 6164 | ROM_CONTINUE( 0x10000, 0x08000 ) |
| 5969 | 6165 | |
| 5970 | 6166 | ROM_REGION( 0x40000, REGION_SOUND1, 0 ) /* Samples */ |
| 5971 | | ROM_LOAD( "kd18.bin", 0x00000, 0x20000, CRC(4c63181d) SHA1(270f27534a95cb0be3ff3f9ca71c502320d8090b) ) |
| 5972 | | ROM_LOAD( "kd19.bin", 0x20000, 0x20000, CRC(92941b80) SHA1(5fa7c2793e6febee54a83042d118ddd4f2b7d127) ) |
| 6167 | ROM_LOAD( "2.ic19", 0x00000, 0x40000, CRC(a2db1575) SHA1(1a4a29e4b045af50700adf1665697feab12cc234) ) |
| 5973 | 6168 | ROM_END |
| 5974 | 6169 | |
| 5975 | 6170 | /* B-Board 91635B */ |
| r2935 | r2936 | |
| 6834 | 7029 | ROM_LOAD( "s92_19.bin", 0x20000, 0x20000, CRC(beade53f) SHA1(277c397dc12752719ec6b47d2224750bd1c07f79) ) |
| 6835 | 7030 | ROM_END |
| 6836 | 7031 | |
| 7032 | /* |
| 7033 | CPU |
| 7034 | |
| 7035 | 1x MC68000P12 (main) |
| 7036 | 1x TPC1020AFN-084C (main) |
| 7037 | 1x Z0840006PSC-Z80CPU (sound) |
| 7038 | 1x YM2151 (sound) |
| 7039 | 1x YM3012 (sound) |
| 7040 | 2x M5205 (sound) |
| 7041 | 2x LM324N (sound) |
| 7042 | 1x TDA2003 (sound) |
| 7043 | 1x oscillator 24.000000MHz |
| 7044 | 1x oscillator 30.000MHz |
| 7045 | ROMs |
| 7046 | |
| 7047 | 14x AM27C040 (1,3,6,7,8,9,10,11,12,13,14,15,16,17) |
| 7048 | 3x TMS27C010A (2,4,5) |
| 7049 | 3x PAL 16S20 (ic7,ic72, ic80) (read protected, not dumped) |
| 7050 | 3x GAL20V8A (ic120, ic121, ic169) (read protected, not dumped) |
| 7051 | |
| 7052 | Note |
| 7053 | |
| 7054 | 1x JAMMA edge connector |
| 7055 | 1x trimmer (volume) |
| 7056 | 3x 8x2 switches dip |
| 7057 | |
| 7058 | */ |
| 7059 | |
| 7060 | ROM_START( sf2mdt ) |
| 7061 | ROM_REGION( CODE_SIZE, REGION_CPU1, 0 ) /* 68000 code */ |
| 7062 | ROM_LOAD16_BYTE( "3.ic172", 0x000000, 0x80000, CRC(5301b41f) SHA1(6855a57b21e8c5d74e5cb18f9ce6af650d7fb422) ) |
| 7063 | ROM_LOAD16_BYTE( "1.ic171", 0x000001, 0x80000, CRC(c1c803f6) SHA1(9fe18ae2553a63d8e4dcc20bafd5a4634f8b93c4) ) |
| 7064 | ROM_LOAD16_BYTE( "4.ic176", 0x100000, 0x20000, CRC(1073b7b6) SHA1(81ca1eab65ceac69520584bb23a684ccb9d92f89) ) |
| 7065 | ROM_LOAD16_BYTE( "2.ic175", 0x100001, 0x20000, CRC(924c6ce2) SHA1(676a912652bd75da5087f0c7eae047b7681a993c) ) |
| 7066 | |
| 7067 | ROM_REGION( 0x600000, REGION_GFX1, 0 ) /* rearranged in init */ |
| 7068 | ROMX_LOAD( "7.ic90", 0x000000, 0x80000, CRC(896eaf48) SHA1(5a13ae8b554e05eed3d5749aaf5845d499bce45b) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7069 | ROMX_LOAD( "10.ic88", 0x000002, 0x80000, CRC(ef3f5be8) SHA1(d4e1de7d7caf6977e48544d6701618ae70c717f9) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7070 | ROMX_LOAD( "13.ic89", 0x000004, 0x80000, CRC(305dd72a) SHA1(c373b517c23f3b019abb06e21f6b9ab6e1e47909) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7071 | ROMX_LOAD( "16.ic87", 0x000006, 0x80000, CRC(e57f6db9) SHA1(b37f95737804002ec0e237472eaacf0bc1e868e8) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7072 | ROMX_LOAD( "6.ic91", 0x200000, 0x80000, CRC(054cd5c4) SHA1(07f275e118c141a84ca15a2e9edc81694af37cf2) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7073 | ROMX_LOAD( "9.ic93", 0x200002, 0x80000, CRC(818ca33d) SHA1(dfb707e17c83216f8a62e905f8c7cd6d406b417b) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7074 | ROMX_LOAD( "12.ic92", 0x200004, 0x80000, CRC(87e069e8) SHA1(cddd3be84f8379134590bfbbb080518f28120e49) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7075 | ROMX_LOAD( "15.ic94", 0x200006, 0x80000, CRC(5dfb44d1) SHA1(08e44b8efc84f9cfc829aabf704155ddc700de76) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7076 | ROMX_LOAD( "8.ic86", 0x400000, 0x80000, CRC(34bbb3fa) SHA1(7794e89258f12b17d38c3d302dc15c502a8c8eb6) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7077 | ROMX_LOAD( "11.ic84", 0x400002, 0x80000, CRC(cea6d1d6) SHA1(9c953db42f0d877e43c0c239f69a00df39a18295) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7078 | ROMX_LOAD( "14.ic85", 0x400004, 0x80000, CRC(7d9f1a67) SHA1(6deb7fff867c42b13a32bb11eda798cfdb4cbaa8) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7079 | ROMX_LOAD( "17.ic83", 0x400006, 0x80000, CRC(91a9a05d) SHA1(5266ceddd2df925e79b4200843dec2f7aa9297b3) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7080 | |
| 7081 | ROM_REGION( 0x8000, REGION_GFX2, 0 ) |
| 7082 | ROM_COPY( REGION_GFX1, 0x000000, 0x000000, 0x8000 ) /* stars */ |
| 7083 | |
| 7084 | ROM_REGION( 0x28000, REGION_CPU2, 0 ) /* Sound program + samples */ |
| 7085 | ROM_LOAD( "5.ic26", 0x00000, 0x08000, CRC(17d5ba8a) SHA1(6ff3b8860d7e1fdee3561846f645eb4d3a8965ec) ) |
| 7086 | ROM_CONTINUE( 0x10000, 0x18000 ) |
| 7087 | ROM_END |
| 7088 | |
| 6837 | 7089 | /* B-Board 89624B */ |
| 6838 | 7090 | ROM_START( varth ) |
| 6839 | 7091 | ROM_REGION( CODE_SIZE, REGION_CPU1, 0 ) /* 68000 code */ |
| r2935 | r2936 | |
| 7110 | 7362 | ROM_LOAD( "tk2_q4.rom", 0x180000, 0x80000, CRC(36642e88) SHA1(8ab25b19e2b67215a5cb1f3aa81b9d26009cfeb8) ) |
| 7111 | 7363 | ROM_END |
| 7112 | 7364 | |
| 7365 | /* Chinese bootleg board without QSound */ |
| 7366 | ROM_START( wofhfh ) |
| 7367 | ROM_REGION( CODE_SIZE, REGION_CPU1, 0 ) /* 68000 code */ |
| 7368 | ROM_LOAD16_WORD_SWAP( "23", 0x000000, 0x80000, CRC(6ae4b312) SHA1(fa39f69385d180d90bccd8c5dc9262edd04a6457) ) |
| 7369 | ROM_LOAD16_WORD_SWAP( "22", 0x080000, 0x80000, CRC(94e8d01a) SHA1(875763f6b22734c1a5a890e6c8063515c134045b) ) |
| 7370 | |
| 7371 | ROM_REGION( 0x400000, REGION_GFX1, 0 ) |
| 7372 | ROMX_LOAD( "1", 0x000000, 0x80000, CRC(0d9cb9bf) SHA1(cc7140e9a01a14b252cb1090bcea32b0de461928) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7373 | ROMX_LOAD( "2", 0x000002, 0x80000, CRC(45227027) SHA1(b21afc593f0d4d8909dfa621d659cbb40507d1b2) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7374 | ROMX_LOAD( "3", 0x000004, 0x80000, CRC(c5ca2460) SHA1(cbe14867f7b94b638ca80db7c8e0c60881183469) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7375 | ROMX_LOAD( "4", 0x000006, 0x80000, CRC(e349551c) SHA1(1d977bdf256accf750ad9930ec4a0a19bbf86964) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7376 | ROMX_LOAD( "5", 0x200000, 0x80000, CRC(34949d7b) SHA1(90925a77b08c97cfdbf0dbfbdaa359d1b33b6ae4) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7377 | ROMX_LOAD( "6", 0x200002, 0x80000, CRC(dfa70971) SHA1(477b99687de38220f0aec9fbba44db03f72cb62a) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7378 | ROMX_LOAD( "7", 0x200004, 0x80000, CRC(073686a6) SHA1(b774a8d4c6cdbedb123ac01455f718305f23b619) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7379 | ROMX_LOAD( "8", 0x200006, 0x80000, CRC(5300f8db) SHA1(b23a19910f680d60ff8afcbc15c471e74ee3569a) , ROM_GROUPWORD | ROM_SKIP(6) ) |
| 7380 | |
| 7381 | ROM_REGION( 0x8000, REGION_GFX2, 0 ) |
| 7382 | ROM_COPY( REGION_GFX1, 0x000000, 0x000000, 0x8000 ) /* stars */ |
| 7383 | |
| 7384 | ROM_REGION( 0x28000, REGION_CPU2, 0 ) /* 128k for the audio CPU (+banks) */ |
| 7385 | ROM_LOAD( "9", 0x00000, 0x08000, CRC(86fe8a97) SHA1(cab82bcd0f49bcb40201b439cfdd10266f46752a) ) |
| 7386 | ROM_CONTINUE( 0x10000, 0x18000 ) |
| 7387 | |
| 7388 | ROM_REGION( 0x40000, REGION_SOUND1, 0 ) /* samples */ |
| 7389 | ROM_LOAD( "18", 0x00000, 0x20000, CRC(c04be720) SHA1(2e544e0a0358b6afbdf826d35d9c4c59e4787a93) ) |
| 7390 | ROM_LOAD( "19", 0x20000, 0x20000, CRC(fbb8d8c1) SHA1(8a7689bb7ed56243333133cbacf01a0ae825201e) ) |
| 7391 | ROM_END |
| 7392 | |
| 7393 | |
| 7394 | |
| 7113 | 7395 | ROM_START( sf2hf ) |
| 7114 | 7396 | ROM_REGION( CODE_SIZE, REGION_CPU1, 0 ) /* 68000 code */ |
| 7115 | 7397 | ROM_LOAD16_WORD_SWAP( "s92e_23a.bin", 0x000000, 0x80000, CRC(2DD72514) SHA1(4411353c389669299c27ac183c7e1caa3d4cec90) ) |
| r2935 | r2936 | |
| 8208 | 8490 | } |
| 8209 | 8491 | #endif |
| 8210 | 8492 | |
| 8493 | static READ16_HANDLER( sf2mdt_r ) |
| 8494 | { |
| 8495 | return 0xffff; |
| 8496 | } |
| 8211 | 8497 | |
| 8498 | static DRIVER_INIT( sf2mdt ) |
| 8499 | { |
| 8500 | int i; |
| 8501 | UINT32 gfx_size = memory_region_length( machine, REGION_GFX1 ); |
| 8502 | UINT8 *rom = memory_region( machine, REGION_GFX1 ); |
| 8503 | UINT8 tmp; |
| 8504 | |
| 8505 | for( i = 0; i < gfx_size; i += 8 ) |
| 8506 | { |
| 8507 | tmp = rom[i+1]; |
| 8508 | rom[i+1] = rom[i+4]; |
| 8509 | rom[i+4] = tmp; |
| 8510 | tmp = rom[i+3]; |
| 8511 | rom[i+3] = rom[i+6]; |
| 8512 | rom[i+6] = tmp; |
| 8513 | } |
| 8514 | memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x70c01a, 0x70c01b, 0, 0, sf2mdt_r); |
| 8515 | memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x70c01c, 0x70c01d, 0, 0, sf2mdt_r); |
| 8516 | memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x70c01e, 0x70c01f, 0, 0, sf2mdt_r); |
| 8517 | memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x70c010, 0x70c011, 0, 0, sf2mdt_r); |
| 8518 | memory_install_read16_handler(machine, 0, ADDRESS_SPACE_PROGRAM, 0x70c018, 0x70c019, 0, 0, sf2mdt_r); |
| 8519 | |
| 8520 | driver_init_cps1(machine); |
| 8521 | } |
| 8522 | |
| 8523 | |
| 8212 | 8524 | GAME( 1988, forgottn, 0, cps1_10MHz, forgottn, forgottn, ROT0, "Capcom", "Forgotten Worlds (US)", 0 ) |
| 8213 | 8525 | GAME( 1988, forgott1, forgottn, cps1_10MHz, forgottn, forgottn, ROT0, "Capcom", "Forgotten Worlds (World?)", GAME_NOT_WORKING ) |
| 8214 | 8526 | GAME( 1988, lostwrld, forgottn, cps1_10MHz, forgottn, forgottn, ROT0, "Capcom", "Lost Worlds (Japan)", 0 ) |
| r2935 | r2936 | |
| 8283 | 8595 | GAME( 1992, sf2ceub, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "Capcom", "Street Fighter II' - Champion Edition (US 920513)", 0 ) |
| 8284 | 8596 | GAME( 1992, sf2ceuc, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "Capcom", "Street Fighter II' - Champion Edition (US 920803)", 0 ) |
| 8285 | 8597 | GAME( 1992, sf2cej, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "Capcom", "Street Fighter II' - Champion Edition (Japan 920513)", 0 ) |
| 8286 | | GAME( 1992, sf2rb, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (Rainbow set 1)" , 0) // 920322 - based on World version |
| 8287 | | GAME( 1992, sf2rb2, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (Rainbow set 2)" , 0) // 920322 - based on World version |
| 8288 | | GAME( 1992, sf2red, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (Red Wave)" , 0) // 920313 - based on World version |
| 8289 | | GAME( 1992, sf2v004, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II! - Champion Edition (V004)", 0 ) // "102092" !!! - based on (heavily modified) World version |
| 8290 | | GAME( 1992, sf2accp2, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (Accelerator Pt.II)" , 0) // 920313 - based on USA version |
| 8291 | | GAME( 1992, sf2m1, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (M1)", GAME_NOT_WORKING ) |
| 8292 | | GAME( 1992, sf2m2, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (M2)", GAME_NOT_WORKING ) |
| 8293 | | GAME( 1992, sf2m3, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (M3)", GAME_NOT_WORKING ) |
| 8294 | | GAME( 1992, sf2m4, sf2ce, cps1_12MHz, sf2j, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (M4)", 0 ) |
| 8295 | | GAME( 1992, sf2m5, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (M5)", 0 ) |
| 8296 | | GAME( 1992, sf2m6, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (M6)", 0 ) |
| 8297 | | GAME( 1992, sf2m7, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (M7)", 0 ) |
| 8298 | | GAME( 1992, sf2yyc, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (YYC)", 0 ) |
| 8299 | | GAME( 1992, sf2koryu, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (Kouryu)", 0 ) |
| 8598 | GAME( 1992, sf2rb, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (Rainbow set 1, bootleg)" , 0) // 920322 - based on World version |
| 8599 | GAME( 1992, sf2rb2, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (Rainbow set 2, bootleg)" , 0) // 920322 - based on World version |
| 8600 | GAME( 1992, sf2red, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (Red Wave, bootleg)" , 0) // 920313 - based on World version |
| 8601 | GAME( 1992, sf2v004, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II! - Champion Edition (V004, bootleg)", 0 ) // "102092" !!! - based on (heavily modified) World version |
| 8602 | GAME( 1992, sf2accp2, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (Accelerator Pt.II, bootleg)" , 0) // 920313 - based on USA version |
| 8603 | GAME( 1992, sf2m1, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (M1, bootleg)", GAME_NOT_WORKING ) |
| 8604 | GAME( 1992, sf2m2, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (M2, bootleg)", GAME_NOT_WORKING ) |
| 8605 | GAME( 1992, sf2m3, sf2ce, cps1_12MHz, sf2, cps1, ROT0, "bootleg","Street Fighter II' - Champion Edition (M3, bootleg)", GAME_NOT_WORKING ) |
| 8606 | GAME( 1992, sf2m4, sf2ce, cps1_12MHz, sf2j, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (M4, bootleg)", 0 ) |
| 8607 | GAME( 1992, sf2m5, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (M5, bootleg)", 0 ) |
| 8608 | GAME( 1992, sf2m6, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (M6, bootleg)", 0 ) |
| 8609 | GAME( 1992, sf2m7, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (M7, bootleg)", 0 ) |
| 8610 | GAME( 1992, sf2yyc, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (YYC, bootleg)", 0 ) |
| 8611 | GAME( 1992, sf2koryu, sf2ce, cps1_12MHz, sf2, sf2hack, ROT0, "bootleg","Street Fighter II' - Champion Edition (Xiang Long, Chinese bootleg)", 0 ) |
| 8612 | GAME( 1992, sf2mdt, sf2ce, sf2mdt, sf2, sf2mdt, ROT0, "bootleg","Street Fighter II' - Champion Edition (Magic Delta Turbo, bootleg)", GAME_NOT_WORKING|GAME_NO_SOUND ); // heavily modified, different sound & gfx hardware |
| 8300 | 8613 | GAME( 1992, varth, 0, cps1_12MHz, varth, cps1, ROT270, "Capcom", "Varth - Operation Thunderstorm (World 920714)" , 0) // "ETC" 12MHz not verified but game slows down at 10MHz |
| 8301 | 8614 | GAME( 1992, varthr1, varth, cps1_12MHz, varth, cps1, ROT270, "Capcom", "Varth - Operation Thunderstorm (World 920612)" , 0) // "ETC" |
| 8302 | 8615 | GAME( 1992, varthu, varth, cps1_12MHz, varth, cps1, ROT270, "Capcom (Romstar license)", "Varth - Operation Thunderstorm (US 920612)", 0 ) |
| r2935 | r2936 | |
| 8310 | 8623 | GAME( 1995, qtono2, 0, cps1_12MHz, qtono2, cps1, ROT0, "Capcom", "Quiz Tonosama no Yabou 2 Zenkoku-ban (Japan 950123)", 0 ) |
| 8311 | 8624 | GAME( 1995, megaman, 0, cps1_12MHz, megaman, cps1, ROT0, "Capcom", "Mega Man - The Power Battle (CPS1 Asia 951006)", 0 ) |
| 8312 | 8625 | GAME( 1995, rockmanj, megaman, cps1_12MHz, rockmanj, cps1, ROT0, "Capcom", "Rockman - The Power Battle (CPS1 Japan 950922)", 0 ) |
| 8313 | | |
| 8314 | 8626 | GAME( 1992, wof, 0, qsound, wof, wof, ROT0, "Capcom", "Warriors of Fate (World 921002)" , 0) // "ETC" |
| 8315 | 8627 | GAME( 1992, wofa, wof, qsound, wof, wof, ROT0, "Capcom", "Sangokushi II (Asia 921005)" , 0) // World "warning" |
| 8316 | 8628 | GAME( 1992, wofu, wof, qsound, wof, wof, ROT0, "Capcom", "Warriors of Fate (US 921031)" , 0) // World "warning" |
| 8317 | 8629 | GAME( 1992, wofj, wof, qsound, wof, wof, ROT0, "Capcom", "Tenchi wo Kurau II - Sekiheki no Tatakai (Japan 921031)", 0 ) |
| 8630 | GAME( 1999, wofhfh, wof, wofhfh, wofhfh, cps1, ROT0, "bootleg","Sangokushi II: Huo Fenghuang (Chinese bootleg)", 0 ) |
| 8318 | 8631 | GAME( 1993, dino, 0, qsound, dino, dino, ROT0, "Capcom", "Cadillacs and Dinosaurs (World 930201)" , 0) // "ETC" |
| 8319 | 8632 | GAME( 1993, dinou, dino, qsound, dino, dino , ROT0, "Capcom", "Cadillacs and Dinosaurs (US 930201)", 0 ) |
| 8320 | 8633 | GAME( 1993, dinoj, dino, qsound, dino, dino , ROT0, "Capcom", "Cadillacs Kyouryuu-Shinseiki (Japan 930201)", 0 ) |
src/mame/drivers/model3.c
| r2935 | r2936 | |
| 1472 | 1472 | } |
| 1473 | 1473 | return data; |
| 1474 | 1474 | } |
| 1475 | | else if (mame_stricmp(machine->gamedrv->name, "eca") == 0) |
| 1475 | else if (mame_stricmp(machine->gamedrv->name, "eca") == 0 || |
| 1476 | mame_stricmp(machine->gamedrv->name, "ecax") == 0) |
| 1476 | 1477 | { |
| 1477 | 1478 | UINT64 data = (UINT64)eca_prot_data[prot_data_ptr++] << 16; |
| 1478 | 1479 | if (prot_data_ptr >= 0x31) |
| r2935 | r2936 | |
| 1815 | 1816 | ROM_START( lemans24 ) /* step 1.5 */ |
| 1816 | 1817 | ROM_REGION64_BE( 0x4800000, REGION_USER1, 0 ) /* program + data ROMs */ |
| 1817 | 1818 | // CROM |
| 1818 | | ROM_LOAD64_WORD_SWAP( "epr-19887.17", 0x600006, 0x080000, CRC(2842bb87) SHA1(2acabf3f7281acaf6bab4d3bae9701df3909cf81) ) |
| 1819 | ROM_LOAD64_WORD_SWAP( "epr-19887.17", 0x600006, 0x080000, CRC(2842bb87) SHA1(2acabf3f7281acaf6bab4d3bae9701df3909cf81) ) |
| 1819 | 1820 | ROM_LOAD64_WORD_SWAP( "epr-19888.18", 0x600004, 0x080000, CRC(800d763d) SHA1(4f2865a64d6dda638840d359db3bd2f22b6d1404) ) |
| 1820 | 1821 | ROM_LOAD64_WORD_SWAP( "epr-19889.19", 0x600002, 0x080000, CRC(d1f7e44c) SHA1(5faad711cf39c0fb10c3b9ccce25f5219ddd5a17) ) |
| 1821 | 1822 | ROM_LOAD64_WORD_SWAP( "epr-19890.20", 0x600000, 0x080000, CRC(9c16c3cc) SHA1(f1fba0c7cbdf7ddc4224356d50fdabea612c129d) ) |
| r2935 | r2936 | |
| 2152 | 2153 | ROM_LOAD_VROM( "mpr-19226.41", 0x00000c, 0x200000, CRC(00091722) SHA1(ef86db36b4b91a66b3e401c3c91735b9d28da2e2) ) |
| 2153 | 2154 | |
| 2154 | 2155 | ROM_REGION( 0x100000, REGION_CPU2, 0 ) /* 68000 code */ |
| 2155 | | ROM_LOAD16_WORD_SWAP( "epr-19231.21", 0x080000, 0x020000, CRC(f2ae2558) SHA1(7ab5fc508ffd1b0c9f3e70f4d3edeae44e3a0dc4) ) |
| 2156 | ROM_LOAD16_WORD_SWAP( "epr19231.21", 0x080000, 0x080000, CRC(b416fe96) SHA1(b508eb6802072a8d4f8fdc7ca4fba6c6a4aaadae) ) |
| 2156 | 2157 | |
| 2157 | 2158 | // Samples |
| 2158 | 2159 | ROM_REGION( 0x800000, REGION_SOUND1, 0 ) /* SCSP samples */ |
| r2935 | r2936 | |
| 2169 | 2170 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 2170 | 2171 | ROM_END |
| 2171 | 2172 | |
| 2173 | ROM_START( vf3a ) /* step 1.0 */ |
| 2174 | ROM_REGION64_BE( 0x4800000, REGION_USER1, 0 ) /* program + data ROMs */ |
| 2175 | // CROM |
| 2176 | ROM_LOAD64_WORD_SWAP( "epr19227a.17", 0x600006, 0x080000, CRC(7139931a) SHA1(57eec80361726143017b1adbfaafbeef0bc4109d) ) |
| 2177 | ROM_LOAD64_WORD_SWAP( "epr19228a.18", 0x600004, 0x080000, CRC(82f17ab5) SHA1(64714d14e64d97ebeedd1c6e1e832969df9e2324) ) |
| 2178 | ROM_LOAD64_WORD_SWAP( "epr19229a.19", 0x600002, 0x080000, CRC(5f1404b8) SHA1(434b0900a33704190285a6db45e9391b2bda2152) ) |
| 2179 | ROM_LOAD64_WORD_SWAP( "epr19230a.20", 0x600000, 0x080000, CRC(4dff78ed) SHA1(4d687479fc1fcce10ed7417555c003a546f64390) ) |
| 2180 | |
| 2181 | // CROM0 |
| 2182 | ROM_LOAD64_WORD_SWAP( "mpr-19193.1", 0x800006, 0x400000, CRC(7bab33d2) SHA1(243a09959f3c4311070f1de760ee63958cd47660) ) |
| 2183 | ROM_LOAD64_WORD_SWAP( "mpr-19194.2", 0x800004, 0x400000, CRC(66254702) SHA1(843ac4f6791f312f3138f8f38d38c8e4d2bab305) ) |
| 2184 | ROM_LOAD64_WORD_SWAP( "mpr-19195.3", 0x800002, 0x400000, CRC(bd5e27a3) SHA1(778c67bf7b5c7e3ae52fe12308a81b095563f52b) ) |
| 2185 | ROM_LOAD64_WORD_SWAP( "mpr-19196.4", 0x800000, 0x400000, CRC(f386b850) SHA1(168d21382359acb8f1d52d722de8c6b9a9210378) ) |
| 2186 | |
| 2187 | // CROM1 |
| 2188 | ROM_LOAD64_WORD_SWAP( "mpr-19197.5", 0x1800006, 0x400000, CRC(a22d76c9) SHA1(ad2d67a62436ccc6479e2a218ab09d2fc22c367d) ) |
| 2189 | ROM_LOAD64_WORD_SWAP( "mpr-19198.6", 0x1800004, 0x400000, CRC(d8ee5032) SHA1(3e9274142874ace76dba2bc9b5351cfdfb3a50cd) ) |
| 2190 | ROM_LOAD64_WORD_SWAP( "mpr-19199.7", 0x1800002, 0x400000, CRC(9f80d6fe) SHA1(97b9076d413e28d00e9c45fcc7dad6f534ca8874) ) |
| 2191 | ROM_LOAD64_WORD_SWAP( "mpr-19200.8", 0x1800000, 0x400000, CRC(74941091) SHA1(914db3955f355779147d86446f5976121191ea6d) ) |
| 2192 | |
| 2193 | // CROM2 |
| 2194 | ROM_LOAD64_WORD_SWAP( "mpr-19201.9", 0x2800006, 0x400000, CRC(7c4a8c31) SHA1(473b7bef932d7d54a5dc06bd80d286f2e2e96d44) ) |
| 2195 | ROM_LOAD64_WORD_SWAP( "mpr-19202.10", 0x2800004, 0x400000, CRC(aaa086c6) SHA1(01871c8e5454aed80e907fde199cfb23a57aa1c2) ) |
| 2196 | ROM_LOAD64_WORD_SWAP( "mpr-19203.11", 0x2800002, 0x400000, CRC(0afa6334) SHA1(1bb70e823fb6e05df069cbfafed2e57bda8776b9) ) |
| 2197 | ROM_LOAD64_WORD_SWAP( "mpr-19204.12", 0x2800000, 0x400000, CRC(2f93310a) SHA1(3dfc5b72a78967d7772da4098adb41f18b5294d4) ) |
| 2198 | |
| 2199 | // CROM3 |
| 2200 | ROM_LOAD64_WORD_SWAP( "mpr-19205.13", 0x3800006, 0x400000, CRC(199c328e) SHA1(1ef1f09ff1f5253bf03e06c5b6e42be9599b9ea5) ) |
| 2201 | ROM_LOAD64_WORD_SWAP( "mpr-19206.14", 0x3800004, 0x400000, CRC(71a98d73) SHA1(dda617f9f5f986e3369fa3d3090c423eefdf913c) ) |
| 2202 | ROM_LOAD64_WORD_SWAP( "mpr-19207.15", 0x3800002, 0x400000, CRC(2ce1612d) SHA1(736f559d460f0069c7a2d5ba7cddf9135737d6e2) ) |
| 2203 | ROM_LOAD64_WORD_SWAP( "mpr-19208.16", 0x3800000, 0x400000, CRC(08f30f71) SHA1(393525b19cdecddfbd62c6209203db5f3edfd9a8) ) |
| 2204 | |
| 2205 | // mirror CROM0 to CROM |
| 2206 | ROM_COPY(REGION_USER1, 0x800000, 0x000000, 0x600000) |
| 2207 | |
| 2208 | ROM_REGION( 0x1000000, REGION_USER3, ROMREGION_DISPOSE ) /* Video ROMs Part 1 */ |
| 2209 | ROM_LOAD_VROM( "mpr-19211.26", 0x000002, 0x200000, CRC(9c8f5df1) SHA1(d47c8bd0189c8e617a3ed9f75ee3812a229f56c0) ) |
| 2210 | ROM_LOAD_VROM( "mpr-19212.27", 0x000000, 0x200000, CRC(75036234) SHA1(01a20a6a62408017bff8f2e76dbd21c00275bc70) ) |
| 2211 | ROM_LOAD_VROM( "mpr-19213.28", 0x000006, 0x200000, CRC(67b123cf) SHA1(b84c4f83c25edcc8ac929d3f9cf51da713045071) ) |
| 2212 | ROM_LOAD_VROM( "mpr-19214.29", 0x000004, 0x200000, CRC(a6f5576b) SHA1(e994b3ef8e6eb07e8f3bbe474410c06d6c42354b) ) |
| 2213 | ROM_LOAD_VROM( "mpr-19215.30", 0x00000a, 0x200000, CRC(c6fd9f0d) SHA1(1f3299706d6ac73836c069a7ed2866d412f60369) ) |
| 2214 | ROM_LOAD_VROM( "mpr-19216.31", 0x000008, 0x200000, CRC(201bb1ed) SHA1(7ffd72ff56159529d74f01f8da0ba4798f109806) ) |
| 2215 | ROM_LOAD_VROM( "mpr-19217.32", 0x00000e, 0x200000, CRC(4dadd41a) SHA1(7a1e0908962afcfc737132478c0e45d153d94ecb) ) |
| 2216 | ROM_LOAD_VROM( "mpr-19218.33", 0x00000c, 0x200000, CRC(cff91953) SHA1(41e95704a65958377c3bbd9d00d90a5ad4552f66) ) |
| 2217 | |
| 2218 | ROM_REGION( 0x1000000, REGION_USER4, ROMREGION_DISPOSE ) /* Video ROMs Part 2 */ |
| 2219 | ROM_LOAD_VROM( "mpr-19219.34", 0x000002, 0x200000, CRC(c610d521) SHA1(cb146fe78d89176e9dd5c773644614cdc2ef57ce) ) |
| 2220 | ROM_LOAD_VROM( "mpr-19220.35", 0x000000, 0x200000, CRC(e62924d0) SHA1(4d1ac11a5977a4e9cf942c9f1204960c0a895347) ) |
| 2221 | ROM_LOAD_VROM( "mpr-19221.36", 0x000006, 0x200000, CRC(24f83e3c) SHA1(c587428fa47e849881bf45487af086db6b09264e) ) |
| 2222 | ROM_LOAD_VROM( "mpr-19222.37", 0x000004, 0x200000, CRC(61a6aa7d) SHA1(cc26020b2f904f68822111073b595ee0cc8b2e0c) ) |
| 2223 | ROM_LOAD_VROM( "mpr-19223.38", 0x00000a, 0x200000, CRC(1a8c1980) SHA1(43b8efb019c8a20fe38f95050fe60dfe9bf322f0) ) |
| 2224 | ROM_LOAD_VROM( "mpr-19224.39", 0x000008, 0x200000, CRC(0a79a1bd) SHA1(1df71cf77ea8611462380a449eb99199664b3da3) ) |
| 2225 | ROM_LOAD_VROM( "mpr-19225.40", 0x00000e, 0x200000, CRC(91a985eb) SHA1(5a842a260e4a78f5463222db44f13b068fa70b23) ) |
| 2226 | ROM_LOAD_VROM( "mpr-19226.41", 0x00000c, 0x200000, CRC(00091722) SHA1(ef86db36b4b91a66b3e401c3c91735b9d28da2e2) ) |
| 2227 | |
| 2228 | ROM_REGION( 0x100000, REGION_CPU2, 0 ) /* 68000 code */ |
| 2229 | ROM_LOAD16_WORD_SWAP( "epr19231.21", 0x080000, 0x080000, CRC(b416fe96) SHA1(b508eb6802072a8d4f8fdc7ca4fba6c6a4aaadae) ) |
| 2230 | |
| 2231 | // Samples |
| 2232 | ROM_REGION( 0x800000, REGION_SOUND1, 0 ) /* SCSP samples */ |
| 2233 | ROM_LOAD( "mpr-19209.22", 0x000000, 0x400000, CRC(3715e38c) SHA1(b11dbf8a5840990e9697c53b4796cd70ad91f6a1) ) |
| 2234 | ROM_LOAD( "mpr-19210.24", 0x400000, 0x400000, CRC(c03d6502) SHA1(4ca49fe5dd5105ca5f78f4740477beb64137d4be) ) |
| 2235 | |
| 2236 | ROM_REGION( 0x20000, REGION_CPU3, 0 ) /* Z80 code */ |
| 2237 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 2238 | |
| 2239 | ROM_REGION( 0x800000, REGION_SOUND2, 0 ) /* DSB samples */ |
| 2240 | ROM_FILL( 0x000000, 0x800000, 0 ) |
| 2241 | |
| 2242 | ROM_REGION( 0x80000, REGION_SOUND3, 0 ) /* second SCSP's RAM */ |
| 2243 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 2244 | ROM_END |
| 2245 | |
| 2172 | 2246 | ROM_START( vf3tb ) /* step 1.0? */ |
| 2173 | 2247 | ROM_REGION64_BE( 0x4800000, REGION_USER1, 0 ) /* program + data ROMs */ |
| 2174 | 2248 | // CROM |
| r2935 | r2936 | |
| 2225 | 2299 | ROM_LOAD_VROM( "mpr-19226.41", 0x00000c, 0x200000, CRC(00091722) SHA1(ef86db36b4b91a66b3e401c3c91735b9d28da2e2) ) |
| 2226 | 2300 | |
| 2227 | 2301 | ROM_REGION( 0x100000, REGION_CPU2, 0 ) /* 68000 code */ |
| 2228 | | ROM_LOAD16_WORD_SWAP( "epr-19231.21", 0x080000, 0x020000, CRC(f2ae2558) SHA1(7ab5fc508ffd1b0c9f3e70f4d3edeae44e3a0dc4) ) |
| 2302 | ROM_LOAD16_WORD_SWAP( "epr19231.21", 0x080000, 0x080000, CRC(b416fe96) SHA1(b508eb6802072a8d4f8fdc7ca4fba6c6a4aaadae) ) |
| 2229 | 2303 | |
| 2230 | 2304 | // Samples |
| 2231 | 2305 | ROM_REGION( 0x800000, REGION_SOUND1, 0 ) /* SCSP samples */ |
| r2935 | r2936 | |
| 2434 | 2508 | |
| 2435 | 2509 | // Samples |
| 2436 | 2510 | ROM_REGION( 0x800000, REGION_SOUND1, 0 ) /* SCSP samples */ |
| 2437 | | ROM_LOAD( "mpr-19934.22", 0x000000, 0x200000, CRC(661b09d0) SHA1(cc4a30aa9fe17964808a7ae967de8f64da36379a) ) |
| 2438 | | ROM_LOAD( "mpr-19935.24", 0x200000, 0x200000, CRC(6436e483) SHA1(f81b846e7898ec0172b50d74bb7f9062b81f38a8) ) |
| 2439 | | ROM_LOAD( "mpr-19934.22", 0x400000, 0x200000, CRC(661b09d0) SHA1(cc4a30aa9fe17964808a7ae967de8f64da36379a) ) |
| 2440 | | ROM_LOAD( "mpr-19935.24", 0x600000, 0x200000, CRC(6436e483) SHA1(f81b846e7898ec0172b50d74bb7f9062b81f38a8) ) |
| 2511 | ROM_LOAD( "mpr19934.22", 0x000000, 0x400000, CRC(c7d8e194) SHA1(1d6a864a6f242219d13d5f96086a7d59c0e96e31) ) |
| 2512 | ROM_LOAD( "mpr19935.24", 0x400000, 0x400000, CRC(91c1b618) SHA1(36573304e9a7f19e17b31a69de9b25d9893bc2dc) ) |
| 2441 | 2513 | |
| 2442 | 2514 | |
| 2443 | 2515 | ROM_REGION( 0x20000, REGION_CPU3, 0 ) /* Z80 code */ |
| r2935 | r2936 | |
| 3994 | 4066 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 3995 | 4067 | ROM_END |
| 3996 | 4068 | |
| 4069 | |
| 4070 | |
| 4071 | |
| 4072 | ROM_START( ecax ) /* Step 2.1 */ |
| 4073 | ROM_REGION64_BE( 0x4800000, REGION_USER1, 0 ) /* program + data ROMs */ |
| 4074 | // CROM |
| 4075 | ROM_LOAD64_WORD_SWAP( "epr22903.17", 0x000006, 0x200000, CRC(53882217) SHA1(163cbc92ff88671882cc1af377ceec80ba9f36db) ) |
| 4076 | ROM_LOAD64_WORD_SWAP( "epr22904.18", 0x000004, 0x200000, CRC(0ff828a8) SHA1(2a74414891ceb5989e6ccb6e9d597f7d2e31fec4) ) // == epr22896.18 |
| 4077 | ROM_LOAD64_WORD_SWAP( "epr22905.19", 0x000002, 0x200000, CRC(9755dd8c) SHA1(41f27a303f4af179f17520d0c2d6a0aa4467aae8) ) // == epr22897.19 |
| 4078 | ROM_LOAD64_WORD_SWAP( "epr22906.20", 0x000000, 0x200000, CRC(7f6426fc) SHA1(b16e6f76cb35db05138aa807e3477a82139b291d) ) |
| 4079 | |
| 4080 | // CROM0 |
| 4081 | ROM_LOAD64_WORD_SWAP( "mpr22870.1", 0x800006, 0x400000, CRC(52054043) SHA1(f07c1f95a5847393c9e640c10cd14e2a3750b3ff) ) |
| 4082 | ROM_LOAD64_WORD_SWAP( "mpr22871.2", 0x800004, 0x400000, CRC(cf5bb5b5) SHA1(fd056fcf9a48854faa357014c2cb4a6ed301c3a6) ) |
| 4083 | ROM_LOAD64_WORD_SWAP( "mpr22872.3", 0x800002, 0x400000, CRC(4fde63a1) SHA1(72f88e514caea28eeee9e57e55c835c490465df0) ) |
| 4084 | ROM_LOAD64_WORD_SWAP( "mpr22873.4", 0x800000, 0x400000, CRC(dd406330) SHA1(e17ed1814cb84820f19922eef27bbad65be1d355) ) |
| 4085 | |
| 4086 | // CROM1 |
| 4087 | ROM_LOAD64_WORD_SWAP( "mpr22874.5", 0x1800006, 0x400000, CRC(5e990497) SHA1(f0df52a19a11ef23f82e88eddbacdcb2a6357ded) ) |
| 4088 | ROM_LOAD64_WORD_SWAP( "mpr22875.6", 0x1800004, 0x400000, CRC(1bb5c018) SHA1(5d0146c32f6a50613340ba0d2f5cc5430b595965) ) |
| 4089 | ROM_LOAD64_WORD_SWAP( "mpr22876.7", 0x1800002, 0x400000, CRC(a7561249) SHA1(b4217cb088234831ca2e9486af849866790bf704) ) |
| 4090 | ROM_LOAD64_WORD_SWAP( "mpr22877.8", 0x1800000, 0x400000, CRC(e53b8764) SHA1(03756ef0526aa0b56c2944336590918d8ff9a9b8) ) |
| 4091 | |
| 4092 | // CROM3 |
| 4093 | ROM_LOAD64_WORD_SWAP( "epr22882.13", 0x3800006, 0x400000, CRC(b161416f) SHA1(753810fa4db80a2d3a333a257dc92095a112d282) ) |
| 4094 | ROM_LOAD64_WORD_SWAP( "epr22883.14", 0x3800004, 0x400000, CRC(86d90148) SHA1(4336efb9e3d62cc5e8073993c44cbe49141d987f) ) |
| 4095 | ROM_LOAD64_WORD_SWAP( "epr22884.15", 0x3800002, 0x400000, CRC(254c3b63) SHA1(b5cd94ecbffb6f0da70fb2cb7541d5bfc96cb67c) ) |
| 4096 | ROM_LOAD64_WORD_SWAP( "epr22885.16", 0x3800000, 0x400000, CRC(3525b46d) SHA1(d7914cd5c558b50b9115303f77bef63e04316b29) ) |
| 4097 | |
| 4098 | ROM_REGION( 0x2000000, REGION_USER3, ROMREGION_DISPOSE ) /* Video ROMs Part 1 */ |
| 4099 | ROM_LOAD_VROM( "mpr22854.26", 0x000002, 0x400000, CRC(97a23d16) SHA1(17a11a3e1b1806f7b994955ae22dd0e5333d47ea) ) |
| 4100 | ROM_LOAD_VROM( "mpr22855.27", 0x000000, 0x400000, CRC(7249cdc9) SHA1(4bd07d911382cc569e09fb888858806d06809f9f) ) |
| 4101 | ROM_LOAD_VROM( "mpr22856.28", 0x000006, 0x400000, CRC(9c0d1d1b) SHA1(f15c756fb262e15d784328ed3f731aea40797d98) ) |
| 4102 | ROM_LOAD_VROM( "mpr22857.29", 0x000004, 0x400000, CRC(44e6ce2b) SHA1(03a33417dc96d3ddcbeb92422654f75f620ef265) ) |
| 4103 | ROM_LOAD_VROM( "mpr22858.30", 0x00000a, 0x400000, CRC(0af40aae) SHA1(1af762e09af932d267b860712fa46eaf4b1500ac) ) |
| 4104 | ROM_LOAD_VROM( "mpr22859.31", 0x000008, 0x400000, CRC(c64f0158) SHA1(b92dba07e52b4fdabc9bd4bbd26cc41cdab0414d) ) |
| 4105 | ROM_LOAD_VROM( "mpr22860.32", 0x00000e, 0x400000, CRC(053af14b) SHA1(6d13609e52a4999d6dca3c4da695ebd973b06b7e) ) |
| 4106 | ROM_LOAD_VROM( "mpr22861.33", 0x00000c, 0x400000, CRC(d26343da) SHA1(9d8c860c388cc2434cc8d753cde139096c12e79e) ) |
| 4107 | |
| 4108 | ROM_REGION( 0x2000000, REGION_USER4, ROMREGION_DISPOSE ) /* Video ROMs Part 2 */ |
| 4109 | ROM_LOAD_VROM( "mpr22862.34", 0x000002, 0x400000, CRC(38347c14) SHA1(6222a5001d3a6ed8e8ff3010284658dbc69edee6) ) |
| 4110 | ROM_LOAD_VROM( "mpr22863.35", 0x000000, 0x400000, CRC(28b558e6) SHA1(9b4849499baebbd2ea81d00663dff0d40c9db602) ) |
| 4111 | ROM_LOAD_VROM( "mpr22864.36", 0x000006, 0x400000, CRC(31ed02f6) SHA1(a669aa8a42ff70562c86f348fcf4be6f14c2f650) ) |
| 4112 | ROM_LOAD_VROM( "mpr22865.37", 0x000004, 0x400000, CRC(3e3a211a) SHA1(422f960914a6604de59b110b18f3e67ed9116f22) ) |
| 4113 | ROM_LOAD_VROM( "mpr22866.38", 0x00000a, 0x400000, CRC(a863a3c8) SHA1(52e13b76a3698deef05df4c607d047e6362d81c0) ) |
| 4114 | ROM_LOAD_VROM( "mpr22867.39", 0x000008, 0x400000, CRC(1ce6c7b2) SHA1(d5fd49f9838d3dc636366c436c507ac2b4f2596e) ) |
| 4115 | ROM_LOAD_VROM( "mpr22868.40", 0x00000e, 0x400000, CRC(2db40cf8) SHA1(be1e04aeb5034c2edc5c0ad153700c385a1b773a) ) |
| 4116 | ROM_LOAD_VROM( "mpr22869.41", 0x00000c, 0x400000, CRC(c6d62634) SHA1(72d493653b50fb31333f70c7ee143a8c7531106f) ) |
| 4117 | |
| 4118 | ROM_REGION( 0x100000, REGION_CPU2, 0 ) /* 68000 code */ |
| 4119 | ROM_LOAD16_WORD_SWAP( "epr22886.21", 0x080000, 0x080000, CRC(374ec1c6) SHA1(b06e678db191971f6701bd1f739815d00d4cfb3e) ) |
| 4120 | |
| 4121 | // Samples |
| 4122 | ROM_REGION( 0x1000000, REGION_SOUND1, 0 ) /* SCSP samples */ |
| 4123 | ROM_LOAD( "mpr22887.22", 0x000000, 0x400000, CRC(7d04a867) SHA1(053de98105880188b4daff183710d7932617547f) ) |
| 4124 | ROM_LOAD( "mpr22889.24", 0x400000, 0x400000, CRC(4f9ba45d) SHA1(d60314e852637edf6510be52b9b6576a1f3e1b7e) ) |
| 4125 | ROM_LOAD( "mpr22888.23", 0x800000, 0x400000, CRC(018fcf22) SHA1(c5133358f591d699f177617463e7dfa22edf5369) ) |
| 4126 | ROM_LOAD( "mpr22890.25", 0xc00000, 0x400000, CRC(b638bd7c) SHA1(ed9c69175fd0ca4c6f22e542b4e68398a6e4ad07) ) |
| 4127 | |
| 4128 | ROM_REGION( 0x20000, REGION_CPU3, 0 ) /* Z80 code */ |
| 4129 | ROM_FILL( 0x000000, 0x20000, 0 ) |
| 4130 | |
| 4131 | ROM_REGION( 0x1000000, REGION_SOUND2, 0 ) /* DSB samples */ |
| 4132 | ROM_FILL( 0x000000, 0x1000000, 0 ) |
| 4133 | |
| 4134 | ROM_REGION( 0x80000, REGION_SOUND3, 0 ) /* second SCSP's RAM */ |
| 4135 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 4136 | ROM_END |
| 4137 | |
| 4138 | |
| 3997 | 4139 | /* Model 3 sound board emulation */ |
| 3998 | 4140 | |
| 3999 | 4141 | static WRITE16_HANDLER( model3snd_ctrl ) |
| r2935 | r2936 | |
| 4627 | 4769 | |
| 4628 | 4770 | |
| 4629 | 4771 | /* Model 3 Step 1.0 */ |
| 4630 | | GAME( 1996, vf3, 0, model3_10, model3, vf3, ROT0, "Sega", "Virtua Fighter 3", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4772 | GAME( 1996, vf3, 0, model3_10, model3, vf3, ROT0, "Sega", "Virtua Fighter 3 (Revision C)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4773 | GAME( 1996, vf3a, vf3, model3_10, model3, vf3, ROT0, "Sega", "Virtua Fighter 3 (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4631 | 4774 | GAME( 1996, vf3tb, vf3, model3_10, model3, model3_10, ROT0, "Sega", "Virtua Fighter 3 Team Battle", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4632 | 4775 | GAME( 1997, bass, 0, model3_10, bass, bass, ROT0, "Sega", "Sega Bass Fishing", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4633 | 4776 | GAME( 1997, getbass, bass, model3_10, bass, getbass, ROT0, "Sega", "Get Bass", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| r2935 | r2936 | |
| 4635 | 4778 | /* Model 3 Step 1.5 */ |
| 4636 | 4779 | GAME( 1996, scud, 0, model3_15, scud, scud, ROT0, "Sega", "Scud Race (Australia)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4637 | 4780 | GAME( 1996, scuda, scud, model3_15, scud, scud, ROT0, "Sega", "Scud Race (Export)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4638 | | GAME( 1997, scudp, scud, model3_15, scud, scudp, ROT0, "Sega", "Scud Race Plus", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4781 | GAME( 1997, scudp, scud, model3_15, scud, scudp, ROT0, "Sega", "Scud Race Plus (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4639 | 4782 | GAME( 1997, lostwsga, 0, model3_15, lostwsga, lostwsga, ROT0, "Sega", "The Lost World", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4640 | 4783 | GAME( 1997, vs215, vs2, model3_15, model3, vs215, ROT0, "Sega", "Virtua Striker 2 (Step 1.5)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4641 | 4784 | GAME( 1997, lemans24, 0, model3_15, scud, lemans24, ROT0, "Sega", "LeMans 24", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| r2935 | r2936 | |
| 4643 | 4786 | |
| 4644 | 4787 | /* Model 3 Step 2.0 */ |
| 4645 | 4788 | GAME( 1997, vs2, 0, model3_20, model3, vs2, ROT0, "Sega", "Virtua Striker 2 (Step 2.0)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4646 | | GAME( 1997, harley, 0, model3_20, harley, harley, ROT0, "Sega", "Harley-Davidson and L.A. Riders", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4789 | GAME( 1997, harley, 0, model3_20, harley, harley, ROT0, "Sega", "Harley-Davidson and L.A. Riders (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4647 | 4790 | GAME( 1998, skichamp, 0, model3_20, skichamp, skichamp, ROT0, "Sega", "Ski Champ", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4648 | 4791 | GAME( 1998, srally2, 0, model3_20, scud, srally2, ROT0, "Sega", "Sega Rally 2", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4649 | 4792 | GAME( 1998, sraly2dx, 0, model3_20, scud, srally2, ROT0, "Sega", "Sega Rally 2 DX", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4650 | | GAME( 1998, von2, 0, model3_20, model3, von2, ROT0, "Sega", "Virtual On 2: Oratorio Tangram", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4793 | GAME( 1998, von2, 0, model3_20, model3, von2, ROT0, "Sega", "Virtual On 2: Oratorio Tangram (Revision B)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4651 | 4794 | GAME( 1998, von254g, von2, model3_20, model3, model3_20, ROT0, "Sega", "Virtual On 2: Oratorio Tangram (ver 5.4g)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4652 | | GAME( 1998, fvipers2, 0, model3_20, model3, model3_20, ROT0, "Sega", "Fighting Vipers 2", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4795 | GAME( 1998, fvipers2, 0, model3_20, model3, model3_20, ROT0, "Sega", "Fighting Vipers 2 (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4653 | 4796 | GAME( 1998, vs298, 0, model3_20, model3, vs298, ROT0, "Sega", "Virtua Striker 2 '98 (Step 2.0)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4654 | | GAME( 1999, vs2v991, 0, model3_20, model3, vs2v991, ROT0, "Sega", "Virtua Striker 2 '99.1", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4797 | GAME( 1999, vs2v991, 0, model3_20, model3, vs2v991, ROT0, "Sega", "Virtua Striker 2 '99.1 (Revision B)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4655 | 4798 | GAME( 1999, vs299, vs2v991, model3_20, model3, vs299, ROT0, "Sega", "Virtua Striker 2 '99", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4656 | 4799 | |
| 4657 | 4800 | /* Model 3 Step 2.1 */ |
| 4658 | | GAME( 1998, daytona2, 0, model3_21, daytona2, daytona2, ROT0, "Sega", "Daytona USA 2", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4801 | GAME( 1998, daytona2, 0, model3_21, daytona2, daytona2, ROT0, "Sega", "Daytona USA 2 (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4659 | 4802 | GAME( 1998, dayto2pe, 0, model3_21, daytona2, dayto2pe, ROT0, "Sega", "Daytona USA 2 Power Edition", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4660 | | GAME( 1998, dirtdvls, 0, model3_21, model3, dirtdvls, ROT0, "Sega", "Dirt Devils", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4661 | | GAME( 1998, dirtdvla,dirtdvls, model3_21, model3, dirtdvls, ROT0, "Sega", "Dirt Devils (alt)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4662 | | GAME( 1998, swtrilgy, 0, model3_21, swtrilgy, swtrilgy, ROT0, "Sega/LucasArts", "Star Wars Trilogy (ver A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4803 | GAME( 1998, dirtdvls, 0, model3_21, model3, dirtdvls, ROT0, "Sega", "Dirt Devils (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4804 | GAME( 1998, dirtdvla,dirtdvls, model3_21, model3, dirtdvls, ROT0, "Sega", "Dirt Devils (alt) (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4805 | GAME( 1998, swtrilgy, 0, model3_21, swtrilgy, swtrilgy, ROT0, "Sega/LucasArts", "Star Wars Trilogy (Revision A)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4663 | 4806 | GAME( 1998, swtrilga,swtrilgy, model3_21, swtrilgy, swtrilga, ROT0, "Sega/LucasArts", "Star Wars Trilogy", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4664 | | GAME( 1998, spikeout, 0, model3_21, model3, spikeout, ROT0, "Sega", "Spikeout", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4807 | GAME( 1998, spikeout, 0, model3_21, model3, spikeout, ROT0, "Sega", "Spikeout (Revision C)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4665 | 4808 | GAME( 1998, spikeofe, 0, model3_21, model3, spikeofe, ROT0, "Sega", "Spikeout Final Edition", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4666 | 4809 | GAME( 1999, eca, 0, model3_21, eca, eca, ROT0, "Sega", "Emergency Call Ambulance", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
| 4810 | GAME( 1999, ecax, eca, model3_21, eca, eca, ROT0, "Sega", "Emergency Call Ambulance (Export)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND ) |
src/mame/drivers/lucky74.c
| r0 | r2936 | |
| 1 | /**************************************************************************************** |
| 2 | |
| 3 | LUCKY 74 - WING CO.LTD. |
| 4 | ----------------------- |
| 5 | |
| 6 | Driver by Roberto Fresca. |
| 7 | |
| 8 | |
| 9 | Games running on this hardware: |
| 10 | |
| 11 | * Lucky 74 (small), 1988, Wing Co.Ltd. |
| 12 | * Lucky 74 (big), 1988, Wing Co.Ltd. |
| 13 | |
| 14 | |
| 15 | ***************************************************************************************** |
| 16 | |
| 17 | |
| 18 | Hardware Notes: |
| 19 | --------------- |
| 20 | |
| 21 | CPU: 1x Big black box stickered 'WING CPU A001' (Z80 based). |
| 22 | |
| 23 | Co-Processor: 1x NPC SM7831 |
| 24 | |
| 25 | Sound: 1x Yamaha YM-2149F. |
| 26 | 1x OKI M5205 (4-bit ADPCM samples @ 8kHz). |
| 27 | |
| 28 | ROMs: 1x 27C512 (program). |
| 29 | 1x 27C512 (sound samples). |
| 30 | 8x 27C256 (graphics). |
| 31 | |
| 32 | PROMs: 6x 24s10 (color system). |
| 33 | |
| 34 | |
| 35 | Clock: 1x Xtal 12.000 MHz. |
| 36 | |
| 37 | |
| 38 | Other: 2x M5M82C255ASP (2x 8255 PPI each). |
| 39 | 1x M5L8251AP-5 (8251 UART). |
| 40 | 1x 40-legs IC silkscreened '09R81P 7K4'. |
| 41 | 1x 28-legs IC silkscreened '06B49P 2G1'. |
| 42 | 2x 28-legs IC silkscreened '06B53P 9G3'. |
| 43 | 1x 3.6V lithium battery. |
| 44 | 4x 8 DIP switches banks. |
| 45 | 1x Reset switch. |
| 46 | |
| 47 | Connectors: 1x (2x36) edge connector. |
| 48 | 1x (2x10) edge connector. |
| 49 | 1x 6-pins connector. |
| 50 | |
| 51 | |
| 52 | There are 2 extra marks on the black CPU box: |
| 53 | |
| 54 | Silkscreened: 'B 0L2' |
| 55 | |
| 56 | Sticker: 'WE8703 1992.10' |
| 57 | 'LUCKY 74-7' |
| 58 | |
| 59 | |
| 60 | PCB is original from WING Co.Ltd. |
| 61 | |
| 62 | |
| 63 | The M5M82C255ASP (82c255) is a general purpose programmable I/O. It is compatible with the 8255 |
| 64 | programmable I/O. The 82c255 is equivalent to two 8255s. It has 48 I/O lines which may be indi- |
| 65 | vidually programmed in 6 groups of 8 or 4 groups of 12 and used in 3 major modes of operation. |
| 66 | |
| 67 | |
| 68 | ***************************************************************************************** |
| 69 | |
| 70 | |
| 71 | Color Circuitry |
| 72 | --------------- |
| 73 | |
| 74 | Here is a little diagram showing how the color PROMs are connected to a 74174 |
| 75 | and therefore to a resistor network that derives to the RGB connector. |
| 76 | |
| 77 | |
| 78 | 220 |
| 79 | (E6)24s10-12 -+- 74174-02 ---/\/\/\----+ |
| 80 | (E7)24s10-12 _| | |
| 81 | 470 | |
| 82 | (E6)24s10-11 -+- 74174-10 ---/\/\/\----+ |
| 83 | (E7)24s10-11 _| | |
| 84 | 1K | |
| 85 | (E6)24s10-10 -+- 74174-12 ---/\/\/\----+ |
| 86 | (E7)24s10-10 _| | |
| 87 | 2K | |
| 88 | (E6)24s10-09 -+- 74174-15 ---/\/\/\----+---> Red |
| 89 | (E7)24s10-09 _| | |
| 90 | / |
| 91 | 1K \ |
| 92 | / |
| 93 | | |
| 94 | _ |
| 95 | |
| 96 | 220 |
| 97 | (D6)24s10-12 -+- 74174-02 ---/\/\/\----+ |
| 98 | (D7)24s10-12 _| | |
| 99 | 470 | |
| 100 | (D6)24s10-11 -+- 74174-10 ---/\/\/\----+ |
| 101 | (D7)24s10-11 _| | |
| 102 | 1K | |
| 103 | (D6)24s10-10 -+- 74174-12 ---/\/\/\----+ |
| 104 | (D7)24s10-10 _| | |
| 105 | 2K | |
| 106 | (D6)24s10-09 -+- 74174-15 ---/\/\/\----+---> Green |
| 107 | (D7)24s10-09 _| | |
| 108 | / |
| 109 | 1K \ |
| 110 | / |
| 111 | | |
| 112 | _ |
| 113 | |
| 114 | 220 |
| 115 | (C6)24s10-12 -+- 74174-02 ---/\/\/\----+ |
| 116 | (C7)24s10-12 _| | |
| 117 | 470 | |
| 118 | (C6)24s10-11 -+- 74174-10 ---/\/\/\----+ |
| 119 | (C7)24s10-11 _| | |
| 120 | 1K | |
| 121 | (C6)24s10-10 -+- 74174-12 ---/\/\/\----+ |
| 122 | (C7)24s10-10 _| | |
| 123 | 2K | |
| 124 | (C6)24s10-09 -+- 74174-15 ---/\/\/\----+---> Blue |
| 125 | (C7)24s10-09 _| | |
| 126 | / |
| 127 | 1K \ |
| 128 | / |
| 129 | | |
| 130 | _ |
| 131 | |
| 132 | |
| 133 | Regarding the abobe diagram, there are 2 different states controlled by some bit. |
| 134 | Each state drives a different palette that will be assigned to each graphics bank. |
| 135 | |
| 136 | As we can see here, same pin of different PROMs are connected together in parallel. |
| 137 | We need to check the pin 13 (/G1) and pin 14 (/G2) from each PROM to see if they are |
| 138 | connected to the same signal, and futhermore check if one or the other is tied to GND. |
| 139 | |
| 140 | To reproduce the states, we need to create a double-sized palette and fill the first |
| 141 | half with the values created through state 1, then fill the second half with proper |
| 142 | values from state 2. |
| 143 | |
| 144 | |
| 145 | ***************************************************************************************** |
| 146 | |
| 147 | |
| 148 | *** Dev Notes *** |
| 149 | |
| 150 | |
| 151 | - Sound seems to be triggered at 0xf100. Each event writes sequences |
| 152 | like 0x84 0x07 0x99 0x9c 0x9f... |
| 153 | |
| 154 | - After z80 port 0x00 request, there are writes to port 0x00 to 0x05. |
| 155 | |
| 156 | |
| 157 | |
| 158 | ***************************************************************************************** |
| 159 | |
| 160 | |
| 161 | *** Game Notes *** |
| 162 | |
| 163 | |
| 164 | This game was one of the 'classics'. |
| 165 | |
| 166 | Lucky 74 is a strip poker game with anime theme. It has a nice double-up feature, and |
| 167 | the objective is obviously to win hands till you can see the girl naked, like other |
| 168 | strip poker games. |
| 169 | |
| 170 | |
| 171 | To enter the test mode, press F2 and then reset. To exit, press F2 again and then reset. |
| 172 | |
| 173 | To enter the book-keeping mode, press BOOKS (key 0), and then press BOOKS again to |
| 174 | change between pages. Press START (key 1) to exit the mode. |
| 175 | |
| 176 | |
| 177 | |
| 178 | - DIP Switch 3-7 change the pay table. |
| 179 | |
| 180 | Table 1 (per unit): 500 100 40 10 7 5 3 2 1 |
| 181 | Table 2 (per unit): 500 200 100 40 10 7 5 3 2 |
| 182 | |
| 183 | |
| 184 | If Bet Max (DSW3-1) is 20: |
| 185 | |
| 186 | Table 1 (max): 10000 2000 800 200 140 100 60 40 20 |
| 187 | Table 2 (max): 10000 4000 2000 800 200 140 100 60 40 |
| 188 | |
| 189 | If Bet Max (DSW3-1) is 40: |
| 190 | |
| 191 | Table 1 (max): 20000 4000 1600 400 280 200 120 80 40 |
| 192 | Table 2 (max): 20000 8000 4000 1600 400 280 200 120 80 |
| 193 | |
| 194 | |
| 195 | |
| 196 | ***************************************************************************************** |
| 197 | |
| 198 | |
| 199 | -------------------- |
| 200 | *** Memory Map *** |
| 201 | -------------------- |
| 202 | |
| 203 | 0x0000 - 0xBFFF ; ROM space. |
| 204 | 0xC000 - 0xCFFF ; NVRAM (settings, meters, etc). |
| 205 | 0xD000 - 0xD7FF ; Video RAM 1 (VRAM1-1). |
| 206 | 0xD800 - 0xDFFF ; Color RAM 1 (VRAM1-2). |
| 207 | 0xE000 - 0xE7FF ; Video RAM 2 (VRAM2-1). |
| 208 | 0xE800 - 0xEFFF ; Color RAM 2 (VRAM2-2). |
| 209 | 0xF000 - 0xF003 ; PPI8255_0 --> Input Ports 0 & 1. |
| 210 | 0xF080 - 0xF083 ; PPI8255_2 --> DSW1, DSW2, DSW3. |
| 211 | 0xF0C0 - 0xF0C3 ; PPI8255_3 --> DSW4. |
| 212 | 0xF200 - 0xF203 ; PPI8255_1 --> Input Ports 2 & 4. |
| 213 | 0xF400 - 0xF400 ; YM2149 control port 0. |
| 214 | 0xF600 - 0xF600 ; YM2149 R/W port 0 (Input Port 3). |
| 215 | |
| 216 | |
| 217 | |
| 218 | ***************************************************************************************** |
| 219 | |
| 220 | |
| 221 | DRIVER UPDATES: |
| 222 | |
| 223 | |
| 224 | [2008-07-06] |
| 225 | |
| 226 | - Initial release. |
| 227 | - Set the proper screen size. |
| 228 | - Decoded graphics. |
| 229 | - Decoded the dual-state color circuitry. |
| 230 | - Mapped the NVRAM, VRAM1-1, VRAM1-2, VRAM2-1 and VRAM2-2 properly. |
| 231 | - Emulated 2x PPI 8255 devices. |
| 232 | - Mapped the 4x DIP switches banks. |
| 233 | - Added PORT_DIPLOCATION to all DIP switches. |
| 234 | - Added DIP switches for 'Bet Max' and 'Limit'. |
| 235 | - Added DIP switches for 'Jackpot' and 'Pay Table'. |
| 236 | - Added the Memory Reset Switch. |
| 237 | - Added the 2nd video & color RAM. |
| 238 | - Added a 2nd tilemap for background graphics. |
| 239 | - Simplified the graphics banks. |
| 240 | - Fixed colors for foreground graphics. |
| 241 | - Fixed visible area to show the top of background graphics. |
| 242 | - Finally fixed colors for background graphics. |
| 243 | - Added all coinage DIP switches. |
| 244 | - Mapped all remaining inputs (service and player buttons). |
| 245 | - Added pulse time limitation to coins A, B & C. |
| 246 | - Switched to use 4x 8255 in replace of 2x 82c255 for I/O. |
| 247 | - Created a handler to feed the z80 port0 requests. |
| 248 | - Promoted lucky74s to 'working' state. |
| 249 | - Added an alternate set, but the program ROM looks like incomplete, |
| 250 | protected or just a bad dump. |
| 251 | - Parent/clone relationship. |
| 252 | - Added technical notes. |
| 253 | |
| 254 | From Dox: |
| 255 | |
| 256 | - Hooked interrupts. |
| 257 | - Hooked the AY8910 and therefore the NMI trigger. |
| 258 | - Changed the input "Key In" to active high. |
| 259 | |
| 260 | |
| 261 | TODO: |
| 262 | |
| 263 | - Fix sounds (YM-2149F). |
| 264 | - Add ADPCM samples (OKI M5205). |
| 265 | - Figure out the unknown R/W. |
| 266 | - Switch the color system to RESNET. |
| 267 | - USART comm. |
| 268 | - Co-processor. |
| 269 | |
| 270 | |
| 271 | *****************************************************************************************/ |
| 272 | |
| 273 | |
| 274 | #define MASTER_CLOCK XTAL_12MHz /* confirmed */ |
| 275 | |
| 276 | #include "driver.h" |
| 277 | #include "sound/ay8910.h" |
| 278 | #include "sound/msm5205.h" |
| 279 | #include "machine/8255ppi.h" |
| 280 | |
| 281 | static UINT8 unk; |
| 282 | |
| 283 | |
| 284 | /************************* |
| 285 | * Video Hardware * |
| 286 | *************************/ |
| 287 | |
| 288 | static UINT8 *videoram1, *videoram2, *colorram1, *colorram2; |
| 289 | static tilemap *fg_tilemap, *bg_tilemap; |
| 290 | |
| 291 | |
| 292 | static WRITE8_HANDLER( lucky74_videoram1_w ) |
| 293 | { |
| 294 | videoram1[offset] = data; |
| 295 | tilemap_mark_tile_dirty(fg_tilemap, offset); |
| 296 | } |
| 297 | |
| 298 | static WRITE8_HANDLER( lucky74_colorram1_w ) |
| 299 | { |
| 300 | colorram1[offset] = data; |
| 301 | tilemap_mark_tile_dirty(fg_tilemap, offset); |
| 302 | } |
| 303 | |
| 304 | static WRITE8_HANDLER( lucky74_videoram2_w ) |
| 305 | { |
| 306 | videoram2[offset] = data; |
| 307 | tilemap_mark_tile_dirty(bg_tilemap, offset); |
| 308 | } |
| 309 | |
| 310 | static WRITE8_HANDLER( lucky74_colorram2_w ) |
| 311 | { |
| 312 | colorram2[offset] = data; |
| 313 | tilemap_mark_tile_dirty(bg_tilemap, offset); |
| 314 | } |
| 315 | |
| 316 | |
| 317 | static TILE_GET_INFO( get_fg_tile_info ) |
| 318 | { |
| 319 | /* - bits - |
| 320 | 7654 3210 |
| 321 | ---- xxxx tiles color. |
| 322 | xxxx ---- tiles page offset. |
| 323 | */ |
| 324 | int bank = 0; |
| 325 | int attr = colorram1[tile_index]; |
| 326 | int code = videoram1[tile_index] + ((attr & 0xf0) << 4); |
| 327 | int color = (attr & 0x0f); |
| 328 | |
| 329 | SET_TILE_INFO(bank, code, color, 0); |
| 330 | } |
| 331 | |
| 332 | |
| 333 | static TILE_GET_INFO( get_bg_tile_info ) |
| 334 | { |
| 335 | /* - bits - |
| 336 | 7654 3210 |
| 337 | ---- xxxx tiles color. |
| 338 | xxxx ---- tiles page offset. |
| 339 | */ |
| 340 | int bank = 1; |
| 341 | int attr = colorram2[tile_index]; |
| 342 | int code = videoram2[tile_index] + ((attr & 0xf0) << 4); |
| 343 | int color = (attr & 0x0f); |
| 344 | |
| 345 | SET_TILE_INFO(bank, code, color, 0); |
| 346 | } |
| 347 | |
| 348 | |
| 349 | static VIDEO_START( lucky74 ) |
| 350 | { |
| 351 | bg_tilemap = tilemap_create(get_bg_tile_info, tilemap_scan_rows, 8, 8, 64, 32); |
| 352 | fg_tilemap = tilemap_create(get_fg_tile_info, tilemap_scan_rows, 8, 8, 64, 32); |
| 353 | |
| 354 | tilemap_set_transparent_pen(fg_tilemap, 0); |
| 355 | } |
| 356 | |
| 357 | |
| 358 | static VIDEO_UPDATE( lucky74 ) |
| 359 | { |
| 360 | tilemap_draw(bitmap, cliprect, bg_tilemap, 0, 0); |
| 361 | tilemap_draw(bitmap, cliprect, fg_tilemap, 0, 0); |
| 362 | return 0; |
| 363 | } |
| 364 | |
| 365 | |
| 366 | static PALETTE_INIT( lucky74 ) |
| 367 | /* |
| 368 | There are 2 states (see the technical notes). |
| 369 | We're constructing a double-sized palette with one half for each state. |
| 370 | */ |
| 371 | { |
| 372 | int i; |
| 373 | |
| 374 | for (i = 0; i < 256; i++) |
| 375 | { |
| 376 | int bit0, bit1, bit2, bit3, r1, g1, b1, r2, g2, b2; |
| 377 | |
| 378 | /* red component (state 1, PROM E6) */ |
| 379 | bit0 = (color_prom[0x000 + i] >> 0) & 0x01; |
| 380 | bit1 = (color_prom[0x000 + i] >> 1) & 0x01; |
| 381 | bit2 = (color_prom[0x000 + i] >> 2) & 0x01; |
| 382 | bit3 = (color_prom[0x000 + i] >> 3) & 0x01; |
| 383 | r1 = 0x0e * bit0 + 0x1f * bit1 + 0x43 * bit2 + 0x8f * bit3; |
| 384 | |
| 385 | /* red component (state 2, PROM E7) */ |
| 386 | bit0 = (color_prom[0x100 + i] >> 0) & 0x01; |
| 387 | bit1 = (color_prom[0x100 + i] >> 1) & 0x01; |
| 388 | bit2 = (color_prom[0x100 + i] >> 2) & 0x01; |
| 389 | bit3 = (color_prom[0x100 + i] >> 3) & 0x01; |
| 390 | r2 = 0x0e * bit0 + 0x1f * bit1 + 0x43 * bit2 + 0x8f * bit3; |
| 391 | |
| 392 | /* green component (state 1, PROM D6) */ |
| 393 | bit0 = (color_prom[0x200 + i] >> 0) & 0x01; |
| 394 | bit1 = (color_prom[0x200 + i] >> 1) & 0x01; |
| 395 | bit2 = (color_prom[0x200 + i] >> 2) & 0x01; |
| 396 | bit3 = (color_prom[0x200 + i] >> 3) & 0x01; |
| 397 | g1 = 0x0e * bit0 + 0x1f * bit1 + 0x43 * bit2 + 0x8f * bit3; |
| 398 | |
| 399 | /* green component (state 2, PROM D7) */ |
| 400 | bit0 = (color_prom[0x300 + i] >> 0) & 0x01; |
| 401 | bit1 = (color_prom[0x300 + i] >> 1) & 0x01; |
| 402 | bit2 = (color_prom[0x300 + i] >> 2) & 0x01; |
| 403 | bit3 = (color_prom[0x300 + i] >> 3) & 0x01; |
| 404 | g2 = 0x0e * bit0 + 0x1f * bit1 + 0x43 * bit2 + 0x8f * bit3; |
| 405 | |
| 406 | /* blue component (state 1, PROM C6) */ |
| 407 | bit0 = (color_prom[0x400 + i] >> 0) & 0x01; |
| 408 | bit1 = (color_prom[0x400 + i] >> 1) & 0x01; |
| 409 | bit2 = (color_prom[0x400 + i] >> 2) & 0x01; |
| 410 | bit3 = (color_prom[0x400 + i] >> 3) & 0x01; |
| 411 | b1 = 0x0e * bit0 + 0x1f * bit1 + 0x43 * bit2 + 0x8f * bit3; |
| 412 | |
| 413 | /* blue component (state 2, PROM C7) */ |
| 414 | bit0 = (color_prom[0x500 + i] >> 0) & 0x01; |
| 415 | bit1 = (color_prom[0x500 + i] >> 1) & 0x01; |
| 416 | bit2 = (color_prom[0x500 + i] >> 2) & 0x01; |
| 417 | bit3 = (color_prom[0x500 + i] >> 3) & 0x01; |
| 418 | b2 = 0x0e * bit0 + 0x1f * bit1 + 0x43 * bit2 + 0x8f * bit3; |
| 419 | |
| 420 | |
| 421 | /* PROMs circuitry, 1st state */ |
| 422 | palette_set_color(machine, i, MAKE_RGB(r1, g1, b1)); |
| 423 | |
| 424 | /* PROMs circuitry, 2nd state */ |
| 425 | palette_set_color(machine, i + 256, MAKE_RGB(r2, g2, b2)); |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | |
| 430 | /***************************** |
| 431 | * Read/Write Handlers * |
| 432 | *****************************/ |
| 433 | |
| 434 | static READ8_HANDLER( testport_rw ) |
| 435 | { |
| 436 | return 0xff; |
| 437 | } |
| 438 | |
| 439 | static WRITE8_HANDLER( unk_w ) |
| 440 | { |
| 441 | unk = data; |
| 442 | } |
| 443 | |
| 444 | |
| 445 | /************************ |
| 446 | * Interrupts Gen * |
| 447 | ************************/ |
| 448 | |
| 449 | static INTERRUPT_GEN( nmi_interrupt ) |
| 450 | { |
| 451 | if ((unk & 0x10) == 0) /* ym2149 portB bit 4 trigger the NMI */ |
| 452 | { |
| 453 | cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, PULSE_LINE); |
| 454 | } |
| 455 | } |
| 456 | |
| 457 | |
| 458 | /************************* |
| 459 | * Memory Map Information * |
| 460 | *************************/ |
| 461 | |
| 462 | static ADDRESS_MAP_START( lucky74_map, ADDRESS_SPACE_PROGRAM, 8 ) |
| 463 | AM_RANGE(0x0000, 0xbfff) AM_ROM |
| 464 | AM_RANGE(0xc000, 0xcfff) AM_RAM AM_BASE(&generic_nvram) AM_SIZE(&generic_nvram_size) /* NVRAM */ |
| 465 | AM_RANGE(0xd000, 0xd7ff) AM_RAM AM_WRITE(lucky74_videoram1_w) AM_BASE(&videoram1) /* VRAM1-1 */ |
| 466 | AM_RANGE(0xd800, 0xdfff) AM_RAM AM_WRITE(lucky74_colorram1_w) AM_BASE(&colorram1) /* VRAM1-2 */ |
| 467 | AM_RANGE(0xe000, 0xe7ff) AM_RAM AM_WRITE(lucky74_videoram2_w) AM_BASE(&videoram2) /* VRAM2-1 */ |
| 468 | AM_RANGE(0xe800, 0xefff) AM_RAM AM_WRITE(lucky74_colorram2_w) AM_BASE(&colorram2) /* VRAM2-2 */ |
| 469 | AM_RANGE(0xf000, 0xf003) AM_DEVREADWRITE(PPI8255, "ppi8255_0", ppi8255_r, ppi8255_w) /* Input Ports 0 & 1 */ |
| 470 | AM_RANGE(0xf080, 0xf083) AM_DEVREADWRITE(PPI8255, "ppi8255_2", ppi8255_r, ppi8255_w) /* DSW 1, 2 & 3 */ |
| 471 | AM_RANGE(0xf0c0, 0xf0c3) AM_DEVREADWRITE(PPI8255, "ppi8255_3", ppi8255_r, ppi8255_w) /* DSW 4 */ |
| 472 | AM_RANGE(0xf200, 0xf203) AM_DEVREADWRITE(PPI8255, "ppi8255_1", ppi8255_r, ppi8255_w) /* Input Ports 2 & 4 */ |
| 473 | AM_RANGE(0xf400, 0xf400) AM_WRITE(AY8910_control_port_0_w) |
| 474 | AM_RANGE(0xf600, 0xf600) AM_READWRITE(AY8910_read_port_0_r, AY8910_write_port_0_w) /* YM2149 (Input Port 1) */ |
| 475 | ADDRESS_MAP_END |
| 476 | |
| 477 | static ADDRESS_MAP_START( lucky74_portmap, ADDRESS_SPACE_IO, 8 ) |
| 478 | ADDRESS_MAP_GLOBAL_MASK(0xff) |
| 479 | AM_RANGE(0x00, 0x00) AM_READ(testport_rw) |
| 480 | // AM_RANGE(0x00, 0x05) AM_WRITE(???) |
| 481 | // AM_RANGE(0xff, 0xff) AM_READWRITE(???) |
| 482 | ADDRESS_MAP_END |
| 483 | |
| 484 | /* I/O byte R/W |
| 485 | |
| 486 | 0x00 R when hang.... |
| 487 | 0x00 W unknown.... |
| 488 | 0x01 W unknown.... |
| 489 | 0x02 W unknown.... |
| 490 | 0x03 W unknown.... |
| 491 | 0x04 W unknown.... |
| 492 | 0x05 W unknown.... |
| 493 | |
| 494 | 0xFF R/W unknown.... |
| 495 | |
| 496 | ----------------- |
| 497 | |
| 498 | Unknown writes: |
| 499 | |
| 500 | |
| 501 | 0xf100 W sound? |
| 502 | 0xf300 W unknown... |
| 503 | 0xf500 W unknown... |
| 504 | |
| 505 | 0xf400 W ym2149 |
| 506 | 0xf600 R W ym2149 |
| 507 | |
| 508 | 0xf701 W unknown... |
| 509 | |
| 510 | 0xf800-03 R W unknown... |
| 511 | |
| 512 | |
| 513 | *** log *** |
| 514 | |
| 515 | cpu #0 (PC=00000105): unmapped I/O byte write to 000000FF = 04 |
| 516 | cpu #0 (PC=00000107): unmapped I/O byte read from 000000FF |
| 517 | cpu #0 (PC=00000111): unmapped I/O byte write to 000000FF = FB |
| 518 | cpu #0 (PC=00000113): unmapped I/O byte read from 000000FF |
| 519 | |
| 520 | cpu #0 (PC=0000011E): unmapped program memory byte write to 0000F400 = 07 ; YM2149 control |
| 521 | cpu #0 (PC=00000123): unmapped program memory byte write to 0000F600 = 80 ; YM2149 data |
| 522 | cpu #0 (PC=00000128): unmapped program memory byte write to 0000F400 = 0F ; YM2149 control |
| 523 | cpu #0 (PC=0000012D): unmapped program memory byte write to 0000F600 = 16 ; YM2149 data |
| 524 | |
| 525 | cpu #0 (PC=00000132): unmapped program memory byte write to 0000F003 = 92 ; PPI 8255_0 --> ports A & B as input. |
| 526 | cpu #0 (PC=00000137): unmapped program memory byte write to 0000F203 = 99 ; PPI 8255_1 --> ports A & C as input. |
| 527 | cpu #0 (PC=0000013C): unmapped program memory byte write to 0000F083 = 9B ; PPI 8255_2 --> ports A, B and half of C as input. |
| 528 | cpu #0 (PC=00000141): unmapped program memory byte write to 0000F0C3 = 90 ; PPI 8255_3 --> port A as input. |
| 529 | |
| 530 | cpu #0 (PC=0000014B): unmapped program memory byte write to 0000F100 = 9F ; unknown... |
| 531 | cpu #0 (PC=0000014F): unmapped program memory byte write to 0000F100 = BF |
| 532 | cpu #0 (PC=00000153): unmapped program memory byte write to 0000F100 = DF |
| 533 | cpu #0 (PC=00000157): unmapped program memory byte write to 0000F100 = FF |
| 534 | cpu #0 (PC=0000015B): unmapped program memory byte write to 0000F300 = 9F |
| 535 | cpu #0 (PC=0000015F): unmapped program memory byte write to 0000F300 = BF |
| 536 | cpu #0 (PC=00000163): unmapped program memory byte write to 0000F300 = DF |
| 537 | cpu #0 (PC=00000167): unmapped program memory byte write to 0000F300 = FF |
| 538 | cpu #0 (PC=0000016B): unmapped program memory byte write to 0000F500 = 9F |
| 539 | cpu #0 (PC=0000016F): unmapped program memory byte write to 0000F500 = BF |
| 540 | cpu #0 (PC=00000173): unmapped program memory byte write to 0000F500 = DF |
| 541 | cpu #0 (PC=00000177): unmapped program memory byte write to 0000F500 = FF |
| 542 | |
| 543 | cpu #0 (PC=0000017C): unmapped program memory byte write to 0000F800 = 00 ; unknown... |
| 544 | cpu #0 (PC=00000181): unmapped program memory byte write to 0000F802 = 80 |
| 545 | cpu #0 (PC=00000186): unmapped program memory byte write to 0000F803 = C3 |
| 546 | cpu #0 (PC=0000018B): unmapped program memory byte write to 0000F803 = 3C |
| 547 | |
| 548 | cpu #0 (PC=0000018F): unmapped program memory byte write to 0000F701 = 00 ; unknown... |
| 549 | cpu #0 (PC=00000192): unmapped program memory byte write to 0000F701 = 00 |
| 550 | cpu #0 (PC=00000195): unmapped program memory byte write to 0000F701 = 00 |
| 551 | cpu #0 (PC=0000019A): unmapped program memory byte write to 0000F701 = 40 |
| 552 | cpu #0 (PC=0000019F): unmapped program memory byte write to 0000F701 = 4F |
| 553 | |
| 554 | cpu #0 (PC=00000105): unmapped I/O byte write to 000000FF = 04 |
| 555 | cpu #0 (PC=00000107): unmapped I/O byte read from 000000FF |
| 556 | cpu #0 (PC=00000111): unmapped I/O byte write to 000000FF = FB |
| 557 | cpu #0 (PC=00000113): unmapped I/O byte read from 000000FF |
| 558 | |
| 559 | cpu #0 (PC=000002A6): unmapped program memory byte write to 0000F803 = 55 ; testing bits?... |
| 560 | cpu #0 (PC=000002AB): unmapped program memory byte write to 0000F803 = AA |
| 561 | cpu #0 (PC=000002B0): unmapped program memory byte write to 0000F803 = 99 |
| 562 | cpu #0 (PC=000002B5): unmapped program memory byte write to 0000F803 = 66 |
| 563 | cpu #0 (PC=000002BA): unmapped program memory byte write to 0000F801 = 22 |
| 564 | |
| 565 | */ |
| 566 | |
| 567 | /************************* |
| 568 | * Input Ports * |
| 569 | *************************/ |
| 570 | |
| 571 | static INPUT_PORTS_START( lucky74 ) |
| 572 | |
| 573 | /* Player buttons are the same for players 1 & 2. |
| 574 | Test mode shows them as dupes. Maybe are multiplexed? |
| 575 | */ |
| 576 | PORT_START_TAG("IN0") |
| 577 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Hold 1") PORT_CODE(KEYCODE_Z) /* 'A' in test mode */ |
| 578 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Hold 2") PORT_CODE(KEYCODE_X) /* 'B' in test mode */ |
| 579 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Hold 3") PORT_CODE(KEYCODE_C) /* 'C' in test mode */ |
| 580 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME("Hold 4") PORT_CODE(KEYCODE_V) /* 'D' in test mode */ |
| 581 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME("Hold 5") PORT_CODE(KEYCODE_B) /* 'E' in test mode */ |
| 582 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME("Small") PORT_CODE(KEYCODE_S) /* 'F' in test mode */ |
| 583 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Input G") PORT_CODE(KEYCODE_J) /* 'G' in test mode */ |
| 584 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Input H") PORT_CODE(KEYCODE_K) /* 'H' in test mode */ |
| 585 | |
| 586 | PORT_START_TAG("IN1") |
| 587 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("Bet") PORT_CODE(KEYCODE_2) /* 'I' in test mode */ |
| 588 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("Start") PORT_CODE(KEYCODE_1) /* 'J' in test mode */ |
| 589 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("Cancel") PORT_CODE(KEYCODE_N) /* 'K' in test mode */ |
| 590 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Double-Up") PORT_CODE(KEYCODE_3) /* 'L' in test mode */ |
| 591 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON11 ) PORT_NAME("Take Score") PORT_CODE(KEYCODE_4) /* 'M' & 'Q' in test mode */ |
| 592 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON12 ) PORT_NAME("Big") PORT_CODE(KEYCODE_A) /* 'N' in test mode */ |
| 593 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Input O & P") PORT_CODE(KEYCODE_M) /* 'O' & 'P' in test mode */ |
| 594 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* not in test mode */ |
| 595 | |
| 596 | PORT_START_TAG("IN2") |
| 597 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 598 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 599 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Books") PORT_CODE(KEYCODE_0) |
| 600 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode") PORT_CODE(KEYCODE_F2) PORT_TOGGLE |
| 601 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Pay Out") PORT_CODE(KEYCODE_E) |
| 602 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Key Out") PORT_CODE(KEYCODE_W) |
| 603 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 604 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 605 | |
| 606 | PORT_START_TAG("IN3") /* driven through YM2149, port A */ |
| 607 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) /* Coin A */ |
| 608 | PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_SERVICE ) PORT_NAME("Key In") PORT_CODE(KEYCODE_Q) |
| 609 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) /* Coin B */ |
| 610 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2) /* Coin C */ |
| 611 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Service") PORT_CODE(KEYCODE_9) |
| 612 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 613 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 614 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 615 | |
| 616 | PORT_START_TAG("IN4") |
| 617 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Memory Reset Switch") PORT_CODE(KEYCODE_R) |
| 618 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 619 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 620 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 621 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 622 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 623 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 624 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 625 | |
| 626 | PORT_START_TAG("DSW1") |
| 627 | PORT_DIPNAME( 0x01, 0x01, "Unknown 1-1" ) PORT_DIPLOCATION("DSW1:1") |
| 628 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 629 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 630 | PORT_DIPNAME( 0x02, 0x02, "Jackpot" ) PORT_DIPLOCATION("DSW1:2") |
| 631 | PORT_DIPSETTING( 0x02, "2000" ) |
| 632 | PORT_DIPSETTING( 0x00, "3000" ) |
| 633 | PORT_DIPNAME( 0x04, 0x04, "Unknown 1-3" ) PORT_DIPLOCATION("DSW1:3") |
| 634 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 635 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 636 | PORT_DIPNAME( 0x08, 0x08, "Unknown 1-4" ) PORT_DIPLOCATION("DSW1:4") |
| 637 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 638 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 639 | PORT_DIPNAME( 0x10, 0x10, "Unknown 1-5" ) PORT_DIPLOCATION("DSW1:5") |
| 640 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 641 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 642 | PORT_DIPNAME( 0x20, 0x20, "Unknown 1-6" ) PORT_DIPLOCATION("DSW1:6") |
| 643 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 644 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 645 | PORT_DIPNAME( 0x40, 0x40, "Unknown 1-7" ) PORT_DIPLOCATION("DSW1:7") |
| 646 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 647 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 648 | PORT_DIPNAME( 0x80, 0x80, "Unknown 1-8" ) PORT_DIPLOCATION("DSW1:8") |
| 649 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 650 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 651 | |
| 652 | PORT_START_TAG("DSW2") |
| 653 | /* DIPs 1-4 handle the harcoded coinage for Coin A, B and Remote credits */ |
| 654 | PORT_DIPNAME( 0x0f, 0x0f, "Coinage A, B & Remote" ) PORT_DIPLOCATION("DSW2:1,2,3,4") |
| 655 | PORT_DIPSETTING( 0x00, "A: 20 Coins/1 Credit; B: 4 Coins/1 Credit; R: 2 Pulses/1 Credit " ) |
| 656 | PORT_DIPSETTING( 0x01, "A: 15 Coins/1 Credit; B: 3 Coins/1 Credit; R: 15 Pulses/10 Credits" ) |
| 657 | PORT_DIPSETTING( 0x02, "A: 10 Coins/1 Credit; B: 2 Coins/1 Credit; R: 1 Pulse/1 Credit " ) |
| 658 | PORT_DIPSETTING( 0x03, "A: 4 Coins/1 Credit; B: 5 Coins/5 Credits; R: 4 Pulses/10 Credits " ) |
| 659 | PORT_DIPSETTING( 0x04, "A: 3 Coins/2 Credits; B: 3 Coins/10 Credits; R: 3 Pulses/20 Credits " ) |
| 660 | PORT_DIPSETTING( 0x05, "A: 3 Coins/1 Credit; B: 3 Coins/5 Credits; R: 3 Pulses/10 Credits " ) |
| 661 | PORT_DIPSETTING( 0x06, "A: 2 Coins/1 Credit; B: 2 Coins/5 Credits; R: 1 Pulse/5 Credits " ) |
| 662 | PORT_DIPSETTING( 0x07, "A: 5 Coins/1 Credit; B: 1 Coin/1 Credit; R: 1 Pulse/2 Credits " ) |
| 663 | PORT_DIPSETTING( 0x08, "A: 5 Coins/2 Credits; B: 1 Coin/2 Credits; R: 1 Pulse/4 Credits " ) |
| 664 | PORT_DIPSETTING( 0x09, "A: 5 Coins/3 Credits; B: 1 Coin/3 Credits; R: 1 Pulse/6 Credits " ) |
| 665 | PORT_DIPSETTING( 0x0a, "A: 5 Coins/4 Credits; B: 1 Coin/4 Credits; R: 1 Pulse/8 Credits " ) |
| 666 | PORT_DIPSETTING( 0x0b, "A: 1 Coin/1 Credit; B: 1 Coin/5 Credits; R: 1 Pulse/10 Credits " ) |
| 667 | PORT_DIPSETTING( 0x0c, "A: 5 Coins/6 Credits; B: 1 Coin/6 Credits; R: 1 Pulse/12 Credits " ) |
| 668 | PORT_DIPSETTING( 0x0d, "A: 1 Coin/2 Credits; B: 1 Coin/10 Credits; R: 1 Pulse/20 Credits " ) |
| 669 | PORT_DIPSETTING( 0x0e, "A: 1 Coin/5 Credits; B: 1 Coin/25 Credits; R: 1 Pulse/50 Credits " ) |
| 670 | PORT_DIPSETTING( 0x0f, "A: 1 Coin/10 Credits; B: 1 Coin/50 Credits; R: 1 Pulse/100 Credits " ) |
| 671 | /* DIPs 5-8 handle the Coin C coinage */ |
| 672 | PORT_DIPNAME( 0xf0, 0xf0, "Coinage C" ) PORT_DIPLOCATION("DSW2:5,6,7,8") |
| 673 | PORT_DIPSETTING( 0x00, "10 Coins/1 Credit" ) |
| 674 | PORT_DIPSETTING( 0x10, DEF_STR( 5C_1C ) ) |
| 675 | PORT_DIPSETTING( 0x30, DEF_STR( 4C_1C ) ) |
| 676 | PORT_DIPSETTING( 0x40, DEF_STR( 3C_1C ) ) |
| 677 | PORT_DIPSETTING( 0x20, "5 Coins/2 Credits" ) /* 2.5 coins per credit */ |
| 678 | PORT_DIPSETTING( 0x50, DEF_STR( 2C_1C ) ) |
| 679 | PORT_DIPSETTING( 0x70, DEF_STR( 1C_1C ) ) |
| 680 | PORT_DIPSETTING( 0x60, DEF_STR( 2C_3C ) ) |
| 681 | PORT_DIPSETTING( 0x80, DEF_STR( 1C_2C ) ) |
| 682 | PORT_DIPSETTING( 0x90, DEF_STR( 1C_3C ) ) |
| 683 | PORT_DIPSETTING( 0xa0, DEF_STR( 1C_5C ) ) |
| 684 | PORT_DIPSETTING( 0xb0, "1 Coin/10 Credits" ) |
| 685 | PORT_DIPSETTING( 0xc0, "1 Coin/20 Credits" ) |
| 686 | PORT_DIPSETTING( 0xd0, "1 Coin/25 Credits" ) |
| 687 | PORT_DIPSETTING( 0xe0, "1 Coin/40 Credits" ) |
| 688 | PORT_DIPSETTING( 0xf0, "1 Coin/50 Credits" ) |
| 689 | |
| 690 | PORT_START_TAG("DSW3") |
| 691 | PORT_DIPNAME( 0x01, 0x01, "Bet Max" ) PORT_DIPLOCATION("DSW3:1") |
| 692 | PORT_DIPSETTING( 0x01, "20" ) |
| 693 | PORT_DIPSETTING( 0x00, "40" ) |
| 694 | PORT_DIPNAME( 0x02, 0x02, "Unknown 3-2" ) PORT_DIPLOCATION("DSW3:2") |
| 695 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 696 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 697 | PORT_DIPNAME( 0x04, 0x04, "Unknown 3-3" ) PORT_DIPLOCATION("DSW3:3") |
| 698 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 699 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 700 | PORT_DIPNAME( 0x18, 0x18, "Limit" ) PORT_DIPLOCATION("DSW3:4,5") |
| 701 | PORT_DIPSETTING( 0x18, "No Limit" ) |
| 702 | PORT_DIPSETTING( 0x10, "10000" ) |
| 703 | PORT_DIPSETTING( 0x08, "15000" ) |
| 704 | PORT_DIPSETTING( 0x00, "20000" ) |
| 705 | PORT_DIPNAME( 0x20, 0x20, "Unknown 3-6" ) PORT_DIPLOCATION("DSW3:6") |
| 706 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 707 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 708 | PORT_DIPNAME( 0x40, 0x40, "Pay Table" ) PORT_DIPLOCATION("DSW3:7") |
| 709 | PORT_DIPSETTING( 0x40, "Table 1" ) /* see the game notes */ |
| 710 | PORT_DIPSETTING( 0x00, "Table 2" ) /* see the game notes */ |
| 711 | PORT_DIPNAME( 0x80, 0x80, "Unknown 3-8" ) PORT_DIPLOCATION("DSW3:8") |
| 712 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 713 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 714 | |
| 715 | PORT_START_TAG("DSW4") |
| 716 | PORT_DIPNAME( 0x01, 0x01, "Unknown 4-1" ) PORT_DIPLOCATION("DSW4:1") |
| 717 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 718 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 719 | PORT_DIPNAME( 0x02, 0x02, "Unknown 4-2" ) PORT_DIPLOCATION("DSW4:2") |
| 720 | PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) |
| 721 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 722 | PORT_DIPNAME( 0x04, 0x04, "Unknown 4-3" ) PORT_DIPLOCATION("DSW4:3") |
| 723 | PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) |
| 724 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 725 | PORT_DIPNAME( 0x08, 0x08, "Unknown 4-4" ) PORT_DIPLOCATION("DSW4:4") |
| 726 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 727 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 728 | PORT_DIPNAME( 0x10, 0x10, "Unknown 4-5" ) PORT_DIPLOCATION("DSW4:5") |
| 729 | PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) |
| 730 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 731 | PORT_DIPNAME( 0x20, 0x20, "Unknown 4-6" ) PORT_DIPLOCATION("DSW4:6") |
| 732 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 733 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 734 | PORT_DIPNAME( 0x40, 0x40, "Unknown 4-7" ) PORT_DIPLOCATION("DSW4:7") |
| 735 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 736 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 737 | PORT_DIPNAME( 0x80, 0x80, "Unknown 4-8" ) PORT_DIPLOCATION("DSW4:8") |
| 738 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 739 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 740 | INPUT_PORTS_END |
| 741 | |
| 742 | |
| 743 | /************************* |
| 744 | * Graphics Layouts * |
| 745 | *************************/ |
| 746 | |
| 747 | static const gfx_layout tilelayout = |
| 748 | { |
| 749 | 8, 8, |
| 750 | RGN_FRAC(1,4), /* 4096 tiles */ |
| 751 | 4, |
| 752 | { 0, RGN_FRAC(1,4), RGN_FRAC(2,4), RGN_FRAC(3,4) }, /* bitplanes are separated */ |
| 753 | { 0, 1, 2, 3, 4, 5, 6, 7 }, |
| 754 | { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 }, |
| 755 | 8*8 /* every char takes 8 consecutive bytes */ |
| 756 | }; |
| 757 | |
| 758 | |
| 759 | /****************************** |
| 760 | * Graphics Decode Information * |
| 761 | ******************************/ |
| 762 | |
| 763 | static GFXDECODE_START( lucky74 ) |
| 764 | GFXDECODE_ENTRY( REGION_GFX1, 0, tilelayout, 0, 16 ) /* text, frames & cards */ |
| 765 | GFXDECODE_ENTRY( REGION_GFX2, 0, tilelayout, 256, 16 ) /* title & whores */ |
| 766 | GFXDECODE_END |
| 767 | |
| 768 | |
| 769 | /************************************* |
| 770 | * PPI 82C255 (x2) Interfaces * |
| 771 | *************************************/ |
| 772 | |
| 773 | /* Each 82C255 behaves like 2x 8255. |
| 774 | Since we don't support yet, we replace both 82C255 |
| 775 | with 4x 8255... |
| 776 | */ |
| 777 | static const ppi8255_interface ppi8255_intf[4] = |
| 778 | { |
| 779 | { /* A & B as input */ |
| 780 | input_port_0_r, /* Port A read, IN0 */ |
| 781 | input_port_1_r, /* Port B read, IN1 */ |
| 782 | NULL, /* Port C read */ |
| 783 | NULL, /* Port A write */ |
| 784 | NULL, /* Port B write */ |
| 785 | NULL /* Port C write */ |
| 786 | }, |
| 787 | { /* A & C as input */ |
| 788 | input_port_2_r, /* Port A read, IN2 */ |
| 789 | NULL, /* Port B read */ |
| 790 | input_port_4_r, /* Port C read, IN4 */ |
| 791 | NULL, /* Port A write */ |
| 792 | NULL, /* Port B write */ |
| 793 | NULL /* Port C write */ |
| 794 | }, |
| 795 | { /* A, B & C as input */ |
| 796 | input_port_5_r, /* Port A read, DSW1 */ |
| 797 | input_port_6_r, /* Port B read, DSW2 */ |
| 798 | input_port_7_r, /* Port C read, DSW3 */ |
| 799 | NULL, /* Port A write */ |
| 800 | NULL, /* Port B write */ |
| 801 | NULL /* Port C write */ |
| 802 | }, |
| 803 | { /* A as input */ |
| 804 | input_port_8_r, /* Port A read, DSW4 */ |
| 805 | NULL, /* Port B read */ |
| 806 | NULL, /* Port C read */ |
| 807 | NULL, /* Port A write */ |
| 808 | NULL, /* Port B write */ |
| 809 | NULL /* Port C write */ |
| 810 | } |
| 811 | }; |
| 812 | |
| 813 | |
| 814 | /***************************** |
| 815 | * Sound Interfaces * |
| 816 | *****************************/ |
| 817 | |
| 818 | static const struct AY8910interface ay8910_interface = |
| 819 | { |
| 820 | AY8910_LEGACY_OUTPUT, |
| 821 | AY8910_DEFAULT_LOADS, |
| 822 | input_port_3_r, |
| 823 | NULL, /* a sort of status byte */ |
| 824 | NULL, |
| 825 | unk_w |
| 826 | }; |
| 827 | |
| 828 | |
| 829 | /************************* |
| 830 | * Machine Drivers * |
| 831 | *************************/ |
| 832 | |
| 833 | static MACHINE_DRIVER_START( lucky74 ) |
| 834 | |
| 835 | /* basic machine hardware */ |
| 836 | MDRV_CPU_ADD_TAG("main", Z80, MASTER_CLOCK/8) /* guess */ |
| 837 | MDRV_CPU_PROGRAM_MAP(lucky74_map, 0) |
| 838 | MDRV_CPU_IO_MAP(lucky74_portmap,0) |
| 839 | MDRV_CPU_VBLANK_INT("main", nmi_interrupt) |
| 840 | |
| 841 | MDRV_NVRAM_HANDLER(generic_0fill) |
| 842 | |
| 843 | /* 2x 82c255 (4x 8255) */ |
| 844 | MDRV_DEVICE_ADD( "ppi8255_0", PPI8255 ) |
| 845 | MDRV_DEVICE_CONFIG( ppi8255_intf[0] ) |
| 846 | |
| 847 | MDRV_DEVICE_ADD( "ppi8255_1", PPI8255 ) |
| 848 | MDRV_DEVICE_CONFIG( ppi8255_intf[1] ) |
| 849 | |
| 850 | MDRV_DEVICE_ADD( "ppi8255_2", PPI8255 ) |
| 851 | MDRV_DEVICE_CONFIG( ppi8255_intf[2] ) |
| 852 | |
| 853 | MDRV_DEVICE_ADD( "ppi8255_3", PPI8255 ) |
| 854 | MDRV_DEVICE_CONFIG( ppi8255_intf[3] ) |
| 855 | |
| 856 | |
| 857 | /* video hardware */ |
| 858 | MDRV_SCREEN_ADD("main", RASTER) |
| 859 | MDRV_SCREEN_REFRESH_RATE(60) |
| 860 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) |
| 861 | MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16) |
| 862 | MDRV_SCREEN_SIZE(64*8, 32*8) |
| 863 | MDRV_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 1*8, 30*8-1) /* allow to show the top of bg gfx */ |
| 864 | |
| 865 | MDRV_GFXDECODE(lucky74) |
| 866 | |
| 867 | MDRV_PALETTE_INIT(lucky74) |
| 868 | MDRV_PALETTE_LENGTH(512) |
| 869 | |
| 870 | MDRV_VIDEO_START(lucky74) |
| 871 | MDRV_VIDEO_UPDATE(lucky74) |
| 872 | |
| 873 | /* sound hardware */ |
| 874 | MDRV_SPEAKER_STANDARD_MONO("mono") |
| 875 | |
| 876 | MDRV_SOUND_ADD(AY8910, MASTER_CLOCK/8) /* YM2149F */ |
| 877 | MDRV_SOUND_CONFIG(ay8910_interface) |
| 878 | MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |
| 879 | |
| 880 | MACHINE_DRIVER_END |
| 881 | |
| 882 | |
| 883 | /************************* |
| 884 | * Rom Load * |
| 885 | *************************/ |
| 886 | |
| 887 | ROM_START( lucky74s ) |
| 888 | ROM_REGION( 0x10000, REGION_CPU1, 0 ) |
| 889 | ROM_LOAD( "luckychi.00", 0x0000, 0x10000, CRC(3b906f0e) SHA1(1f9abd168c60b0d22fa6c7391bfdf5f3aabd66ef) ) |
| 890 | |
| 891 | ROM_REGION( 0x20000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 892 | ROM_LOAD( "luckychi.12", 0x00000, 0x8000, CRC(ff934c20) SHA1(07cd2225dfc0e5b74be2e1b379c6b180e37660db) ) |
| 893 | ROM_LOAD( "luckychi.11", 0x08000, 0x8000, CRC(2fd6fb8a) SHA1(1a910e0a2e6db22a8d9a65d7b932f9ca39601e9c) ) |
| 894 | ROM_LOAD( "luckychi.13", 0x10000, 0x8000, CRC(c70a6da3) SHA1(195772ef649e21a5c54c5871e7b858967b6ebee8) ) |
| 895 | ROM_LOAD( "luckychi.14", 0x18000, 0x8000, CRC(b5813b67) SHA1(cce38e33a5218d6839d956174807d88e7c070d5a) ) |
| 896 | |
| 897 | ROM_REGION( 0x20000, REGION_GFX2, ROMREGION_DISPOSE ) |
| 898 | ROM_LOAD( "luckychi.17", 0x00000, 0x8000, CRC(010ffa4a) SHA1(8856d61b71e951509073bc359851f47c39c4274d) ) |
| 899 | ROM_LOAD( "luckychi.16", 0x08000, 0x8000, CRC(15104810) SHA1(586df734740209e2a05932e31d2a301d330e8cbd) ) |
| 900 | ROM_LOAD( "luckychi.18", 0x10000, 0x8000, CRC(f2d45e76) SHA1(46df7bf98434c836fd38539575a35bf67c9ec2c6) ) |
| 901 | ROM_LOAD( "luckychi.19", 0x18000, 0x8000, CRC(6b0196f3) SHA1(277049279dcfcf07189dbdb20935c2a71b2f6061) ) |
| 902 | |
| 903 | ROM_REGION( 0x10000, REGION_SOUND1, 0 ) /* 4-bit ADPCM samples @ 8kHz */ |
| 904 | ROM_LOAD( "luckyson.15", 0x00000, 0x10000, CRC(b896c87f) SHA1(985e625a937abd6353218f0cace14d3adec4c1bf) ) |
| 905 | |
| 906 | ROM_REGION( 0x0600, REGION_PROMS, 0 ) |
| 907 | ROM_LOAD( "luckyprom.e6", 0x0000, 0x0100, CRC(ae793fef) SHA1(e4e2d2dccabad7d756811fb2d5e123bf30f106f3) ) |
| 908 | ROM_LOAD( "luckyprom.e7", 0x0100, 0x0100, CRC(7c772d0c) SHA1(9c99daa01ca56c7ebd48945505fcbae184998b13) ) |
| 909 | ROM_LOAD( "luckyprom.d6", 0x0200, 0x0100, CRC(61716584) SHA1(7a3e17f47ce173d79c12b2394edb8f32b7509e39) ) |
| 910 | ROM_LOAD( "luckyprom.d7", 0x0300, 0x0100, CRC(4003bc8f) SHA1(f830203c22a4f94b8b9f0b24e287204a742a8322) ) |
| 911 | ROM_LOAD( "luckyprom.c6", 0x0400, 0x0100, CRC(a8d2b3db) SHA1(7b346797bedc627fb2d49f19b18860a81c69e122) ) |
| 912 | ROM_LOAD( "luckyprom.c7", 0x0500, 0x0100, CRC(e62fd192) SHA1(86a189df2e2ccef6bd2a4e6d969e777fbba8cdf7) ) |
| 913 | ROM_END |
| 914 | |
| 915 | ROM_START( lucky74b ) |
| 916 | |
| 917 | /* The program ROM seems incomplete. |
| 918 | At start, just pop some registers and make a RTI. |
| 919 | Maybe protection? |
| 920 | */ |
| 921 | ROM_REGION( 0x10000, REGION_CPU1, 0 ) |
| 922 | ROM_LOAD( "luckygde.00", 0x0000, 0x10000, CRC(e3f7db99) SHA1(5c7d9d3fed9eb19d3d666c8c08b34968a9996a96) ) /* bad dump? */ |
| 923 | |
| 924 | ROM_REGION( 0x20000, REGION_GFX1, ROMREGION_DISPOSE ) |
| 925 | ROM_LOAD( "luckygde.12", 0x00000, 0x8000, CRC(7127465b) SHA1(3f72f91652fcab52c073744b1651fdfe772c584a) ) |
| 926 | ROM_LOAD( "luckygde.11", 0x08000, 0x8000, CRC(8a5ea91a) SHA1(8d22615c00ff7c8a27cd721618b5d32a8d089c95) ) |
| 927 | ROM_LOAD( "luckygde.13", 0x10000, 0x8000, CRC(bbb63ac1) SHA1(ab986055e34d90e81caf20c28c5ad89715209d0e) ) |
| 928 | ROM_LOAD( "luckygde.14", 0x18000, 0x8000, CRC(dcffdf07) SHA1(d63fd7d23e488650d3731830f07bce0ce64424b8) ) |
| 929 | |
| 930 | ROM_REGION( 0x20000, REGION_GFX2, ROMREGION_DISPOSE ) |
| 931 | ROM_LOAD( "luckygde.17", 0x00000, 0x8000, CRC(18da3468) SHA1(6dc60da939bfa7528e1fe75a85328a32047c8990) ) |
| 932 | ROM_LOAD( "luckygde.16", 0x08000, 0x8000, CRC(0e831be5) SHA1(302a68203f565718f7f537dab50fb52250c48859) ) |
| 933 | ROM_LOAD( "luckygde.18", 0x10000, 0x8000, CRC(717e5f4e) SHA1(0f14c9525bf77bbc4de0d9695648acb40870a176) ) |
| 934 | ROM_LOAD( "luckygde.19", 0x18000, 0x8000, CRC(bb4608ae) SHA1(cc8ec596f445fe0364f254241227de368f309ebb) ) |
| 935 | |
| 936 | ROM_REGION( 0x10000, REGION_SOUND1, 0 ) /* 4-bit ADPCM samples @ 8kHz */ |
| 937 | ROM_LOAD( "luckyson.15", 0x00000, 0x10000, CRC(b896c87f) SHA1(985e625a937abd6353218f0cace14d3adec4c1bf) ) |
| 938 | |
| 939 | ROM_REGION( 0x0600, REGION_PROMS, 0 ) |
| 940 | ROM_LOAD( "luckyprom.e6", 0x0000, 0x0100, CRC(ae793fef) SHA1(e4e2d2dccabad7d756811fb2d5e123bf30f106f3) ) |
| 941 | ROM_LOAD( "luckyprom.e7", 0x0100, 0x0100, CRC(7c772d0c) SHA1(9c99daa01ca56c7ebd48945505fcbae184998b13) ) |
| 942 | ROM_LOAD( "luckyprom.d6", 0x0200, 0x0100, CRC(61716584) SHA1(7a3e17f47ce173d79c12b2394edb8f32b7509e39) ) |
| 943 | ROM_LOAD( "luckyprom.d7", 0x0300, 0x0100, CRC(4003bc8f) SHA1(f830203c22a4f94b8b9f0b24e287204a742a8322) ) |
| 944 | ROM_LOAD( "luckyprom.c6", 0x0400, 0x0100, CRC(a8d2b3db) SHA1(7b346797bedc627fb2d49f19b18860a81c69e122) ) |
| 945 | ROM_LOAD( "luckyprom.c7", 0x0500, 0x0100, CRC(e62fd192) SHA1(86a189df2e2ccef6bd2a4e6d969e777fbba8cdf7) ) |
| 946 | ROM_END |
| 947 | |
| 948 | |
| 949 | /********************************************* |
| 950 | * Game Drivers * |
| 951 | ********************************************** |
| 952 | |
| 953 | YEAR NAME PARENT MACHINE INPUT INIT ROT COMPANY FULLNAME FLAGS */ |
| 954 | GAME( 1988, lucky74s, 0, lucky74, lucky74, 0, ROT0, "Wing Co.Ltd.", "Lucky 74 (small)", GAME_NO_SOUND ) |
| 955 | GAME( 1988, lucky74b, lucky74s, lucky74, lucky74, 0, ROT0, "Wing Co.Ltd.", "Lucky 74 (big)", GAME_NO_SOUND | GAME_NOT_WORKING ) |
src/emu/cheat.c
| r2935 | r2936 | |
| 51 | 51 | #define CURSOR_PAGE_UP(sel) do { sel -= visible_items; if(sel < 0) sel = 0; } while (0) |
| 52 | 52 | #define CURSOR_PAGE_DOWN(sel, total) do { sel += visible_items; if(sel >= total) sel = (total - 1); } while (0) |
| 53 | 53 | #define SET_MESSAGE(type) do { message_timer = DEFAULT_MESSAGE_TIME; message_type = type; } while(0) |
| 54 | #define CHARACTER_TO_ASTRING(char, astring) do { astring = astring_alloc(); astring_cpyc(astring, char); } while(0) |
| 54 | 55 | |
| 55 | 56 | /*************************************************************************** |
| 56 | 57 | CONSTANTS |
| 57 | 58 | ***************************************************************************/ |
| 58 | 59 | |
| 59 | 60 | #define CHEAT_FILENAME_MAX_LEN (255) |
| 61 | #define CHEAT_CODE_MAX_STRINGS_PER_LINE (255) |
| 60 | 62 | #define CHEAT_MENU_DEPTH (8) |
| 61 | 63 | #ifdef MESS |
| 62 | 64 | #define DEFAULT_CHEAT_OPTIONS (0x1FFF8) |
| r2935 | r2936 | |
| 626 | 628 | typedef struct _cheat_action cheat_action; |
| 627 | 629 | struct _cheat_action |
| 628 | 630 | { |
| 629 | | char *optional_name; /* label for label selection or popup */ |
| 631 | astring *optional_name; /* label for label selection or popup */ |
| 630 | 632 | |
| 631 | 633 | UINT32 type; /* packed several information (cpu/region, address size, operation and parameters and so on) */ |
| 632 | 634 | UINT32 region; /* the number of cpu or region. in case of cpu, it has a kind of an address space together */ |
| r2935 | r2936 | |
| 651 | 653 | typedef struct _cheat_entry cheat_entry; |
| 652 | 654 | struct _cheat_entry |
| 653 | 655 | { |
| 654 | | char *name; /* entry name */ |
| 655 | | char *comment; /* simple comment */ |
| 656 | astring *name; /* entry name */ |
| 657 | astring *comment; /* simple comment */ |
| 656 | 658 | |
| 657 | 659 | UINT32 flags; /* internal flags */ |
| 658 | 660 | |
| r2935 | r2936 | |
| 881 | 883 | static int cheat_variable[VARIABLE_MAX_ARRAY] = { 0 }; |
| 882 | 884 | |
| 883 | 885 | static UINT32 cheat_options; |
| 884 | | static UINT32 driverSpecifiedFlag; |
| 886 | static UINT32 cheat_flags; |
| 885 | 887 | static UINT8 vertical_key_repeat_speed; |
| 886 | 888 | static UINT8 horizontal_key_repeat_speed; |
| 887 | 889 | static UINT8 message_type; |
| r2935 | r2936 | |
| 1146 | 1148 | static void init_string_table(void); |
| 1147 | 1149 | static void free_string_table(void); |
| 1148 | 1150 | |
| 1149 | | static char *create_string_copy(char *buf); |
| 1150 | 1151 | static char *create_strings_with_edit_cursor(char *buf, int data, int total_digits, INT8 current_cursor); |
| 1151 | 1152 | |
| 1152 | 1153 | /********** MENU **********/ |
| r2935 | r2936 | |
| 2017 | 2018 | watches_disabled = 0; |
| 2018 | 2019 | edit_active = 0; |
| 2019 | 2020 | edit_cursor = 0; |
| 2020 | | driverSpecifiedFlag = 0; |
| 2021 | 2021 | full_menu_page_height = visible_items = floor(1.0f / ui_get_line_height()) - 1; |
| 2022 | 2022 | |
| 2023 | horizontal_key_repeat_speed = 10; |
| 2024 | vertical_key_repeat_speed = 10; |
| 2025 | |
| 2026 | /* initialize CPU/Region info for cheat system */ |
| 2027 | build_cpu_region_info_list(machine); |
| 2028 | |
| 2023 | 2029 | /* allocate huge strings buffer for format */ |
| 2024 | 2030 | format_strings = malloc(sizeof(cheat_format_strings)); |
| 2025 | 2031 | if(format_strings == NULL) |
| r2935 | r2936 | |
| 2033 | 2039 | vertical_key_repeat_speed = EXTRACT_FIELD(cheat_options, HorizontalKeyRepeatSpeed); |
| 2034 | 2040 | load_cheat_database(machine, LOAD_CHEAT_OPTIONS); |
| 2035 | 2041 | |
| 2036 | | /* initialize CPU/Region info for cheat system */ |
| 2037 | | build_cpu_region_info_list(machine); |
| 2038 | | |
| 2039 | 2042 | /* set cheat list from database */ |
| 2040 | 2043 | if(TEST_FIELD(cheat_options, LoadNewCode)) load_cheat_database(machine, LOAD_CHEAT_CODE_NEW); |
| 2041 | 2044 | if(TEST_FIELD(cheat_options, LoadStandardCode)) load_cheat_database(machine, LOAD_CHEAT_CODE_STANDARD); |
| r2935 | r2936 | |
| 2075 | 2078 | init_cheat_menu_stack(); |
| 2076 | 2079 | |
| 2077 | 2080 | { |
| 2078 | | astring * sourceName; |
| 2081 | astring *source_name = core_filename_extract_base(astring_alloc(), machine->gamedrv->source_file, TRUE); |
| 2079 | 2082 | |
| 2080 | | sourceName = core_filename_extract_base(astring_alloc(), machine->gamedrv->source_file, TRUE); |
| 2083 | if(astring_cmpc(source_name, "neodrvr") == 0) cheat_flags |= 1; |
| 2084 | if(astring_cmpc(source_name, "cps2") == 0) cheat_flags |= 2; |
| 2085 | if(astring_cmpc(source_name, "cps3") == 0) cheat_flags |= 3; |
| 2081 | 2086 | |
| 2082 | | if(!strcmp(astring_c(sourceName), "neodrvr")) |
| 2083 | | driverSpecifiedFlag |= 1; |
| 2084 | | else if(!strcmp(astring_c(sourceName), "cps2")) |
| 2085 | | driverSpecifiedFlag |= 2; |
| 2086 | | else if(!strcmp(astring_c(sourceName), "cps3")) |
| 2087 | | driverSpecifiedFlag |= 4; |
| 2088 | | |
| 2089 | | astring_free(sourceName); |
| 2087 | astring_free(source_name); |
| 2090 | 2088 | } |
| 2091 | 2089 | |
| 2092 | 2090 | /* NOTE : disable all cheat messages in initializing so that message parameters should be initialized here */ |
| r2935 | r2936 | |
| 2163 | 2161 | menu_item_info_length = 0; |
| 2164 | 2162 | cheat_variable[0] = 0; |
| 2165 | 2163 | cheat_options = 0; |
| 2166 | | driverSpecifiedFlag = 0; |
| 2164 | cheat_flags = 0; |
| 2167 | 2165 | SET_MESSAGE(0); |
| 2168 | 2166 | } |
| 2169 | 2167 | |
| r2935 | r2936 | |
| 2364 | 2362 | memset(&menu_strings, 0, sizeof(menu_string_list)); |
| 2365 | 2363 | } |
| 2366 | 2364 | |
| 2367 | | /*----------------------------------- |
| 2368 | | create_string_copy - copy stirng |
| 2369 | | -----------------------------------*/ |
| 2370 | | |
| 2371 | | static char *create_string_copy(char *buf) |
| 2372 | | { |
| 2373 | | char *temp = NULL; |
| 2374 | | |
| 2375 | | if(buf && buf[0] != 0) |
| 2376 | | { |
| 2377 | | /* allocate memory */ |
| 2378 | | size_t length = strlen(buf) + 1; |
| 2379 | | temp = malloc_or_die(length); |
| 2380 | | |
| 2381 | | /* copy memory for string */ |
| 2382 | | if(temp) |
| 2383 | | memcpy(temp, buf, length); |
| 2384 | | } |
| 2385 | | |
| 2386 | | return temp; |
| 2387 | | } |
| 2388 | 2365 | /*------------------------------------------------------------- |
| 2389 | 2366 | create_strings_with_edit_cursor - strings with edit cursor |
| 2390 | 2367 | -------------------------------------------------------------*/ |
| r2935 | r2936 | |
| 2591 | 2568 | } |
| 2592 | 2569 | |
| 2593 | 2570 | /* ##### MENU CONSTRACTION ##### */ |
| 2594 | | strings_buf += sprintf(strings_buf, "\t%s\n\t", entry->name); |
| 2571 | strings_buf += sprintf(strings_buf, "\t%s\n\t", astring_c(entry->name)); |
| 2595 | 2572 | |
| 2596 | 2573 | if(edit_active) |
| 2597 | 2574 | { |
| r2935 | r2936 | |
| 2814 | 2791 | |
| 2815 | 2792 | continue; |
| 2816 | 2793 | } |
| 2817 | | else if(i == entry->selection) |
| 2818 | | sprintf(buf[total], "[ %s ]", entry->action_list[entry->label_index[i]].optional_name); |
| 2819 | | else |
| 2820 | | sprintf(buf[total], "%s", entry->action_list[entry->label_index[i]].optional_name); |
| 2821 | | |
| 2794 | sprintf(buf[total], i == entry->selection ? "[ %s ]" : "%s", astring_c(entry->action_list[entry->label_index[i]].optional_name)); |
| 2822 | 2795 | menu_item[total] = buf[total]; |
| 2823 | 2796 | total++; |
| 2824 | 2797 | } |
| r2935 | r2936 | |
| 2892 | 2865 | menu->first_time = 0; |
| 2893 | 2866 | |
| 2894 | 2867 | /********** MENU CONSTRUCTION **********/ |
| 2895 | | comment = entry->comment; |
| 2868 | comment = astring_c(entry->comment); |
| 2896 | 2869 | sprintf(buf, "%s\n\t OK ", comment); |
| 2897 | 2870 | |
| 2898 | 2871 | /* print it */ |
| r2935 | r2936 | |
| 2934 | 2907 | /* NOTE : don't display the comment in master code */ |
| 2935 | 2908 | if(i != 0) |
| 2936 | 2909 | { |
| 2937 | | sprintf(buf[total], "%s", action->optional_name); |
| 2910 | sprintf(buf[total], "%s", astring_c(action->optional_name)); |
| 2938 | 2911 | menu_item[total] = buf[total]; |
| 2939 | 2912 | total++; |
| 2940 | 2913 | } |
| r2935 | r2936 | |
| 3126 | 3099 | { |
| 3127 | 3100 | #define ADD_CHEAT_SELECT_MENU_ITEMS(sub_name, request_arrow) \ |
| 3128 | 3101 | do { menu_sub_item[total] = sub_name; menu_item_info[total].sub_cheat = i; menu_item_info[total].field_type = request_arrow; \ |
| 3129 | | flag_buf[total] = traverse->comment && traverse->comment[0] ? 1 : 0; total++; } while(0) |
| 3102 | flag_buf[total] = traverse->comment && astring_len(traverse->comment) ? 1 : 0; total++; } while(0) |
| 3130 | 3103 | |
| 3131 | 3104 | int i; |
| 3132 | 3105 | int do_select = 0; |
| r2935 | r2936 | |
| 3159 | 3132 | resize_menu_item_info(length + 2); |
| 3160 | 3133 | |
| 3161 | 3134 | /********** MENU CONSTRUCTION **********/ |
| 3162 | | for(i = 0; i < cheat_list_length && total < visible_items; i++) |
| 3135 | for(i = 0; i < cheat_list_length; i++) |
| 3163 | 3136 | { |
| 3164 | 3137 | cheat_entry *traverse = &cheat_list[i]; |
| 3165 | 3138 | |
| r2935 | r2936 | |
| 3181 | 3154 | else |
| 3182 | 3155 | { |
| 3183 | 3156 | /* ##### CODE NAME ##### */ |
| 3184 | | menu_item[total] = traverse->name && traverse->name[0] ? traverse->name : "(null)"; |
| 3185 | | |
| 3157 | #ifdef MAME_DEBUG |
| 3158 | menu_item[total] = traverse->name && astring_len(traverse->name) ? astring_c(traverse->name) : "(null)"; |
| 3159 | #else |
| 3160 | menu_item[total] = traverse->name && astring_len(traverse->name) ? astring_c(traverse->name) : ""; |
| 3161 | #endif |
| 3186 | 3162 | if(traverse->flags & kCheatFlag_HasWrongCode) |
| 3187 | 3163 | { |
| 3188 | 3164 | /* ##### ERROR ##### */ |
| r2935 | r2936 | |
| 3193 | 3169 | { |
| 3194 | 3170 | /* ##### LABEL ##### */ |
| 3195 | 3171 | if(traverse->flags & kCheatFlag_OldFormat) |
| 3196 | | ADD_CHEAT_SELECT_MENU_ITEMS(traverse->selection ? traverse->action_list[traverse->selection].optional_name : "Off", 1); |
| 3172 | ADD_CHEAT_SELECT_MENU_ITEMS(traverse->selection ? |
| 3173 | astring_c(traverse->action_list[traverse->selection].optional_name) : "Off", 1); |
| 3197 | 3174 | else |
| 3198 | | ADD_CHEAT_SELECT_MENU_ITEMS(traverse->selection ? traverse->action_list[traverse->label_index[traverse->selection]].optional_name : "Off", 1); |
| 3175 | ADD_CHEAT_SELECT_MENU_ITEMS(traverse->selection ? |
| 3176 | astring_c(traverse->action_list[traverse->label_index[traverse->selection]].optional_name) : "Off", 1); |
| 3199 | 3177 | } |
| 3200 | 3178 | else if(traverse->flags & kCheatFlag_ExtendComment) |
| 3201 | 3179 | { |
| r2935 | r2936 | |
| 3228 | 3206 | if(current_layer == traverse->action_list[0].data) |
| 3229 | 3207 | { |
| 3230 | 3208 | /* ##### PREVIOUS LAYER ##### */ |
| 3231 | | menu_item[total] = traverse->comment && traverse->comment[0] ? traverse->comment : "Return to Prior Layer"; |
| 3209 | menu_item[total] = traverse->comment && astring_len(traverse->comment) ? astring_c(traverse->comment) : "Return to Prior Layer"; |
| 3232 | 3210 | ADD_CHEAT_SELECT_MENU_ITEMS("<<<", 0); |
| 3233 | 3211 | } |
| 3234 | 3212 | } |
| r2935 | r2936 | |
| 3389 | 3367 | } |
| 3390 | 3368 | else if((entry->flags & kCheatFlag_Null) == 0) |
| 3391 | 3369 | { |
| 3392 | | if(shift_key_pressed() && (entry->comment && entry->comment[0])) |
| 3370 | if(shift_key_pressed()) |
| 3393 | 3371 | { |
| 3394 | | /* display comment */ |
| 3395 | | cheat_menu_stack_push(comment_menu, menu->handler, info->sub_cheat); |
| 3372 | if(entry->comment && astring_len(entry->comment)) |
| 3373 | /* display comment */ |
| 3374 | cheat_menu_stack_push(comment_menu, menu->handler, info->sub_cheat); |
| 3396 | 3375 | } |
| 3397 | 3376 | else if(entry->flags & kCheatFlag_ExtendComment) |
| 3398 | 3377 | { |
| r2935 | r2936 | |
| 3523 | 3502 | cheat_entry *traverse = &cheat_list[i]; |
| 3524 | 3503 | |
| 3525 | 3504 | /* ##### NAME ##### */ |
| 3526 | | if(traverse->name) |
| 3527 | | menu_item[total++] = traverse->name; |
| 3528 | | else |
| 3529 | | menu_item[total++] = "(none)"; |
| 3505 | menu_item[total++] = traverse->name && astring_len(traverse->name) ? astring_c(traverse->name) : "(none)"; |
| 3530 | 3506 | } |
| 3531 | 3507 | |
| 3532 | 3508 | /* ##### RETURN ##### */ |
| r2935 | r2936 | |
| 3946 | 3922 | if(i == 0) |
| 3947 | 3923 | { |
| 3948 | 3924 | /* ##### ENTRY NAME ##### */ |
| 3949 | | ADD_EDIT_MENU_ITEMS("Entry Name", entry->name && entry->name[0] ? entry->name : "(none)", EDIT_MENU_ENTRY_NAME); |
| 3925 | ADD_EDIT_MENU_ITEMS("Entry Name", entry->name && astring_len(entry->name) ? astring_c(entry->name) : "(none)", EDIT_MENU_ENTRY_NAME); |
| 3950 | 3926 | |
| 3951 | 3927 | /* ##### COMMENT ##### */ |
| 3952 | | ADD_EDIT_MENU_ITEMS("Comment", entry->comment && entry->comment[0] ? entry->comment : "(none)", EDIT_MENU_COMMENT); |
| 3928 | ADD_EDIT_MENU_ITEMS("Comment", entry->comment && astring_len(entry->comment) ? astring_c(entry->comment) : "(none)", EDIT_MENU_COMMENT); |
| 3953 | 3929 | |
| 3954 | 3930 | /* ##### ACTIVATION KEY ##### */ |
| 3955 | 3931 | ADD_EDIT_MENU_ITEMS( "Activation Key", |
| r2935 | r2936 | |
| 3961 | 3937 | } |
| 3962 | 3938 | |
| 3963 | 3939 | /* ##### ENTRY NAME ##### */ |
| 3964 | | ADD_EDIT_MENU_ITEMS("Name", traverse->optional_name && traverse->optional_name[0] ? traverse->optional_name : "(none)", EDIT_MENU_NAME); |
| 3940 | ADD_EDIT_MENU_ITEMS("Name", traverse->optional_name && astring_len(traverse->optional_name) ? astring_c(traverse->optional_name) : "(none)", EDIT_MENU_NAME); |
| 3965 | 3941 | |
| 3966 | 3942 | /* ##### INDEX ##### */ |
| 3967 | 3943 | sprintf(buf_index[i], "%2.2d/%2.2d", i + 1, entry->action_list_length); |
| r2935 | r2936 | |
| 4021 | 3997 | ADD_EDIT_MENU_ITEMS(TEST_FIELD(traverse->type, OperationParameter) ? "Minimum Boundary" : "Maximum Boundary", buf_extend_data[i] + 16, EDIT_MENU_ADD_SUBTRACT); |
| 4022 | 3998 | |
| 4023 | 3999 | /* ##### RANGE MINIMUM ##### */ |
| 4024 | | sprintf(buf_extend_data[i] + 32, "%4.4X", EXTRACT_FIELD(traverse->extend_data, LSB16)); |
| 4000 | sprintf(buf_extend_data[i] + 32, "%4.4X", EXTRACT_FIELD(traverse->extend_data, MSB16)); |
| 4025 | 4001 | ADD_EDIT_MENU_ITEMS("Range Minimum", buf_extend_data[i] + 32, EDIT_MENU_RANGE_MINIMUM); |
| 4026 | 4002 | |
| 4027 | 4003 | /* ##### RANGE MAXIMUM ##### */ |
| 4028 | | sprintf(buf_extend_data[i] + 48, "%4.4X", EXTRACT_FIELD(traverse->extend_data, MSB16)); |
| 4004 | sprintf(buf_extend_data[i] + 48, "%4.4X", EXTRACT_FIELD(traverse->extend_data, LSB16)); |
| 4029 | 4005 | ADD_EDIT_MENU_ITEMS("Range Maximum", buf_extend_data[i] + 48, EDIT_MENU_RANGE_MAXIMUM); |
| 4030 | 4006 | |
| 4031 | 4007 | /* ##### DATA ##### */ |
| r2935 | r2936 | |
| 4433 | 4409 | if(entry->name) |
| 4434 | 4410 | { |
| 4435 | 4411 | /* NOTE : master code is from cheat entry and others are from cheat action */ |
| 4436 | | ADD_VIEW_MENU_ITEMS("Name", page_index ? action->optional_name : entry->name, kViewMenu_Name); |
| 4412 | ADD_VIEW_MENU_ITEMS("Name", page_index ? astring_c(action->optional_name) : astring_c(entry->name), kViewMenu_Name); |
| 4437 | 4413 | } |
| 4438 | 4414 | else |
| 4439 | 4415 | ADD_VIEW_MENU_ITEMS("Name", "< none >", kViewMenu_Name); |
| 4440 | 4416 | |
| 4441 | 4417 | /* ##### COMMENT ##### */ |
| 4442 | | if(page_index == 0 && entry->comment) |
| 4443 | | ADD_VIEW_MENU_ITEMS("Comment", entry->comment, kViewMenu_Comment); |
| 4418 | if(page_index == 0 && entry->comment && astring_len(entry->comment)) |
| 4419 | ADD_VIEW_MENU_ITEMS("Comment", astring_c(entry->comment), kViewMenu_Comment); |
| 4444 | 4420 | |
| 4445 | 4421 | /* ##### ACTIVATION KEY ##### */ |
| 4446 | 4422 | if(entry->flags & kCheatFlag_Select) |
| r2935 | r2936 | |
| 4918 | 4894 | |
| 4919 | 4895 | UINT32 flags = analyse_code_format(machine, entry, action); |
| 4920 | 4896 | |
| 4921 | | menu_item[total++] = action->optional_name ? action->optional_name : "(Null)"; |
| 4897 | #ifdef MAME_DEBUG |
| 4898 | menu_item[total++] = action->optional_name && astring_len(action->optional_name) ? astring_c(action->optional_name) : "(Null)"; |
| 4899 | #else |
| 4900 | menu_item[total++] = action->optional_name && astring_len(action->optional_name) ? astring_c(action->optional_name) : ""; |
| 4901 | #endif |
| 4922 | 4902 | menu_item[total++] = MENU_SEPARATOR_ITEM; |
| 4923 | 4903 | |
| 4924 | 4904 | if(flags) |
| r2935 | r2936 | |
| 8276 | 8256 | { |
| 8277 | 8257 | int i; |
| 8278 | 8258 | |
| 8279 | | free(entry->name); |
| 8280 | | free(entry->comment); |
| 8259 | if(entry->name) astring_free(entry->name); |
| 8260 | if(entry->comment) astring_free(entry->comment); |
| 8281 | 8261 | free(entry->label_index); |
| 8282 | 8262 | |
| 8283 | 8263 | /* free all cheat actions in selected entry */ |
| r2935 | r2936 | |
| 8395 | 8375 | { |
| 8396 | 8376 | if(action != NULL) |
| 8397 | 8377 | { |
| 8398 | | free(action->optional_name); |
| 8378 | if(action->optional_name) astring_free(action->optional_name); |
| 8399 | 8379 | free(action->last_value); |
| 8400 | 8380 | |
| 8401 | 8381 | memset(action, 0, sizeof(cheat_action)); |
| r2935 | r2936 | |
| 8576 | 8556 | |
| 8577 | 8557 | /* set name */ |
| 8578 | 8558 | temp_string_length = sprintf(temp_string, "%.8X (%d) = %.*X", watch->address, watch->cpu, BYTE_DIGITS_TABLE[watch->element_bytes], action->data); |
| 8579 | | entry->name = create_string_copy(temp_string); |
| 8559 | CHARACTER_TO_ASTRING(temp_string, entry->name); |
| 8580 | 8560 | |
| 8581 | 8561 | update_cheat_info(machine, entry, 0); |
| 8582 | 8562 | |
| r2935 | r2936 | |
| 8606 | 8586 | /* set name and comments */ |
| 8607 | 8587 | sprintf(temp_string, "Watch %.8X (%d)", watch->address, watch->cpu); |
| 8608 | 8588 | |
| 8609 | | entry->name = create_string_copy(temp_string); |
| 8610 | | entry->comment = create_string_copy(watch->label); |
| 8589 | CHARACTER_TO_ASTRING(temp_string, entry->name); |
| 8590 | CHARACTER_TO_ASTRING(watch->label, entry->comment); |
| 8611 | 8591 | |
| 8612 | 8592 | /* set parameters */ |
| 8613 | 8593 | action->region = watch->cpu; |
| r2935 | r2936 | |
| 9258 | 9238 | |
| 9259 | 9239 | for(i = 0; i < cheat_list_length; i++) |
| 9260 | 9240 | { |
| 9261 | | if(strcmp(tag, cheat_list[i].name) == 0) |
| 9241 | if(astring_cmpc(cheat_list[i].name, tag) == 0) |
| 9262 | 9242 | return i; |
| 9263 | 9243 | } |
| 9264 | 9244 | |
| r2935 | r2936 | |
| 9415 | 9395 | |
| 9416 | 9396 | static void load_cheat_options(char *file_name) |
| 9417 | 9397 | { |
| 9418 | | static char buf[2048]; |
| 9398 | static char buf[CHEAT_CODE_MAX_STRINGS_PER_LINE]; |
| 9419 | 9399 | mame_file *the_file; |
| 9420 | 9400 | cheat_format *format = &cheat_format_table[0]; |
| 9421 | 9401 | cheat_format_strings |
| r2935 | r2936 | |
| 9428 | 9408 | return; |
| 9429 | 9409 | } |
| 9430 | 9410 | |
| 9431 | | while(mame_fgets(buf, 2048, the_file)) |
| 9411 | while(mame_fgets(buf, CHEAT_CODE_MAX_STRINGS_PER_LINE, the_file)) |
| 9432 | 9412 | { |
| 9433 | 9413 | if(sscanf(buf, format->format_string, buffer->name) == format->arguments_matched) |
| 9434 | 9414 | { |
| r2935 | r2936 | |
| 9438 | 9418 | { |
| 9439 | 9419 | vertical_key_repeat_speed = EXTRACT_FIELD(cheat_options, VerticalKeyRepeatSpeed); |
| 9440 | 9420 | horizontal_key_repeat_speed = EXTRACT_FIELD(cheat_options, HorizontalKeyRepeatSpeed); |
| 9421 | horizontal_key_repeat_speed = (horizontal_key_repeat_speed ? horizontal_key_repeat_speed : 10); |
| 9422 | vertical_key_repeat_speed = (vertical_key_repeat_speed ? vertical_key_repeat_speed : 10); |
| 9441 | 9423 | SET_MESSAGE(CHEAT_MESSAGE_RELOAD_CHEAT_OPTION); |
| 9442 | 9424 | } |
| 9443 | 9425 | } |
| r2935 | r2936 | |
| 9454 | 9436 | |
| 9455 | 9437 | static void load_cheat_code_new(running_machine *machine, char *file_name) |
| 9456 | 9438 | { |
| 9457 | | char buf[255]; |
| 9439 | char buf[CHEAT_CODE_MAX_STRINGS_PER_LINE]; |
| 9458 | 9440 | mame_file *the_file; |
| 9459 | 9441 | cheat_format_strings |
| 9460 | 9442 | *buffer = format_strings; |
| r2935 | r2936 | |
| 9463 | 9445 | if(open_cheat_database(&the_file, file_name, DATABASE_LOAD) == 0) return; |
| 9464 | 9446 | found_database = 1; |
| 9465 | 9447 | /* get a line from database */ |
| 9466 | | while(mame_fgets(buf, 255, the_file)) |
| 9448 | while(mame_fgets(buf, CHEAT_CODE_MAX_STRINGS_PER_LINE, the_file)) |
| 9467 | 9449 | { |
| 9468 | 9450 | #ifdef MESS |
| 9469 | 9451 | int crc = 0; |
| r2935 | r2936 | |
| 9479 | 9461 | cheat_action *action; |
| 9480 | 9462 | cheat_format *format = &cheat_format_table[LOAD_CHEAT_CODE_NEW]; |
| 9481 | 9463 | |
| 9464 | /* clear buffer */ |
| 9465 | buffer->name[0] = buffer->type[0] = buffer->data[0] = buffer->extend_data[0] = buffer->description[0] = buffer->comment[0] = 0; |
| 9466 | |
| 9482 | 9467 | /* scan and check format */ |
| 9483 | 9468 | #ifdef MESS |
| 9484 | 9469 | arguments_matched = sscanf(buf, format->format_string, buffer->name, &crc, buffer->type, &address, buffer->data, buffer->extend_data, buffer->description, buffer->comment); |
| r2935 | r2936 | |
| 9495 | 9480 | if(TEST_FIELD(cheat_options, SharedCode) && strcmp(machine->gamedrv->parent, "0")) |
| 9496 | 9481 | { |
| 9497 | 9482 | /* shared code (MESS specified) */ |
| 9498 | | if(strcmp(buffer->name, machine->gamedrv->parent)) break; |
| 9483 | if(strcmp(buffer->name, machine->gamedrv->parent)) continue; |
| 9499 | 9484 | else |
| 9500 | 9485 | #endif |
| 9501 | 9486 | /* check short game/machine name */ |
| 9502 | | if(strcmp(buffer->name, machine->gamedrv->name)) break; |
| 9487 | if(strcmp(buffer->name, machine->gamedrv->name)) continue; |
| 9503 | 9488 | #ifdef MESS |
| 9504 | 9489 | } |
| 9505 | 9490 | #endif |
| r2935 | r2936 | |
| 9547 | 9532 | logerror("cheat: [load code] cheat list resize failed. bailing\n"); goto bail_new; |
| 9548 | 9533 | } |
| 9549 | 9534 | entry = &cheat_list[cheat_list_length - 1]; |
| 9550 | | entry->name = create_string_copy(buffer->description); |
| 9551 | | if(arguments_matched == cheat_format_table[LOAD_CHEAT_CODE_NEW].comment_matched) entry->comment = create_string_copy(buffer->comment); |
| 9535 | CHARACTER_TO_ASTRING(buffer->description, entry->name); |
| 9536 | if(arguments_matched == cheat_format_table[LOAD_CHEAT_CODE_NEW].comment_matched) CHARACTER_TO_ASTRING(buffer->comment, entry->comment); |
| 9552 | 9537 | } |
| 9553 | 9538 | else |
| 9554 | 9539 | { |
| r2935 | r2936 | |
| 9574 | 9559 | action->data = data; |
| 9575 | 9560 | action->original_data = data; |
| 9576 | 9561 | action->extend_data = extend_data; |
| 9577 | | action->optional_name = create_string_copy(buffer->description); |
| 9562 | CHARACTER_TO_ASTRING(buffer->description, action->optional_name); |
| 9578 | 9563 | action->last_value = NULL; |
| 9579 | 9564 | } |
| 9580 | 9565 | bail_new: |
| r2935 | r2936 | |
| 9587 | 9572 | |
| 9588 | 9573 | static void load_cheat_code_standard(running_machine *machine, char *file_name) |
| 9589 | 9574 | { |
| 9590 | | char buf[256]; |
| 9575 | char buf[CHEAT_CODE_MAX_STRINGS_PER_LINE]; |
| 9591 | 9576 | mame_file *the_file; |
| 9592 | 9577 | cheat_format_strings |
| 9593 | 9578 | *buffer = format_strings; |
| r2935 | r2936 | |
| 9596 | 9581 | if(open_cheat_database(&the_file, file_name, DATABASE_LOAD) == 0) return; |
| 9597 | 9582 | found_database = 1; |
| 9598 | 9583 | /* get a line from database */ |
| 9599 | | while(mame_fgets(buf, 2048, the_file)) |
| 9584 | while(mame_fgets(buf, CHEAT_CODE_MAX_STRINGS_PER_LINE, the_file)) |
| 9600 | 9585 | { |
| 9601 | 9586 | #ifdef MESS |
| 9602 | 9587 | int crc = 0; |
| r2935 | r2936 | |
| 9610 | 9595 | cheat_action *action; |
| 9611 | 9596 | cheat_format *format = &cheat_format_table[LOAD_CHEAT_CODE_STANDARD]; |
| 9612 | 9597 | |
| 9598 | /* clear buffer */ |
| 9599 | buffer->name[0] = buffer->type[0] = buffer->data[0] = buffer->extend_data[0] = buffer->description[0] = buffer->comment[0] = 0; |
| 9600 | |
| 9613 | 9601 | /* scan and check format */ |
| 9614 | 9602 | #ifdef MESS |
| 9615 | 9603 | if(sscanf( buf, |
| r2935 | r2936 | |
| 9669 | 9657 | } |
| 9670 | 9658 | /* allocate entry and set code name */ |
| 9671 | 9659 | entry = &cheat_list[cheat_list_length - 1]; |
| 9672 | | entry->name = create_string_copy(buffer->description); |
| 9660 | CHARACTER_TO_ASTRING(buffer->description, entry->name); |
| 9673 | 9661 | } |
| 9674 | 9662 | else |
| 9675 | 9663 | { |
| r2935 | r2936 | |
| 9695 | 9683 | action->data = data; |
| 9696 | 9684 | action->original_data = data; |
| 9697 | 9685 | action->extend_data = extend_data; |
| 9698 | | action->optional_name = create_string_copy(buffer->description); |
| 9686 | CHARACTER_TO_ASTRING(buffer->description, action->optional_name); |
| 9699 | 9687 | action->last_value = NULL; |
| 9700 | 9688 | } |
| 9701 | 9689 | bail_standard: |
| r2935 | r2936 | |
| 9794 | 9782 | }; |
| 9795 | 9783 | const struct _conversion_table *traverse = conversion_table; |
| 9796 | 9784 | |
| 9797 | | char buf[255]; |
| 9785 | char buf[CHEAT_CODE_MAX_STRINGS_PER_LINE]; |
| 9798 | 9786 | mame_file *the_file; |
| 9799 | 9787 | cheat_format_strings |
| 9800 | 9788 | *buffer = format_strings; |
| r2935 | r2936 | |
| 9803 | 9791 | if(open_cheat_database(&the_file, file_name, DATABASE_LOAD) == 0) return; |
| 9804 | 9792 | found_database = 1; |
| 9805 | 9793 | /* get a line from database */ |
| 9806 | | while(mame_fgets(buf, 255, the_file)) |
| 9794 | while(mame_fgets(buf, CHEAT_CODE_MAX_STRINGS_PER_LINE, the_file)) |
| 9807 | 9795 | { |
| 9808 | 9796 | #ifdef MESS |
| 9809 | 9797 | int crc = 0; |
| r2935 | r2936 | |
| 9819 | 9807 | cheat_action *action; |
| 9820 | 9808 | cheat_format *format = &cheat_format_table[LOAD_CHEAT_CODE_OLD]; |
| 9821 | 9809 | |
| 9810 | /* clear buffer */ |
| 9811 | buffer->name[0] = buffer->type[0] = buffer->data[0] = buffer->extend_data[0] = buffer->description[0] = buffer->comment[0] = 0; |
| 9812 | |
| 9822 | 9813 | #ifdef MESS |
| 9823 | 9814 | if(sscanf(buf, format->format_string, &crc, buffer->name, &cpu, &address, &data, &code, buffer->description, buffer->comment) < format->arguments_matched) continue; |
| 9824 | 9815 | #else |
| r2935 | r2936 | |
| 9870 | 9861 | logerror("cheat: [load code] cheat list resize failed. bailing\n"); goto bail_old; |
| 9871 | 9862 | } |
| 9872 | 9863 | entry = &cheat_list[cheat_list_length - 1]; |
| 9873 | | entry->name = create_string_copy(buffer->description); |
| 9864 | CHARACTER_TO_ASTRING(buffer->description, entry->name); |
| 9874 | 9865 | } |
| 9875 | 9866 | else |
| 9876 | 9867 | { |
| r2935 | r2936 | |
| 9898 | 9889 | action->data = data; |
| 9899 | 9890 | action->original_data = data; |
| 9900 | 9891 | action->extend_data = extend_data; |
| 9901 | | action->optional_name = create_string_copy(buffer->description); |
| 9892 | CHARACTER_TO_ASTRING(buffer->description, action->optional_name); |
| 9902 | 9893 | action->last_value = NULL; |
| 9903 | 9894 | } |
| 9904 | 9895 | bail_old: |
| r2935 | r2936 | |
| 10201 | 10192 | for(i = 0; i < entry->action_list_length; i++) |
| 10202 | 10193 | { |
| 10203 | 10194 | UINT8 address_length = 8; |
| 10204 | | char *name; |
| 10205 | 10195 | char *buf_strings = buf; |
| 10206 | 10196 | cheat_action *action = &entry->action_list[i]; |
| 10207 | 10197 | |
| 10208 | | /* get name */ |
| 10209 | | name = action->optional_name; |
| 10210 | | |
| 10211 | 10198 | /* get address length of CPU/Region */ |
| 10212 | 10199 | address_length = get_address_length(action->region); |
| 10213 | 10200 | |
| r2935 | r2936 | |
| 10230 | 10217 | #endif |
| 10231 | 10218 | |
| 10232 | 10219 | /* set description */ |
| 10233 | | if(name) |
| 10234 | | buf_strings += sprintf(buf_strings, ":%s", name); |
| 10220 | if(action->optional_name && astring_len(action->optional_name)) |
| 10221 | buf_strings += sprintf(buf_strings, ":%s", astring_c(action->optional_name)); |
| 10235 | 10222 | else |
| 10236 | 10223 | buf_strings += sprintf(buf_strings, ":(none)"); |
| 10237 | 10224 | |
| 10238 | 10225 | /* set comment */ |
| 10239 | | if(i == 0 && entry->comment) |
| 10240 | | buf_strings += sprintf(buf_strings, ":%s", entry->comment); |
| 10226 | if(i == 0 && entry->comment && astring_len(entry->comment)) |
| 10227 | buf_strings += sprintf(buf_strings, ":%s", astring_c(entry->comment)); |
| 10241 | 10228 | |
| 10242 | 10229 | buf_strings += sprintf(buf_strings, "\n"); |
| 10243 | 10230 | |
| r2935 | r2936 | |
| 10338 | 10325 | } |
| 10339 | 10326 | |
| 10340 | 10327 | /* set tag */ |
| 10341 | | if(entry->name && entry->name[0] != 0) |
| 10342 | | buf_strings += sprintf(buf_strings, ":%s\n", entry->name); |
| 10343 | | else |
| 10344 | | buf_strings += sprintf(buf_strings, ":(none)\n"); |
| 10328 | if(entry->name && astring_len(entry->name)) buf_strings += sprintf(buf_strings, ":%s\n", astring_c(entry->name)); |
| 10329 | else buf_strings += sprintf(buf_strings, ":(none)\n"); |
| 10345 | 10330 | |
| 10346 | 10331 | /* write the activation key code */ |
| 10347 | 10332 | mame_fwrite(the_file, buf, (UINT32)strlen(buf)); |
| r2935 | r2936 | |
| 10404 | 10389 | |
| 10405 | 10390 | /* set label name */ |
| 10406 | 10391 | if(entry->selection) |
| 10407 | | buf_strings += sprintf(buf_strings, " Label - %s", entry->action_list[entry->label_index[entry->selection]].optional_name); |
| 10392 | buf_strings += sprintf(buf_strings, " Label - %s", astring_c(entry->action_list[entry->label_index[entry->selection]].optional_name)); |
| 10408 | 10393 | |
| 10409 | 10394 | /* set tag */ |
| 10410 | | if(entry->name && entry->name[0] != 0) |
| 10411 | | buf_strings += sprintf(buf_strings, ":%s\n", entry->name); |
| 10395 | if(entry->name && astring_len(entry->name)) |
| 10396 | buf_strings += sprintf(buf_strings, ":%s\n", astring_c(entry->name)); |
| 10412 | 10397 | else |
| 10413 | 10398 | buf_strings += sprintf(buf_strings, ":(none)\n"); |
| 10414 | 10399 | |
| r2935 | r2936 | |
| 10590 | 10575 | { |
| 10591 | 10576 | if(region->target_type == kRegionType_CPU || region->target_type == kRegionType_Memory) |
| 10592 | 10577 | { |
| 10593 | | int temp_string_length; |
| 10594 | 10578 | UINT32 data = read_search_operand(kSearchOperand_First, search, region, address); |
| 10595 | 10579 | char temp_string[1024]; |
| 10596 | 10580 | cheat_entry *entry = get_new_cheat(); |
| 10597 | 10581 | cheat_action *action = &entry->action_list[0]; |
| 10598 | 10582 | |
| 10599 | | temp_string_length = sprintf(temp_string, "%.8X (%d) = %.*X", address, region->target_idx, BYTE_DIGITS_TABLE[search->bytes], data); |
| 10583 | sprintf(temp_string, "%.8X (%d) = %.*X", address, region->target_idx, BYTE_DIGITS_TABLE[search->bytes], data); |
| 10584 | CHARACTER_TO_ASTRING(temp_string, entry->name); |
| 10600 | 10585 | |
| 10601 | | entry->name = realloc(entry->name, temp_string_length + 1); |
| 10602 | | if(entry->name == NULL) |
| 10603 | | fatalerror( "cheat: [cheat entry] memory allocation error" |
| 10604 | | " temp_length = %.8X" |
| 10605 | | " entry->name = %p", |
| 10606 | | temp_string_length, entry->name); |
| 10607 | | |
| 10608 | | memcpy(entry->name, temp_string, temp_string_length + 1); |
| 10609 | 10586 | action->region = region->target_idx; |
| 10610 | 10587 | action->address = address; |
| 10611 | 10588 | action->original_address = address; |
| r2935 | r2936 | |
| 11847 | 11824 | info->y = (float)(EXTRACT_FIELD(action->extend_data, MSB16)) / 100; |
| 11848 | 11825 | } |
| 11849 | 11826 | |
| 11850 | | if(TEST_FIELD(action->type, WatchShowLabel) && entry->comment && strlen(entry->comment) < 256) |
| 11827 | if(TEST_FIELD(action->type, WatchShowLabel) && entry->comment && astring_len(entry->comment) < 256) |
| 11851 | 11828 | { |
| 11852 | 11829 | info->label_type = kWatchLabel_String; |
| 11853 | | strcpy(info->label, entry->comment); |
| 11830 | strcpy(info->label, astring_c(entry->comment)); |
| 11854 | 11831 | } |
| 11855 | 11832 | else |
| 11856 | 11833 | info->label_type = kWatchLabel_None; |
| r2935 | r2936 | |
| 11961 | 11938 | " ----- %s -----\n" |
| 11962 | 11939 | " type = %.8X\n" |
| 11963 | 11940 | " last_value = %p\n", |
| 11964 | | action->optional_name, action->type, action->last_value); |
| 11941 | astring_c(action->optional_name), action->type, action->last_value); |
| 11965 | 11942 | } |
| 11966 | 11943 | |
| 11967 | 11944 | /*-------------------------------------------------------------------------------------- |
| r2935 | r2936 | |
| 12170 | 12147 | switch(EXTRACT_FIELD(action->type, PopupParameter)) |
| 12171 | 12148 | { |
| 12172 | 12149 | case kPopup_Label: |
| 12173 | | ui_popup_time(1, "%s", action->optional_name); |
| 12150 | ui_popup_time(1, "%s", astring_c(action->optional_name)); |
| 12174 | 12151 | break; |
| 12175 | 12152 | |
| 12176 | 12153 | case kPopup_Value: |
| r2935 | r2936 | |
| 12182 | 12159 | |
| 12183 | 12160 | case kPopup_LabelValue: |
| 12184 | 12161 | ui_popup_time(1, "%s %*.*X", |
| 12185 | | action->optional_name, |
| 12162 | astring_c(action->optional_name), |
| 12186 | 12163 | BYTE_DIGITS_TABLE[EXTRACT_FIELD(action->type, AddressSize)], |
| 12187 | 12164 | BYTE_DIGITS_TABLE[EXTRACT_FIELD(action->type, AddressSize)], |
| 12188 | 12165 | read_data(machine, action)); |
| r2935 | r2936 | |
| 12193 | 12170 | BYTE_DIGITS_TABLE[EXTRACT_FIELD(action->type, AddressSize)], |
| 12194 | 12171 | BYTE_DIGITS_TABLE[EXTRACT_FIELD(action->type, AddressSize)], |
| 12195 | 12172 | read_data(machine, action), |
| 12196 | | action->optional_name); |
| 12173 | astring_c(action->optional_name)); |
| 12197 | 12174 | break; |
| 12198 | 12175 | } |
| 12199 | 12176 | break; |
| r2935 | r2936 | |
| 12440 | 12417 | |
| 12441 | 12418 | if(TEST_FIELD(cheat_options, ActivationKeyMessage)) |
| 12442 | 12419 | { |
| 12443 | | if(!entry->selection) |
| 12444 | | ui_popup_time(1,"%s disabled", entry->name); |
| 12420 | if(entry->selection == 0) |
| 12421 | ui_popup_time(1,"%s disabled", astring_c(entry->name)); |
| 12445 | 12422 | else |
| 12446 | | ui_popup_time(1,"%s : %s selected", entry->name, entry->action_list[entry->label_index[entry->selection]].optional_name); |
| 12423 | ui_popup_time(1,"%s : %s selected", astring_c(entry->name), astring_c(entry->action_list[entry->label_index[entry->selection]].optional_name)); |
| 12447 | 12424 | } |
| 12448 | 12425 | } |
| 12449 | 12426 | } |
| r2935 | r2936 | |
| 12457 | 12434 | activate_cheat(machine, entry); |
| 12458 | 12435 | |
| 12459 | 12436 | if(TEST_FIELD(cheat_options, ActivationKeyMessage)) |
| 12460 | | ui_popup_time(1,"set %s", entry->name); |
| 12437 | ui_popup_time(1,"set %s", astring_c(entry->name)); |
| 12461 | 12438 | } |
| 12462 | 12439 | else if(entry->flags & kCheatFlag_Active) |
| 12463 | 12440 | { |
| 12464 | 12441 | deactivate_cheat(machine, entry); |
| 12465 | 12442 | |
| 12466 | 12443 | if(TEST_FIELD(cheat_options, ActivationKeyMessage)) |
| 12467 | | ui_popup_time(1,"%s disabled", entry->name); |
| 12444 | ui_popup_time(1,"%s disabled", astring_c(entry->name)); |
| 12468 | 12445 | } |
| 12469 | 12446 | else |
| 12470 | 12447 | { |
| 12471 | 12448 | activate_cheat(machine, entry); |
| 12472 | 12449 | |
| 12473 | 12450 | if(TEST_FIELD(cheat_options, ActivationKeyMessage)) |
| 12474 | | ui_popup_time(1,"%s enabled", entry->name); |
| 12451 | ui_popup_time(1,"%s enabled", astring_c(entry->name)); |
| 12475 | 12452 | } |
| 12476 | 12453 | } |
| 12477 | 12454 | } |
| r2935 | r2936 | |
| 12479 | 12456 | /* ***** 2nd, do cheat actions ***** */ |
| 12480 | 12457 | |
| 12481 | 12458 | /* if "OFF", no action */ |
| 12482 | | if(driverSpecifiedFlag != 0 || (entry->flags & kCheatFlag_Active) == 0) |
| 12483 | | return; |
| 12459 | if(cheat_flags || (entry->flags & kCheatFlag_Active) == 0) return; |
| 12484 | 12460 | |
| 12485 | 12461 | while(1) |
| 12486 | 12462 | { |
| r2935 | r2936 | |
| 12550 | 12526 | static void cheat_periodic_old_entry(running_machine *machine, cheat_entry *entry) |
| 12551 | 12527 | { |
| 12552 | 12528 | int i, do_action = 0, done = 1; |
| 12529 | UINT32 temp; |
| 12553 | 12530 | |
| 12554 | 12531 | /* special handling for select cheats */ |
| 12555 | 12532 | if(entry->flags & kCheatFlag_Select) |
| r2935 | r2936 | |
| 12579 | 12556 | } |
| 12580 | 12557 | else |
| 12581 | 12558 | { |
| 12582 | | if((entry->flags & kCheatFlag_UserSelect) != 0) |
| 12559 | if((entry->flags & kCheatFlag_UserSelect) == 0) |
| 12583 | 12560 | { |
| 12584 | | if(input_code_pressed_once(entry->activation_key)) activate_cheat(machine, entry); |
| 12585 | | else |
| 12561 | if(input_code_pressed_once(entry->activation_key)) |
| 12586 | 12562 | { |
| 12587 | 12563 | if(entry->flags & kCheatFlag_Active) deactivate_cheat(machine, entry); |
| 12588 | 12564 | else activate_cheat(machine, entry); |
| 12589 | 12565 | } |
| 12590 | 12566 | } |
| 12591 | | |
| 12592 | | if((entry->flags & kCheatFlag_Active) == 0) return; |
| 12567 | if(cheat_flags || (entry->flags & kCheatFlag_Active) == 0) return; |
| 12593 | 12568 | do_action = 1; |
| 12594 | 12569 | } |
| 12595 | 12570 | if(do_action) |
| 12596 | 12571 | { |
| 12597 | | |
| 12598 | 12572 | for(i = entry->flags & kCheatFlag_Select ? entry->selection : 0; i < entry->action_list_length; i++) |
| 12599 | 12573 | { |
| 12600 | 12574 | int do_operation = 0; |
| r2935 | r2936 | |
| 12681 | 12655 | } |
| 12682 | 12656 | break; |
| 12683 | 12657 | case kOperation_ForceRange: |
| 12684 | | if( read_or_write_data(machine, action, 0, 0) < EXTRACT_FIELD(action->extend_data, MSB16) || |
| 12685 | | read_or_write_data(machine, action, 0, 0) > EXTRACT_FIELD(action->extend_data, LSB16)) |
| 12686 | | read_or_write_data(machine, action, action->data, 0); |
| 12658 | temp = read_or_write_data(machine, action, 0, 0); |
| 12659 | if( temp < EXTRACT_FIELD(action->extend_data, MSB16) || |
| 12660 | temp > EXTRACT_FIELD(action->extend_data, LSB16)) |
| 12661 | read_or_write_data(machine, action, action->data, 1); |
| 12687 | 12662 | break; |
| 12688 | 12663 | case kOperation_SetOrClearBits: |
| 12689 | 12664 | read_or_write_data(machine, action, |
| r2935 | r2936 | |
| 12797 | 12772 | |
| 12798 | 12773 | if(entry->label_index_length <= 1) |
| 12799 | 12774 | { |
| 12800 | | logerror("cheat: [label index table] %s fails to build due to invalid or no link\n", entry->name); return; |
| 12775 | logerror("cheat: [label index table] %s fails to build due to invalid or no link\n", astring_c(entry->name)); return; |
| 12801 | 12776 | } |
| 12802 | 12777 | else |
| 12803 | 12778 | /* set terminator */ |
| r2935 | r2936 | |
| 12806 | 12781 | if(entry->flags & kCheatFlag_OneShot) |
| 12807 | 12782 | entry->selection = 1; |
| 12808 | 12783 | |
| 12809 | | /* logerror("Cheat - Finish building index table for %s (length = %x)\n", entry->name, entry->label_index_length); */ |
| 12784 | /* logerror("Cheat - Finish building index table for %s (length = %x)\n", astring_c(entry->name), entry->label_index_length); */ |
| 12810 | 12785 | /* for(i = 0; i < entry->label_index_length; i++) */ |
| 12811 | 12786 | /* logerror("IndexTable[%x] = %x\n",i,entry->label_index[i]); */ |
| 12812 | 12787 | |
| r2935 | r2936 | |
| 12818 | 12793 | " name = %s\n" |
| 12819 | 12794 | " label_index_length = %.8X\n" |
| 12820 | 12795 | " label_index_length = %p\n", |
| 12821 | | entry->name, entry->label_index_length, entry->label_index); |
| 12796 | astring_c(entry->name), entry->label_index_length, entry->label_index); |
| 12822 | 12797 | } |
| 12823 | 12798 | |
| 12824 | 12799 | /*--------------------------------------------------------------------- |
| r2935 | r2936 | |
| 13057 | 13032 | |
| 13058 | 13033 | if(operation == kOperation_ForceRange) |
| 13059 | 13034 | { |
| 13060 | | if(EXTRACT_FIELD(action->type, MSB16) <= EXTRACT_FIELD(action->type, LSB16)) |
| 13035 | if(EXTRACT_FIELD(action->type, MSB16) > EXTRACT_FIELD(action->type, LSB16)) |
| 13061 | 13036 | errorFlag |= kErrorFlag_InvalidRange; |
| 13062 | 13037 | } |
| 13063 | 13038 | |
whatsnew.txt
| r2935 | r2936 | |
| 1 | | 0.125 |
| 1 | 0.126 |
| 2 | 2 | ----- |
| 3 | 3 | |
| 4 | 4 | |
| 5 | 5 | MAMETesters Bugs Fixed |
| 6 | 6 | ---------------------- |
| 7 | | 01743: [Sound] anteater: Music is really loud and clips (Aaron Giles) |
| 8 | | 01770: [Misc.] hanayara, mjangels, mjcomv1, mjreach, quiztvqq, tenkai, |
| 9 | | tenkaibb, tenkaicb, yarunara: msm6242 device assert (Duke) |
| 10 | | 01778: [Sound] all sets in m62.c driver: low ay8910 volume |
| 11 | | (Aaron Giles) |
| 12 | | 01771: [Misc.] arescue, f1en: space_map_range errors (Aaron Giles) |
| 13 | | 01772: [Misc.] daireika: space_map_range assertion (Aaron Giles) |
| 14 | | 01773: [Misc.] steelta1, steeltag, steeltal, steeltap: space_map_range |
| 15 | | error (Aaron Giles) |
| 16 | | 01774: [Misc.] racedcb4, racedcg4, racedrc1, racedrc2, racedrc4, |
| 17 | | racedrcb, racedrcg, racedrvc: space_map_range error |
| 18 | | (Aaron Giles) |
| 19 | | 01775: [Misc.] newtangl, troangel: Crash with Access Violation |
| 20 | | (robiza) |
| 21 | | 01767: [Sound] Various neodrvr.c games: Various sound effects broken |
| 22 | | (couriersud) |
| 23 | | 01769: [Sound] All games using YM2610: SSG volume more than 1.0 causes |
| 24 | | no audio output. (couriersud) |
| 7 | - 01896: [Misc.] bigfight, cyclwarr: Access Violation crash |
| 8 | (Aaron Giles) |
| 9 | - 01964: [Misc.] gtg2j: Access Violation (Aaron Giles) |
| 10 | - 01951: [Misc.] cybrcycc: Crash during intro. (Aaron Giles) |
| 11 | - 01965: [Misc.] driveyes: Access Violation (Aaron Giles) |
| 12 | - 01983: [Cheat System] Force Range cheats not working (couriersud) |
| 13 | - 00388: [Graphics] gaia: sometimes fails to display shadows beneath |
| 14 | enemies or the sprites of the old man that talks to you. |
| 15 | (David Haywood) |
| 16 | - 01984: [Cheat System] Incorrectly populating empty spacer comment |
| 17 | cheats (Aaron Giles) |
| 18 | - 01980: [Cheat System] Enable Cheats menu only showing the first 24 |
| 19 | cheats for ANY game (Aaron Giles) |
| 20 | - 01971: [Cheat System] Cheat menu flickers. (Aaron Giles) |
| 21 | - 01967: [Misc.] output.c unregister_client crash (Jeff Shanholtz) |
| 22 | - 01963: [Misc.] screenless systems: memory leak with -mngwrite |
| 23 | (Aaron Giles) |
| 24 | - 01854: [Graphics] All sets in thepit.c: Player 2 in cocktail mode |
| 25 | has screen reversed (couriersud) |
| 26 | - 01952: [Cheat System] sfex2p: Cheat crash. (Shimapong) |
| 27 | - 01968: [Cheat System] -CHEAT trigger causes MAME crash when starting |
| 28 | or exiting with some sets. (Shimapong) |
| 29 | - 01969: [Cheat System] some problem with cheat system (Shimapong) |
| 25 | 30 | |
| 26 | 31 | |
| 27 | 32 | |
| 28 | 33 | Source Changes |
| 29 | 34 | -------------- |
| 30 | | Added video enable/disable feature in m90 driver. [robiza] |
| 35 | Replaced kodb set with complete dump from known bootleg board |
| 36 | (different gfx rom layout). Added wofhfh bootleg from mame32plus. |
| 37 | Added SF2 Magic Turbo Delta bootleg as non-working. [David Haywood] |
| 31 | 38 | |
| 32 | | Fixed ROZ centering in namcona1 driver [Phil Stroffolino] |
| 39 | Added skeleton hikaru driver. [David Haywood, Guru] |
| 33 | 40 | |
| 34 | | Added extra tile banking and layer enable for denjinmk. |
| 35 | | [David Haywood] |
| 41 | Fixed possible 64-bit crash/hang with survival. [nuapete] |
| 36 | 42 | |
| 37 | | Fixed an envelope corner case in the SCSP and AICA. [kingshriek] |
| 43 | Driver's Eyes improvements: [Naibo] |
| 44 | - the communication work between CPU and 3D DSP should be limited |
| 45 | to the master M68000, if the address mapping is done in the shared |
| 46 | memory, master CPU would be disturbed by the slave one. |
| 47 | - DIP Switches |
| 48 | DIP3 ON for Screen on the left |
| 49 | DIP4 ON for Screen on the right |
| 50 | should not toggle on both |
| 51 | - The left, center and right screens have separate programs and |
| 52 | boards, each would work independantly. About projection angles of |
| 53 | left and right screen, the angle is correct on 'DRIVER'S EYES' |
| 54 | title screen, however in the tracks of demo mode it doesn't seem |
| 55 | correct. |
| 56 | - The game also features a pretty nice 2D sprite layer, which still |
| 57 | doesn't show up yet. It is known that the CPU does constantly feed |
| 58 | the 2D video memory some meaningful and logical data. |
| 38 | 59 | |
| 39 | | Removed bogus assertion in device code - DEVICE_TYPE_WILDCARD is NULL. |
| 40 | | [Nathan Woods] |
| 60 | New driver for Lucky 74 (Wing Co.Ltd, 1988) |
| 61 | [Roberto Fresca, Tomasz Slanina] |
| 62 | - Set the proper screen size. |
| 63 | - Decoded graphics. |
| 64 | - Decoded the dual-state color circuitry. |
| 65 | - Mapped the NVRAM, VRAM1-1, VRAM1-2, VRAM2-1 and VRAM2-2 properly. |
| 66 | - Emulated 2x PPI 8255 devices. |
| 67 | - Mapped the 4x DIP switches banks. |
| 68 | - Added PORT_DIPLOCATION to all DIP switches. |
| 69 | - Added DIP switches for 'Bet Max' and 'Limit'. |
| 70 | - Added DIP switches for 'Jackpot' and 'Pay Table'. |
| 71 | - Added the Memory Reset Switch. |
| 72 | - Added the 2nd video & color RAM. |
| 73 | - Added a 2nd tilemap for background graphics. |
| 74 | - Simplified the graphics banks. |
| 75 | - Fixed colors for foreground graphics. |
| 76 | - Fixed visible area to show the top of background graphics. |
| 77 | - Finally fixed colors for background graphics. |
| 78 | - Added all coinage DIP switches. |
| 79 | - Mapped all remaining inputs (service and player buttons). |
| 80 | - Added pulse time limitation to coins A, B & C. |
| 81 | - Switched to use 4x 8255 in replace of 2x 82c255 for I/O. |
| 82 | - Created a handler to feed the z80 port0 requests. |
| 83 | - Promoted lucky74s to 'working' state. |
| 84 | - Added an alternate set, but the program ROM looks like incomplete, |
| 85 | protected or just a bad dump. |
| 86 | - Parent/clone relationship. |
| 87 | - Added technical notes. |
| 88 | - Hooked interrupts. |
| 89 | - Hooked the AY8910 and therefore the NMI trigger. |
| 90 | - Changed the input "Key In" to active high. |
| 41 | 91 | |
| 42 | | Added xchg and a few other missing opcodes to x86emit.h. [Aaron Giles] |
| 92 | Fix scrolling speed in case a cheat dat has invalid (i.e. 0) settings. |
| 93 | [couriersud] |
| 43 | 94 | |
| 44 | | Added -watchdog to runtest.cmd. [Aaron Giles] |
| 95 | Added per-device and per-CPU validity checks. [Nathan Woods] |
| 45 | 96 | |
| 46 | | Verified clocks on Bomberman pcb which runs on M90 hardware. |
| 47 | | [Corrado Tomaselli] |
| 97 | Added new Ferrari F355 USA BIOS to Naomi.c [AndyGeezer] |
| 48 | 98 | |
| 99 | Improved sprite rendering on gaia crusaders (animate at 60fps now, |
| 100 | not 30). [David Haywood] |
| 49 | 101 | |
| 50 | 102 | |
| 103 | |
| 51 | 104 | New games added or promoted from NOT_WORKING status |
| 52 | 105 | --------------------------------------------------- |
| 53 | | Paparazzi [Tomasz Slanina] |
| 106 | Lucky 74 (small) [Roberto Fresca] |
| 54 | 107 | |
| 55 | 108 | |
| 56 | 109 | |
| 57 | 110 | New clones added |
| 58 | 111 | ---------------- |
| 59 | | Touchmaster 7000 V8.04 [Brian Troha] |
| 60 | | Megatouch III Tournament Edition [Hugh McLenaghan] |
| 61 | | Megatouch III [Mariusz Wojcieszek] |
| 62 | | Heated Barrel (World version 3) [Tomasz Slanina] |
| 63 | | Raiden 2 (set 7) [Tomasz Slanina] |
| 112 | Virtua Fighter 3 (Revision A) [Chris Hardy] |
| 113 | Lucky 74 (big) [Roberto Fresca] |
| 114 | Emergency Call Ambulance (Export) [AndyGeezer] |
| 64 | 115 | |
| 65 | 116 | |
| 66 | 117 | |
| 67 | | 0.124u5 |
| 118 | New games marked as GAME_NOT_WORKING |
| 119 | ------------------------------------ |
| 120 | Hikaru Bios [Guru] |
| 121 | Air Trix [Guru] |
| 122 | Planet Harriers [Guru] |
| 123 | Star Wars Pod Racer [Guru] |
| 124 | Wave Runner [David Haywood] |
| 125 | |
| 126 | |
| 127 | |
| 128 | 0.125u9 |
| 68 | 129 | ------- |
| 69 | 130 | |
| 70 | 131 | |
| 71 | 132 | MAMETesters Bugs Fixed |
| 72 | 133 | ---------------------- |
| 73 | | 01752: [Core] Warnings making standard .124u4 in GCC 4.3.0 (mingw) |
| 74 | | (Aaron Giles) |
| 75 | | 00149: [Misc.] No error report for invalid BIOS setting. (Aaron Giles) |
| 76 | | 01628: [Sound] bgaregga, bgareghk, bgaregnv, bgaregcn, bgaregt2: |
| 77 | | Sound broken (robiza) |
| 78 | | 01757: [Graphics] fieldday, undoukai: Graphics Corruption. (robiza) |
| 79 | | 00249: [Graphics] vangrd2: [possible] In cocktail mode, or when the |
| 80 | | flip screen dip is set, the score display is not flipped. |
| 81 | | (robiza) |
| 82 | | 00506: [Graphics] marvins: Screen flipping isn't correctly supported |
| 83 | | (robiza) |
| 84 | | 01744: [Graphics] gradius3, grdius3a, grdius3e: missing title text in |
| 85 | | intro (robiza) |
| 86 | | 01747: [Graphics] dietgo, dietgoe, dietgou, dietgoj: A ToDo note no |
| 87 | | more needed into the driver. (robiza) |
| 88 | | 01430: [Graphics] riskchal: Sprite-tile priority problem (robiza) |
| 89 | | 01750: [Graphics] troangel, newtangl: Corrupt sprite graphics in game |
| 90 | | (robiza) |
| 134 | - 01962: [DIP/Input] tailg: "Fatal error: Input ports cannot be read |
| 135 | at init time!" with -debug (Aaron Giles) |
| 136 | - 01948: [Misc.] All alg.c and cliffhgr.c sets: Access Violation when |
| 137 | taking a snapshot (Aaron Giles) |
| 138 | - 01940: [Misc.] All cps3.c sets: Access Violation (Aaron Giles) |
| 139 | - 01946: [DIP/Input] Various: Fatal error: Input ports cannot be read |
| 140 | at init time! (part 2) (Aaron Giles) |
| 141 | - 01957: [Core] Access Violation on hardreset with -debug (Aaron Giles) |
| 142 | - 01955: [DIP/Input] gauntleg: Unable to locate input port 'IN1' / |
| 143 | gauntleg cannot start (Aaron Giles) |
| 144 | - 00654: [DIP/Input] usclssic: Can't start 2P game. Seems like 2P |
| 145 | Start key has no effect. (stephh) |
| 146 | - 01945: [Misc.] All asteriod.c sets: Assertions (couriersud) |
| 147 | - 01939: [Misc.] All sega80v.c sets: Assertions (couriersud) |
| 148 | - 01947: [DIP/Input] All omegrace.c sets: Assertions (couriersud) |
| 149 | - 01941: [Misc.] pleiads, pleiadbl, pleiadce: Fatal error: |
| 150 | activecpu_get_info_int() called with no active cpu! |
| 151 | (src/emu/cpuintrf.c:1160) (couriersud) |
| 152 | - 01944: [DIP/Input] hachamf: Unable to locate input port 'DSW' |
| 153 | (robiza) |
| 154 | - 01936: [DIP/Input] All namcos21.c sets: Unable to locate input port |
| 155 | 'AN7' (robiza) |
| 156 | - 01938: [Gameplay] vaportrx: Game freeze (Aaron Giles) |
| 157 | - 01937: [Interface] All Sets: Fatal Exception on In-Game Menu |
| 158 | (couriersud) |
| 91 | 159 | |
| 92 | 160 | |
| 161 | |
| 93 | 162 | Source Changes |
| 94 | 163 | -------------- |
| 95 | | snookr10 updates: [Roberto Fresca] |
| 96 | | - Decrypted the apple10 tile matrix. |
| 97 | | - Partially decrypted the apple10 color codes. |
| 98 | | - Added encryption notes. |
| 99 | | - Updated technical notes. |
| 164 | SH2 core: [R. Belmont] |
| 165 | * refactored to separate out things that aren't part of the |
| 166 | interpreter. |
| 167 | * converted context struct to go through a pointer |
| 100 | 168 | |
| 101 | | Added DISCRETE_KEY_SALLEN_FILTER to discrete sound system. |
| 102 | | [couriersud] |
| 169 | Fixed nile pitch calculation. [h0pdmiYX0] |
| 103 | 170 | |
| 104 | | Added discrete mixing and filtering to irem games using m52-sound-c |
| 105 | | boards: mpatrol, travrusa. [couriersud] |
| 171 | MIPS3 recompiler: [Aaron Giles] |
| 172 | * don't generate compare interrupts unless the compare register was |
| 173 | written to; fixes hangs in blitz, calspeed, and others |
| 174 | * stash jump target address before executing delay slot; also, don't |
| 175 | update link register until delay slot has finished executing; |
| 176 | fixes hang in gauntleg |
| 177 | * marked IDT instructions for R4650 only |
| 178 | * accounted for time taken in throwaway likely branch slots |
| 179 | * fixed jalr to respect the correct link register |
| 180 | * fixed c.eq, c.lt, c.le to fail if unordered |
| 181 | * fixed swxc1, sdxc1 to use the correct source register |
| 182 | (fixes many Gauntlet problems) |
| 183 | * fixed CCR31 display in debugger |
| 184 | * fixed LWXC1/LDXC1; corrects gauntleg camera |
| 185 | |
| 186 | ADded state saving for flower.c. [couriersud] |
| 106 | 187 | |
| 107 | | Proper implementation of the tile/sprite priorities in m90 driver. |
| 108 | | This fix priorities in quizf1, riskchal amd maybe more m90 games. |
| 109 | | [robiza, Corrado Tomaselli] |
| 188 | Corrected dip setting for Risky Challenge. [Brian Troha] |
| 110 | 189 | |
| 111 | | Fix AY-3-8910/YM2149 and derivatives envelope handling. [couriersud] |
| 190 | Changed how watchpoints work so that supporting them adds 0 overhead |
| 191 | unless some are actually live. [Aaron Giles] |
| 112 | 192 | |
| 113 | | Funworld games: [Roberto Fresca] |
| 114 | | - Fixed AY8910 volume to all games to avoid clips. |
| 115 | | - Merge bigdeal and funworld machine drivers thanks to the AY8910 rewrite. |
| 116 | | - Removed old unaccurate commentary about magiccrd tiles. |
| 193 | Removed calls to memory_set_context() in favor of |
| 194 | cpuintrf_push_context(). [Aaron Giles] |
| 117 | 195 | |
| 118 | | De-hacked metro tilemaps. [David Haywood] |
| 196 | Renamed wilytowr.c to m63.c. Added Irem M63 PCB layout (based on |
| 197 | Atomic Boy). [Tomasz Slanina, Stefan Lindberg] |
| 119 | 198 | |
| 120 | | Sandii' Games: [Roberto Fresca] |
| 121 | | - Created a new machine driver for tenballs due to different memory |
| 122 | | map. |
| 123 | | - Worked all the input ports from the scratch. |
| 124 | | - Fixed the sound ROM_REGION. |
| 125 | | - Added the oki6295 emulation to all games. |
| 126 | | - Hooked output ports. |
| 127 | | - Documented and calculated all bits related to lamps. |
| 128 | | - Adjusted palette lenght to 256 colors. |
| 129 | | - Totally decrypted the apple10 color matrix. Now colors are perfect. |
| 130 | | - Created a new machine driver for apple10 due to encryption. |
| 131 | | - Reverse engineering the code to complete the DIP switches. |
| 132 | | - Added diplocations to DIP switches. |
| 133 | | - Promoted snookr10, apple10 and tenballs to 'WORKING' state. |
| 134 | | - Added game instructions & notes. |
| 135 | | - Updated encryption & technical notes. |
| 199 | Fixed 32031 so that it doesn't call the debugger if not enabled. |
| 200 | [Aaron Giles] |
| 136 | 201 | |
| 137 | | NES/PlayChoice 10 changes: [Mariusz Wojcieszek] |
| 138 | | - added support for mapping rom and ram in PPU video memory space |
| 139 | | - added PinBot mapper (H board) |
| 202 | Fixed assertion in astring.c when compiled against MSVC and the |
| 203 | string is UTF-8. [Nathan Woods] |
| 140 | 204 | |
| 141 | | All CMC italian games: [Roberto Fresca] |
| 142 | | - Added TICKET and HOPPER buttons to allow payout through the SUPER |
| 143 | | GAME. |
| 144 | | - Documented the featured SUPER GAME with complete instructions. |
| 145 | | - Improved DIP switches to properly set the payout system. |
| 205 | Night Striker update: [kanikani] |
| 206 | - Added World version as new parent (nightstr) |
| 207 | - Renamed already-supported US version to nghtstru |
| 208 | - Added Japanese version (nghtstrj) |
| 209 | - Removed unnecessary analog input remapping |
| 210 | - Added analog stick adjusting port |
| 146 | 211 | |
| 147 | | Changed the implementation of the cocktail mode in marvins.c. |
| 148 | | [robiza] |
| 212 | Added diplocations to all games in taito_z.c. [kanikani] |
| 149 | 213 | |
| 150 | | Merged memory maps for tunhunt, tumblep, tugboat, trucocl, and truco. |
| 151 | | [Andrew Gardner] |
| 214 | Added pot wheel support to world rally 2. [Mirko Mattioli] |
| 152 | 215 | |
| 153 | | meritm driver updates: [Brian Troha, Tafoid] |
| 154 | | - Consolidated, corrected and updated info |
| 155 | | - Verified Megatouch IV program rom |
| 156 | | - Corrected many rom names |
| 157 | | - Add game revision to game name (IE: 9255-40-01 ROE) |
| 158 | | - Added pals from Megatouch 6 to other sets as they all run on the |
| 159 | | same PCB |
| 160 | | - Add the sound clock update from Tafoid |
| 216 | Split ADSP2100 execution loop between debug/non-debug. [Aaron Giles] |
| 161 | 217 | |
| 162 | | Massive update to ROM naming in the CPS1 driver, also loading smaller |
| 163 | | eproms for Japanese sets instead of the larger mask ROMs where |
| 164 | | possible. Added information about B-Board revisions where possible. |
| 165 | | There is still work to do on this regard but this is a first step in |
| 166 | | untangling the mess. [Nicola Salmoria] |
| 218 | Improved behavior of PGM on big-endian. The ARM7 boots properly now |
| 219 | but can't sync with the 68k for some reason. [R. Belmont] |
| 167 | 220 | |
| 168 | | Verified more CPS1 gfx ROM mappings against PALs. |
| 169 | | [Nicola Salmoria, Corrado Tomaselli] |
| 221 | Update S14001A core: improved filtering to be more accurate to the |
| 222 | chip, changed internal audio renderer to produce 4 bit sound as the |
| 223 | real chip does. Moved filter outside of the main rendering loop into |
| 224 | the glue code. Note: with this update, you may hear a whining noise |
| 225 | that was not previously present. This is accurate to the chip! The |
| 226 | real chip would almost always have an analog filter placed on its |
| 227 | output to suppress this whine. [Lord Nightmare] |
| 170 | 228 | |
| 171 | | Fixed another opcode in match it 2. [robiza] |
| 229 | Fixed some save state problems in the DCS driver. Still comes out |
| 230 | garbled on a load, however. Extended memory.c to support up to 4096 |
| 231 | banks. [Aaron Giles] |
| 172 | 232 | |
| 173 | | Converted the MSM6242 RTC into a proper device. [Dirk Best] |
| 233 | Improvements to Cal Omega driver: [Roberto Fresca] |
| 234 | - Unified MACHINE_RESET for systems 903/904/905. |
| 235 | - Created a new handler to manage the first 4 bits of system 905's |
| 236 | PIA1 portB as input mux selector (905 is still not working) |
| 237 | - Updated technical notes. |
| 174 | 238 | |
| 175 | | Removed deprecat.h from debugger.h to prevent hiding modules that |
| 176 | | really needed to include deprecat.h. [Atari Ace] |
| 239 | Fixed incorrect assumption in the x86/x64 implementation of HASHJMP |
| 240 | that the base table for a mode will always be allocated when a fixed |
| 241 | mode is first used. [Aaron Giles] |
| 177 | 242 | |
| 178 | | Added support for 8080/85 mode interrupts to the 8259 PIC. |
| 179 | | [Miodrag Milanovic] |
| 243 | Fixed 64-bit writes in UML C back-end. [Aaron Giles] |
| 180 | 244 | |
| 181 | | Verified a "not sure" opcode in bombrman. [robiza] |
| 245 | Preliminary emulation of video hardware (simple blitter) in Strip |
| 246 | Teaser. [Tomasz Slanina] |
| 182 | 247 | |
| 183 | | Changed BIOS errors so that specifying an invalid BIOS is a warning, |
| 184 | | not a fatal error. Also re-allowed "default" as a BIOS setting with |
| 185 | | special meaning. [Aaron Giles] |
| 248 | I80286: Fixed POP ES in protected mode. [Wilbert Pol] |
| 186 | 249 | |
| 250 | tumbleb.c update: [stephh] |
| 251 | - updated Dip Switches for 'wlstar' and 'wondl96' |
| 252 | - added notes for these 2 games and updated some others |
| 253 | - added port tags and updated memory definitions and read handlers |
| 187 | 254 | |
| 255 | Updated cheat system [ShimaPong] |
| 256 | - Roll back older periodic function |
| 257 | Now standard/old format work in this function |
| 258 | Otherwords, several operations which doesn't exist in older |
| 259 | function and added recently are now disabled |
| 260 | - Separated load_cheat_code() to 3 indipendent functions |
| 261 | And added new cheat options, "Load New/Standard/Old Format Code" |
| 262 | (Default : load all format codes) |
| 263 | NOTE : delete all cheat options in the database before start |
| 264 | or reload default options (Shift + Reload key) |
| 265 | in cheat general menu |
| 266 | - Added format strings structure to accept huge size strings |
| 267 | in loading a database to prevent from breaking other strings |
| 268 | - Changed Link in new format |
| 269 | Label code is now "Link-Label" and sub-label is "Label-Sub-Link" |
| 270 | "Standard-Link" is no longer label |
| 271 | - Added choose_label_index() to manage label selection |
| 272 | - Fixed build_label_index_table() to prevent from crashing |
| 273 | And disabled to build label index table in case of |
| 274 | standard/old format |
| 275 | - Fixed memory free problem in case of standard/old code |
| 276 | - Fixed several reported/found bugs |
| 188 | 277 | |
| 278 | Cleaned up input handling in seta.c and bigevglf.c. [stephh] |
| 279 | |
| 280 | Adds rom loading for the cadillacs & dinosaurs sets with PICs, and |
| 281 | for several similar punisher sets. No good dumps of the PICs exist, |
| 282 | and this is mainly for reference so that we don't forget the graphic |
| 283 | rom loading on them. They don't work. They're basically the same set |
| 284 | from different PCBs, so one will probably be removed eventually. |
| 285 | [David Haywood] |
| 286 | |
| 287 | Fixed memory leak in ledutil.c. [HeadKaze] |
| 288 | |
| 289 | |
| 290 | |
| 189 | 291 | New games added or promoted from NOT_WORKING status |
| 190 | 292 | --------------------------------------------------- |
| 191 | | Quiz F-1 1,2finish [robiza] |
| 192 | | PinBot (PlayChoice-10) [Mariusz Wojcieszek] |
| 193 | | Snooker 10 [Roberto Fresca] |
| 194 | | Apple 10 [Roberto Fresca] |
| 195 | | Ten Balls [Roberto Fresca] |
| 293 | Touchmaster 8000 (v9.04 Standard) [Brian Troha] |
| 294 | Galactic Storm [Hau, Team Japump!] |
| 196 | 295 | |
| 197 | 296 | |
| 198 | 297 | |
| 199 | 298 | New clones added |
| 200 | 299 | ---------------- |
| 201 | | Touch Master 3000 V5.02 [Brian Troha] |
| 202 | | Megatouch IV (9255-40-01-ROE) [Brian Troha] |
| 203 | | Dynasty Wars (US set 2) [Corrado Tomaselli] |
| 204 | | Final Fight (Japan 900112) [Chack'n] |
| 205 | | Street Fighter Alpha 2 (Euro 960229) [Razoola] |
| 206 | | Raimais (Japan / First Revision) [Corrado Tomaselli] |
| 300 | Night Striker (Japan) [kanikani] |
| 301 | Night Striker (US) [kanikani] |
| 302 | Wiz (Taito, set 2) [David Haywood] |
| 303 | Moon Lander [David Haywood] |
| 304 | Star Force (encrypted, set 2) [highwayman] |
| 305 | Spy Hunter (Playtronic license) [stefanocsw] |
| 306 | Captain Commando (bootleg) [highwayman] (NOT WORKING) |
| 207 | 307 | |
| 208 | 308 | |
| 209 | 309 | |
| 210 | 310 | New games marked as GAME_NOT_WORKING |
| 211 | 311 | ------------------------------------ |
| 212 | | Forgotten Worlds (World?) [The Guru] |
| 312 | King of Football [Tomasz Slanina] |
| 313 | Hell Night (ver EAA) [Guru] |
| 213 | 314 | |
| 214 | 315 | |
| 215 | 316 | |
| 216 | | 0.124u4 |
| 317 | 0.125u8 |
| 217 | 318 | ------- |
| 218 | 319 | |
| 219 | 320 | |
| 220 | 321 | MAMETesters Bugs Fixed |
| 221 | 322 | ---------------------- |
| 222 | | 00426: [Core] tenkaibb, mjreach: don't bootup correctly. (Emuman) |
| 223 | | 01711: [Gameplay] connect4, mpu4met0, mpu4tst2, mpu4utst, bctvidbs: |
| 224 | | Using -CHEAT trigger causes a crash (Atari Ace) |
| 225 | | 00149: [Misc.] No error report for invalid BIOS setting. (Atari Ace) |
| 226 | | 01588: [Core] timecrsa, timecris: MAME simply quits after pressing F3 |
| 227 | | in both sets, game cannot be runned (Atari Ace) |
| 228 | | 01733: [Core] diehard: Game fails to start (Aaron Giles) |
| 229 | | 01710: [DIP/Input] spacetrk, sptrekct: Cannot insert coins in both sets |
| 230 | | (Aaron Giles) |
| 231 | | 01721: [DIP/Input] sspaceat, sspacat2, sspacat3, sspacatc : Problems |
| 232 | | with inserting coins. (Aaron Giles) |
| 233 | | 01740: [DIP/Input] carnival, headon, heiankyo, pulsar, samurai, |
| 234 | | tranqgun : Is not possible to insert any coin. (Aaron Giles) |
| 235 | | 01724: [Core] garou, garouo: Can't start the game (Aaron Giles) |
| 236 | | 01732: [Core] kof99, kof99a, kof99e: Game doesn't start (Aaron Giles) |
| 237 | | 01742: [Interface] punchout, armwrest + many vsnes.c and playch10.c |
| 238 | | games: Refreshspeed causes fatal exception in punchout |
| 239 | | (Aaron Giles) |
| 240 | | 01670: [Graphics] kungfum, kungfud, spartanx, kungfub, kungfub2: Main |
| 241 | | character sprite not hidden at end of level. (Nicola Salmoria) |
| 242 | | 01686: [Graphics] ldrun3, ldrun3jp: visible area problem |
| 243 | | (Nicola Salmoria) |
| 244 | | 00248: [Graphics] repulse: Once the player has been shot, a misplaced |
| 245 | | tile appears on the screen. (robiza) |
| 246 | | 01145: [Graphics] sonofphx, 99lstwar, 99lstwrk, repulse: When you die |
| 247 | | in the first level, there's a red graphics glitch at the lower |
| 248 | | left. (robiza) |
| 249 | | 00498: [Graphics] sonofphx, 99lstwar, 99lstwra, 99lstwrk, repulse: When |
| 250 | | the end-level mothership appears in the stage 4, it shows through |
| 251 | | the trees and scrolls showing through. (robiza) |
| 323 | - 01935: [Core] All output commands (-listxml, -cc, -listfull, ETC) |
| 324 | crash with error (couriersud) |
| 252 | 325 | |
| 253 | 326 | |
| 254 | 327 | |
| 255 | 328 | Source Changes |
| 256 | 329 | -------------- |
| 257 | | Improvements to aerfboo2: [robiza] |
| 258 | | - fix bg1 and bg2 offset |
| 259 | | - fix sprites |
| 260 | | - promoted to "working" (NO SOUND) |
| 330 | Updated config.txt to describe debugger. Turned off debugger flag by |
| 331 | default. [Aaron Giles] |
| 261 | 332 | |
| 262 | | Added a macro for the CDP1869 interface, and made write handlers |
| 263 | | optional. [Curt Coder] |
| 333 | Fixed input port read during init on most (Super) System 22 games. |
| 334 | [R. Belmont] |
| 264 | 335 | |
| 265 | | Fixed offset sprite/background in kyugo.c. [robiza] |
| 336 | Fixed Flower dip switches and added dip locations. [Brian Troha] |
| 266 | 337 | |
| 267 | | Fixed the 6502 family of disassemblers to show the correct bit to |
| 268 | | operate for BBR, BBS, RMB and SMB instructions. (65C02/65CE02 CPUs |
| 269 | | and variants) [Roberto Fresca] |
| 270 | 338 | |
| 271 | | Fixed 2 opcodes for quizf1: now the little machines move correctly. |
| 272 | | [robiza] |
| 273 | 339 | |
| 274 | | Converted the ppi8255 implementation to a device. [Wilbert Pol] |
| 340 | New clones added |
| 341 | ---------------- |
| 342 | Mahjong Electron Base (parts 2 & 4, Japan, BOOTLEG) [XingXing] |
| 275 | 343 | |
| 276 | | Changed the inline validity checks to work around GCC bug #35885. |
| 277 | | [Wilbert Pol] |
| 278 | 344 | |
| 279 | | Expanded the set of memory accessor functions. In addition to |
| 280 | | direct byte, word, dword, and qword accessors for all bus sizes, |
| 281 | | there are now masked word, dword, and qword accessors for all |
| 282 | | bus sizes. [Aaron Giles] |
| 283 | 345 | |
| 284 | | Further CPS1 improvements: |
| 285 | | [Nicola Salmoria, Corrado Tomaselli, Charles MacDonald] |
| 286 | | * fixed layer enable at the end of stage 4 in Varth. |
| 287 | | * increased Varth CPU clock to 12MHz to reduce slowdowns (the game |
| 288 | | was released after sf2ce so the faster A-board was available). |
| 289 | | * verified more gfx rom mappings against PAL dumps (thanks to Corrado) |
| 290 | | * verified memory maps using A-board PAL dumps (thanks to Charles) |
| 291 | | * separated the address ranges for CPS-A and CPS-B customs. This |
| 292 | | finally clarifies why some registers are fixed and some change |
| 293 | | with every game. |
| 294 | | * identified three new unknown registers in the CPS-B-21 custom. |
| 295 | | Their purpose is unknown. |
| 296 | | * all unhandled accesses to CPS-A/CPS-B registers will now be |
| 297 | | reported. There shouldn't be any left. Look out for |
| 298 | | "contact MAMEDEV" popups. |
| 299 | | * cleaned memory maps. Moved forgotten worlds special input mmeory |
| 300 | | handlers to DRIVER_INIT. |
| 301 | | * moved extra input handlers to video/cps1.c since the extra |
| 302 | | connectors are on the C-board. |
| 303 | | * added sound to Final Crash. |
| 304 | | * lowered SF2 clock speed to 10MHz. This is on the assumption that, |
| 305 | | since the 12MHz A-Board is called "89626A-4 DASH", it should |
| 306 | | have started to be used with SF2 DASH--that is, sf2ce. |
| 346 | 0.125u7 |
| 347 | ------- |
| 307 | 348 | |
| 308 | | Inverted the sense of the memory mask that is passed to read/write |
| 309 | | handlers. Previously, the mask indicated which bits were NOT requested |
| 310 | | to be read/written. Now, the mask indicates which bits ARE to be |
| 311 | | read/written, which is more logical. Updated a number of drivers and |
| 312 | | the MIPS CPU cores to comply. [Aaron Giles] |
| 313 | 349 | |
| 314 | | Funworld updates: [Roberto Fresca] |
| 315 | | - Removed the temporary hack to jolyc980. |
| 316 | | - Updated technical notes |
| 317 | | - Moved snookr10 to its own driver. |
| 318 | | - Minor clean-up. |
| 350 | MAMETesters Bugs Fixed |
| 351 | ---------------------- |
| 352 | - 01931: [Gameplay] sqix: [possible] sprites slowdown (couriersud) |
| 353 | - 01631: [Core] sqixbl, perestro, perestrf: game resets after starting |
| 354 | game (couriersud) |
| 355 | - 01874: [Core] windheat: Game freeze (Aaron Giles) |
| 356 | - 01905: [Misc.] Many Sets: Fatal Error crash - Fatal error: Input |
| 357 | ports cannot be read at init time! (src/emu/inptport.c:1278) |
| 358 | (Aaron Giles) |
| 359 | - 01928: [DIP/Input] chplft, chplftb, chplftbl: Choplifter player 2 |
| 360 | video is upside down (couriersud) |
| 361 | - 01712: [DIP/Input] exerizrb, skyfox: Coin 1 mapped twice. |
| 362 | (couriersud) |
| 363 | - 01886: [Graphics] gradius4: 3D gfx problem. (Aaron Giles) |
| 364 | - 01927: [Misc.] Effects overlay showing in snapshots (Aaron Giles) |
| 365 | - 01901: [Graphics] kinst13, kinst14, kinstp: Attract mode graphics |
| 366 | regression (Aaron Giles) |
| 367 | - 01916: [Misc.] srmvs: Assertion (Aaron Giles) |
| 368 | - 01900: [DIP/Input] All sets in kinst.c: Mass coin input disables |
| 369 | dipswitch access, and thus further coin input during a fight. |
| 370 | (Aaron Giles) |
| 371 | - 01709: [DIP/Input] startrek, tacscan, zektor: Duplicate P1 + P2 |
| 372 | Starts Mapped (couriersud) |
| 373 | - 01715: [DIP/Input] ballbomb: Player 1 Left+Right and Button 1 mapped |
| 374 | twice. (couriersud) |
| 375 | - 01714: [DIP/Input] ssfindo: Player 2 Start mapped twice. |
| 376 | (couriersud) |
| 377 | - 01818: [DIP/Input] All sets in rastan.c: 2nd (unused) Service Mode |
| 378 | DIP assigned. (stephh) |
| 379 | - 01912: [DIP/Input] Various: Unable to construct input ports! |
| 380 | (part 2) (Aaron Giles) |
| 381 | - 01889: [DIP/Input] realbrk, realbrkk, realbrkj: Flip screen DIP |
| 382 | switch doesn't work. (couriersud) |
| 383 | - 01869: [DIP/Input] alienar, alienaru, splat: Duplicated Inputs |
| 384 | (couriersud) |
| 385 | - 01575: [DIP/Input] joust, joustr, joustwr: Player 1 and Player 2 |
| 386 | Start buttons are mapped twice. (couriersud) |
| 387 | - 01866: [DIP/Input] gstream: Duplicated Inputs (couriersud) |
| 388 | - 01903: [Graphics] mooncrst and most clones: 3rd+4th Wave have |
| 389 | enemies that are corrupted. (couriersud) |
| 390 | - 01908: [Misc.] Various: Access Violation when saving a snapshot |
| 391 | (Aaron Giles) |
| 392 | - 01911: [DIP/Input] nomnlndg: Unable to locate input port 'DSW' |
| 393 | (Fabio Priuli) |
| 394 | - 01906: [Misc.] All sets in atartig1.c: Fatal Exception crash |
| 395 | (Aaron Giles) |
| 396 | - 01904: [DIP/Input] teetert: Player movement has slowed from |
| 397 | previous MAME (Aaron Giles) |
| 319 | 398 | |
| 320 | | Improved the IGS017 based games: [Luca Elia] |
| 321 | | - iqblocka: bypassed the protection, emulated the video hardware, |
| 322 | | inputs and sound. |
| 323 | | - tjsb: it now boots and has partially decrypted graphics. |
| 324 | 399 | |
| 325 | | Added new Windows option -watchdog, which creates a watchdog thread |
| 326 | | that forcibly kills the application after a certain number of seconds. |
| 327 | | Primarily intended to be used in regression test runs to handle the |
| 328 | | occasional hung game. [Aaron Giles] |
| 329 | 400 | |
| 330 | | Improved popper.c colors useing resistor values from schematics. |
| 331 | | [couriersud, Joe Magiera] |
| 401 | Source Changes |
| 402 | -------------- |
| 403 | Fixed input port read at init time in grchamp.c. [Curt Coder] |
| 332 | 404 | |
| 333 | | Changed and verified cpu frequencies on kyugo.c games. Gyrodine and |
| 334 | | 99 the last war and clones run on the same board. [Corrado Tomaselli] |
| 405 | Fixed input port read validation. The previous check was way too |
| 406 | aggressive, and prevented CUSTOM_INPUT handlers from reading other |
| 407 | ports. This one sets an "all clear" flag as soon as the configuration |
| 408 | data is loaded. [Aaron Giles] |
| 335 | 409 | |
| 336 | | Added preliminary 68681 DUART (machine\68681.c) [Mariusz Wojcieszek] |
| 410 | GX era haradware: update video parameters to use actual values written |
| 411 | to the CCU. [Yasuhiro Ogawa] |
| 337 | 412 | |
| 338 | | Moved Microtouch touch screen controller emulation to separate module |
| 339 | | (machine\microtch.c). [Mariusz Wojcieszek] |
| 413 | MultiPCM/315-5560 rewrite. All features are now supported including |
| 414 | PLFO and ALFO. [ElSemi] |
| 340 | 415 | |
| 341 | | Specifying an invalid bios is now a fatalerror. Also, "default" is |
| 342 | | no longer a special BIOS type; if you want the default BIOS, leave |
| 343 | | the bios option blank. [Atari Ace] |
| 416 | Fixed read from input port during VIDEO_START in namcofl.c. |
| 417 | [couriersud] |
| 344 | 418 | |
| 345 | | DEC T-11 CPU improvements: [Miodrag Milanovic] |
| 346 | | - HALT - now calls interrupt vector |
| 347 | | - ILLEGAL - had PC=0 at the end which makes code not run fine |
| 348 | | - MARK - now it is implemented |
| 419 | Cleaned up z80dma interface [couriersud] |
| 420 | * removed compatibility to old z80dma driver |
| 421 | * now uses std. callbacks (READ8_HANDLER, WRITE8_HANDLER) |
| 422 | * updated mario and dkong3 accordingly |
| 349 | 423 | |
| 350 | | Memory map merge for twin16 driver. [Andrew Gardner] |
| 424 | Implemented 8257 dma controller as proper device [couriersud] |
| 425 | * rewrote 8257dma.[ch] |
| 426 | * updated dkong.c accordingly |
| 351 | 427 | |
| 352 | | Removed silly idle skip code in prehisle driver. [David Haywood] |
| 428 | dkong.c: Merge driver init code for drakton and strtheat [couriersud] |
| 429 | * made decryption for drakton and strtheat more compact |
| 430 | * moved decryption and driver init code into dkong.c |
| 431 | * deleted drakton.c and strtheat.c |
| 353 | 432 | |
| 354 | | AY-3-8910 rewrite: [couriersud] |
| 355 | | * adds a model to calculate mixing of channels with different |
| 356 | | resistance loads. |
| 357 | | * based on above, each channel may be assigned a different load in |
| 358 | | individual case, i.e. channels not tied together |
| 359 | | * rewrote ay8910.c to make emulation simpler |
| 360 | | * changed the config structure to include a flag field and output |
| 361 | | resistor loads. |
| 362 | | * Updated all drivers affected. |
| 363 | | * Added some "Todos" related to stuff I discovered when reading |
| 364 | | datasheets. |
| 365 | | * Fixed a bug in disc_flt.c (konami filters) |
| 433 | Added emulation of ST-0026 NiLe (sound). Added audio to Super |
| 434 | Real Mahjong P6. [Tomasz Slanina, R. Belmont] |
| 366 | 435 | |
| 367 | | Fixed discrete sound and konami filter addressing in galaxian driver. |
| 368 | | Also changed addressing of AY-3-8910 to be in line with schematics. |
| 369 | | [couriersud] |
| 436 | i8x41 improvements: [Wilbert Pol] |
| 437 | - Removed i8x41.ram hack from the i8x41 cpu core. |
| 438 | - Fixed disassembly for opcode 0x67. |
| 439 | - Added configurable i8x41/i8x42 subtype support. |
| 440 | - Fixed carry flag handling in ADDC A,#N instruction. |
| 441 | - Fixed carry flag handling in RLC A instruction. |
| 442 | - Updated the ram sizes. 8041 uses 128 bytes, 8042 |
| 443 | 8042 uses 256 bytes. |
| 444 | - Added support for re-enabling interrupts inside |
| 445 | an interrupt handler. |
| 446 | - Fixed cycle count for DJNZ instruction. |
| 370 | 447 | |
| 371 | | Added discrete sound for filtering ("konami"-style) and mixing in |
| 372 | | gyruss.c. [couriersud] |
| 448 | Converted voodoo into a proper device. Updated drivers accordingly. |
| 449 | [Aaron Giles] |
| 373 | 450 | |
| 374 | | Changed UI to allow volumes higher than 2.0. [Nicola Salmoria] |
| 451 | Cal Omega driver updates: [Roberto Fresca] |
| 452 | - Lots of improvements on the input system. |
| 453 | - Adjusted the CPU adressing to 14 bits for systems 903/904. |
| 454 | - Adjusted the CPU adressing to 15 bits for system 905. |
| 455 | - Rewrote all the ROM loads based on these changes. |
| 456 | - Defined CPU, UART and sound clocks. |
| 457 | - Splitted the sound interface to cover different systems. |
| 458 | - Splitted the PIAs interfaces to cover different systems. |
| 459 | - Added sound to system 905 games. |
| 460 | - Added MACHINE_START and MACHINE_RESET to initialize the devices |
| 461 | properly. |
| 462 | - Documented the systems 903/904 UART connections. |
| 463 | - Traced and added PIAs connection diagrams for systems 903/904/905. |
| 464 | - Hooked the missing DIP Switches bank to the AY8912 for system 903. |
| 465 | - Added preliminary serial/UART support to systems 903/904. |
| 466 | - Hooked the missing DIP Switches bank to the ACIA 6850 for systems |
| 467 | 903/904. It allow to choose the proper transfer rate for UART. |
| 468 | - Fixed graphics ROM loads for different Hotline versions. |
| 469 | - Added support to Game 8.0 (Arcade Black Jack). |
| 470 | - Added support to Game 12.3 (Ticket Poker). |
| 471 | - Added support to Game 23.0 (FC Bingo (4-card)). |
| 472 | - Renamed all roms of each set according to the systems schematics and official list. |
| 473 | - Cleaned-up the sets. |
| 474 | - Cleaned-up the driver. |
| 475 | - Updated technical notes. |
| 375 | 476 | |
| 376 | | Changed code which used assignment in conditionals to break out the |
| 377 | | assignment. [Atari Ace] |
| 477 | Save state support: [Aaron Giles] |
| 478 | * added save state support to the MIPS3 recompiler |
| 479 | * added save state support to CAGE audio system |
| 480 | * added save state support to the voodoo emulator |
| 481 | * added save state support to the smc91c9x emulator |
| 482 | * added save state support to the kinst, seattle, and vegas drivers |
| 483 | * fixed core video handling of save states with dynamic screen resolutions |
| 484 | * added save state support to the SHARC CPU core |
| 485 | * added save state support to the PowerPC recompiler |
| 486 | * added save state support to the virtual TLB system |
| 487 | * added save state support to the RF5C400 sound core |
| 488 | * added save state support to konppc module |
| 489 | * added save state support to K056800 host controller |
| 490 | * added save state support to the Konami hornet driver |
| 378 | 491 | |
| 379 | | Converted a large number of Machine -> machine and removed #include |
| 380 | | "deprecat.h" where possible. [Atari Ace] |
| 492 | SMC91C9x: [Aaron Giles] |
| 493 | * converted to proper device |
| 494 | * updated seattle and vegas drivers to allocate devices |
| 495 | * added separate 91C96 device for eventual 2049 use |
| 496 | * cleaned up code |
| 381 | 497 | |
| 498 | Added machine parameter to memory_region() and memory_region_length() |
| 499 | functions. Cleaned up usage of these throughout the code to cache |
| 500 | pointers rather than calling these functions repeatedly during loops. |
| 501 | [Atari Ace] |
| 382 | 502 | |
| 503 | Fixed poor default CLUT handling in the voodoo driver. [Aaron Giles] |
| 383 | 504 | |
| 505 | Added additional Naomi BIOSes. [Brian Troha, Guru] |
| 506 | |
| 507 | DRC fixes: [Aaron Giles] |
| 508 | * Fixed WRITEM opcode on 64-bit to call through memory instead of |
| 509 | directly. Solves assertions with gcc 4.3 and 64-bit linux. |
| 510 | * Fixed DCMP opcode on the 32-bit back-end |
| 511 | * Fixed LZCNT opcode in x86 and x64 back-ends |
| 512 | * Added support for flags in LZCNT and BSWAP opcodes on x86 and x64 |
| 513 | back-ends |
| 514 | |
| 515 | Changed debugger so it does not stop while we are waiting for a |
| 516 | pending event to occur. This eliminates some confusion during reset |
| 517 | and state loading. [Aaron Giles] |
| 518 | |
| 519 | Explicitly disabled overlays for non-native snapshots (native |
| 520 | snapshots already had them disabled). [Aaron Giles] |
| 521 | |
| 522 | Added more complete readmes for Konami PowerPC games. [Guru] |
| 523 | |
| 524 | Cleaned up system register access in Konami PowerPC games. Connected |
| 525 | EEPROM in hornet driver (doesn't seem to affect much). Altered network |
| 526 | IRQ timing to fix several problems. Most games are back to their |
| 527 | previous "working" states. [Aaron Giles] |
| 528 | |
| 529 | Changed DRC frontend to pass a pointer to the previous instruction |
| 530 | when describing. Updated PowerPC frontend to approximately take into |
| 531 | account branch and CR logic folding in timing computations. |
| 532 | [Aaron Giles] |
| 533 | |
| 534 | Updated cheat system: [Shimapong] |
| 535 | - Merged 3 different search menu functions to search_main_menu() |
| 536 | - Added new cheat options, "Vertical/Horizontal Key Repeat Speed" |
| 537 | NOTE : delete all cheat options in the database before start |
| 538 | or reload default options (Shift + Reload key) |
| 539 | in cheat general menu |
| 540 | - Changed assignment of Entry for Activation Key and Pre-enable |
| 541 | command code. Now there are check the tag in comment field |
| 542 | instead of index number. But it's only for new format command |
| 543 | and old is as before |
| 544 | - Added tag output in save_activation_key() and save_pre_enable() |
| 545 | - Cleaned up save_cheat_options() to output description |
| 546 | - Changed memory read function in watchpoints |
| 547 | No longer "Debugger" watchpoint mis-hit "Cheat" watchpoint |
| 548 | - Fixed several reported/found bugs |
| 549 | - Renamed funcitons/enum based on coding guidlines |
| 550 | All functions are completed in this update |
| 551 | |
| 552 | Removed DEBUGGER flag from makefile and ENABLE_DEBUGGER macro from |
| 553 | the source code. All MAME builds now include the debugger, and it is |
| 554 | enabled/disabled exclusively by the runtime command-line/ini settings. |
| 555 | This is a minor speed hit for now, but will be further optimized going |
| 556 | forward. [Aaron Giles] |
| 557 | |
| 558 | Changed the 'd' suffix in the makefile to apply to DEBUG builds |
| 559 | (versus DEBUGGER builds as it did before). [Aaron Giles] |
| 560 | |
| 561 | Changed machine->debug_mode to machine->debug_flags. These flags now |
| 562 | indicate several things, such as whether debugging is enabled, whether |
| 563 | CPU cores should call the debugger on each instruction, and whether |
| 564 | there are live watchpoints on each address space. Redesigned a |
| 565 | significant portion of debugcpu.c around the concept of maintaining |
| 566 | these flags globally and a similar, more complete set of flags |
| 567 | internally for each CPU. All previous functionality should work as |
| 568 | designed but should be more robust and faster to work with. |
| 569 | [Aaron Giles] |
| 570 | |
| 571 | Added new debugger hooks for starting/stopping CPU execution. This |
| 572 | allows the debugger to decide whether or not a given CPU needs to call |
| 573 | the debugger on each instruction during the coming timeslice. Also |
| 574 | added new debugger hook for reporting exceptions. Proper exception |
| 575 | breakpoints are not yet implemented. [Aaron Giles] |
| 576 | |
| 577 | Added 360degree wheel (dial) input to GTMR, which is available when |
| 578 | the Controller dip is set to 'Wheel', and Controls dip is set to |
| 579 | '1P Side'. Note when Controls dip is set to 'Both Sides', 270degree |
| 580 | wheel (paddle) input is used. [Minwah] |
| 581 | |
| 582 | Verified clocks and adjusted sound volumes in Fairyland Story. |
| 583 | [Corrado Tomaselli] |
| 584 | |
| 585 | More conversion to input_port_read: [Fabio Priuli] |
| 586 | * updated the whole mid*unit family of drivers + seattle & zeus |
| 587 | which shared some input code. |
| 588 | * updated most namco systems + a couple of old drivers sharing the |
| 589 | input handling, minus namcos22 |
| 590 | * updated most of the M->Q drivers + finally removed indexed reads |
| 591 | from megadriv.c (without breaking ssf2ghw) |
| 592 | * removed indexed read from drivers starting with r (and slightly |
| 593 | simplify inputs in royalmah.c) |
| 594 | * unified nichibustu mahjong input ports (using common ports in |
| 595 | nbmj9195.c as well as in the other drivers), removed indexed read |
| 596 | and exploited tags to reduce complexity in a couple of handlers |
| 597 | |
| 598 | Fixed missing sha1 values in ampoker2.c, atarigx2.c, cabal.c, and |
| 599 | ksys573.c. [John Gilbert] |
| 600 | |
| 601 | Fixed a few build problems with the cpu/sound cores M65CE02, |
| 602 | ALPHA8201, TMC0285, TMS5200 and corrected the dependencies for |
| 603 | the mips core. [Atari Ace] |
| 604 | |
| 605 | Finish the work on ddragon3: [Sonikos] |
| 606 | - Mapped the correct dip "SW1-8" before was incorrect |
| 607 | - Added "FBI Logo" dips in ctribe |
| 608 | - Fixed the dips condition's implementation to avoid the mame crash |
| 609 | in ctribe |
| 610 | - Change the name of (Italian bootleg) in a better (bootleg Set 2) |
| 611 | |
| 612 | Set OKI 6295 pin 7 to high in gotcha driver. [Sonikos] |
| 613 | |
| 614 | Fixed make MSVC_BUILD=1 -j2 and corrected an oversight in the |
| 615 | cross-build support. [Atari Ace] |
| 616 | |
| 617 | Cleaned up most of the Machine stuff in src/emu/machine. There is |
| 618 | a bit left to clean up, but it's mostly stuck at some interfaces now. |
| 619 | [Oliver Stoeneberg] |
| 620 | |
| 621 | |
| 622 | |
| 384 | 623 | New games added or promoted from NOT_WORKING status |
| 385 | 624 | --------------------------------------------------- |
| 386 | | Side by Side [Maruwa] |
| 387 | | Jumping Pop (NICs, Korean bootleg of Plump Pop) |
| 388 | | [Robin Cooper, David Haywood] |
| 389 | | Touchmaster [Mariusz Wojcieszek] |
| 390 | | Touchmaster 3000 [Mariusz Wojcieszek] |
| 391 | | Touchmaster 4000 [Mariusz Wojcieszek] |
| 392 | | Touchmaster 5000 [Mariusz Wojcieszek] |
| 393 | | Touchmaster 7000 [Mariusz Wojcieszek] |
| 625 | Survival [nuapete] |
| 626 | WonderLeague '96 [David Haywood] |
| 394 | 627 | |
| 395 | 628 | |
| 396 | 629 | |
| 630 | New games marked as GAME_NOT_WORKING |
| 631 | ------------------------------------ |
| 632 | Cal Omega - Game 8.0 (Arcade Black Jack) [Roberto Fresca] |
| 633 | Cal Omega - Game 12.3 (Ticket Poker) [Roberto Fresca] |
| 634 | Cal Omega - Game 23.0 (FC Bingo (4-card)) [Roberto Fresca] |
| 635 | |
| 636 | |
| 637 | |
| 638 | 0.125u6 |
| 639 | ------- |
| 640 | |
| 641 | |
| 642 | MAMETesters Bugs Fixed |
| 643 | ---------------------- |
| 644 | - 00181: [Sound] ddragon3: OKI volume is too low in MAME. (sonikos) |
| 645 | - 00417: [Sound] ddragon3: the title voice should start when the |
| 646 | background tune hits its highest note. (sonikos) |
| 647 | - 01441: [Sound] ctribe, ddragon3: The OKI6295 playback frequency is |
| 648 | too high. (sonikos) |
| 649 | - 01888: [DIP/Input] raidena, raidenk, raident: Flip screen DIP switch |
| 650 | doesn't work. (couriersud) |
| 651 | |
| 652 | |
| 653 | |
| 654 | Source Changes |
| 655 | -------------- |
| 656 | MIPS3 recompiler: [Aaron Giles] |
| 657 | * added UML comments for common state variables |
| 658 | * removed some unused fields |
| 659 | * implemented LL/LLD/SC/SCD (only works single-processor for now) |
| 660 | |
| 661 | Added sound emulation to Wily Tower, Atomic Boy and Fighting |
| 662 | Basketball. [Tomasz Slanina] |
| 663 | |
| 664 | Improvements to squahitsa. [David Haywood] |
| 665 | |
| 666 | Progress on protection simulation for 2 Crystal System titles. Still |
| 667 | not working. [ElSemi] |
| 668 | |
| 669 | Some progress on tankfrc4 inputs. [David Haywood] |
| 670 | |
| 671 | Created common virtual TLB managment module. Updated MIPS and PowerPC |
| 672 | code to make use of it. [Aaron Giles] |
| 673 | |
| 674 | Added a validity check against reading input ports at init time. |
| 675 | [Curt Coder] |
| 676 | |
| 677 | Cleaned up software bilinear filtering code. Added bounds checking. |
| 678 | Enabled by default for snapshots and movie rendering. [Aaron Giles] |
| 679 | |
| 680 | Added new option: -snapsize, which lets you specify the target |
| 681 | resolution for snapshots and movies. The existing behavior is still |
| 682 | the default: create snapshots and movies at native pixel |
| 683 | resolutions. [Aaron Giles] |
| 684 | |
| 685 | Added new option: -snapview, which lets you specify a particular |
| 686 | view to use for rendering snapshots and movies. The existing |
| 687 | behavior is still the default: use a special internal view and |
| 688 | render each screen to its own snapshot in its own file. When using |
| 689 | this option to specify a view other than 'internal', only a single |
| 690 | snapshot file will be produced regardless of how many screens the |
| 691 | game has. [Aaron Giles] |
| 692 | |
| 693 | Improved AVI and MNG recording to properly duplicate/skip frames |
| 694 | as appropriate to keep the correct framerate. [Aaron Giles] |
| 695 | |
| 696 | Added new function video_get_view_for_target() which selects a view |
| 697 | based on a command-line parameter and the configuration. Changed |
| 698 | Windows OSD code to use this instead of its own logic. Changed |
| 699 | -snapview to share the logic as well, enabling 'auto' as a -snapview |
| 700 | option. [Aaron Giles] |
| 701 | |
| 702 | Renamed "Nintendo z80gb" cpu core to "Sharp LR35902". [Wilbert Pol] |
| 703 | |
| 704 | UML: [Aaron Giles] |
| 705 | - reactivated back-end validation mechanism |
| 706 | - added back-end validation for ADD/SUB/MUL/DIV/CMP forms |
| 707 | - fixed several errors in dealing with more obscure flag combinations |
| 708 | |
| 709 | konamigx frequency tweaks: [Yasuhiro Ogawa] |
| 710 | - set screen refresh rate to 58Hz (parameters from developer manual |
| 711 | are not 100% correct) |
| 712 | - removed sound CPU clock hack |
| 713 | |
| 714 | Set tecmosys screen refresh rate to measured 57.4458Hz. [Guru] |
| 715 | |
| 716 | Added missing machine parameters and removed deprecat.h usage in a |
| 717 | number of drivers/ and machine/ files. [Oliver Stoenberg] |
| 718 | |
| 719 | Changed all games after Street Fighter 2 CE to have a 12mhz clock. |
| 720 | Verified on Megaman and Quiz and dragons (original kits with plastic |
| 721 | case). I am resonably sure all the other games after ST2CE have the |
| 722 | DASH cps1 board with 12mhz clock. [Corrado Tomaselli] |
| 723 | |
| 724 | Converted many drivers in the d-j alphabetical range to use |
| 725 | input_port_read() instead of input_port_read_indexed(). [Fabio Puiuli] |
| 726 | |
| 727 | ddragon3 driver cleanups/fixes: [sonikos] |
| 728 | - Fixed the mess dips location in ctribe |
| 729 | - Added dips location in all sets of ddragon3 |
| 730 | - Added the missing dips (now are 8x2) on ctribe,ctribe1,ctribeb, |
| 731 | ctribb2 and ddrago3b |
| 732 | - Fixed the "Stage Clear Energy" dips in ctribe |
| 733 | - Adjusted the frame rate from 60hz to around 57 as reported on |
| 734 | mametester ID 00417 |
| 735 | - Adjusted OKI frequency to 1.000mhz (according to recording on |
| 736 | mametester ID 00181) |
| 737 | - Adjusted the ddragon3 & ctribe volume (according to recording on |
| 738 | mametester ID 00181 and 01441) |
| 739 | |
| 740 | Some protection improvements for vgoalsoc / tecmo world cup 98. |
| 741 | [nuapete] |
| 742 | |
| 743 | |
| 744 | |
| 745 | New games added or promoted from NOT_WORKING status |
| 746 | --------------------------------------------------- |
| 747 | Alien Storm 2 player World [Frederic Canoen] |
| 748 | |
| 749 | |
| 750 | |
| 397 | 751 | New clones added |
| 398 | 752 | ---------------- |
| 399 | | Aero Fighters (bootleg set 2) [robiza] |
| 400 | | 1942 (Williams Electronics license) [Quarterarcade] |
| 401 | | Rygar (US set 3 Old Version) [Corrado Tomaselli] |
| 402 | | Ghosts'n Goblins (Italian bootleg, harder) [Corrado Tomaselli] |
| 753 | Terra Force (bootleg with additional Z80) [David Haywood] |
| 754 | Turbo Outrun - White Cockpit version [Frans van Egmond] |
| 755 | The Combatribes (Italian bootleg) [Sonikos] |
| 403 | 756 | |
| 404 | 757 | |
| 405 | 758 | |
| 406 | 759 | New games marked as GAME_NOT_WORKING |
| 407 | 760 | ------------------------------------ |
| 408 | | Apple 10 (Ver 1.21) [Roberto Fresca] |
| 409 | | Ten Balls (Ver 1.05) [Roberto Fresca] |
| 761 | Wonderboy 3 System16A FD1089A [Volker Hann] |
| 410 | 762 | |
| 411 | 763 | |
| 412 | 764 | |
| 413 | | 0.124u3 |
| 765 | 0.125u5 |
| 414 | 766 | ------- |
| 415 | 767 | |
| 416 | 768 | |
| 417 | 769 | MAMETesters Bugs Fixed |
| 418 | 770 | ---------------------- |
| 419 | | 01691: [Misc.] Various Sets: when exiting a game, seems to be |
| 420 | | any game I get an eip error (Aaron Giles) |
| 421 | | 01697: [Graphics] sfa3, sfa3b, sfa3u, sfa3ur1: About the blue |
| 422 | | background in startup screen. (Nicola Salmoria) |
| 423 | | 00206: [Graphics] ninjakd2: PCB info for Nicolas state. |
| 424 | | (Nicola Salmoria) |
| 425 | | 01695: [DIP/Input] ptblank, gunbulet: Crosshair doesn't move (smf) |
| 426 | | 01694: [Graphics] punisher, punishrj, punishru: missing graphic |
| 427 | | (Nicola Salmoria) |
| 771 | - 01863: [Multisession] mwalk and clones: Crash on multisession. |
| 772 | (Atari Ace) |
| 773 | - 00971: [Color/Palette] spdcoin: In a reverse of the artwork bug, |
| 774 | the blue background has been replaced with a black one. |
| 775 | (couriersud) |
| 776 | - 00251: [Sound] spdcoin: Sound isn't perfect. There are many static |
| 777 | pops to be heard, and volume is very low. (couriersud) |
| 778 | - 01884: [Core] mtetrisc, vivdolls, starsldr (maybe all): (MAC OS) |
| 779 | crashes with "Illegal instruction" message (Aaron Giles) |
| 780 | - 01827: [Interface] All sets in galaga.c: DIP switch information is |
| 781 | not being readded properly when .CFG is read. (couriersud) |
| 782 | - 01865: [Graphics] nbapbp: The graphic is completely wrong |
| 783 | (Aaron Giles) |
| 784 | - 01864: [Interface] -listxml still crashes (Aaron Giles) |
| 785 | - 01885: [Misc.] astdelux, astdelu1, astdelu2: Fatal Error: Unable to |
| 786 | locate input port 'DSW' (Fabio Priuli) |
| 787 | - 01190: [Color/Palette] punchout, spnchout: The colors of the title |
| 788 | logo and letters on the top and bottom should be different |
| 789 | than each other. (Nicola Salmoria) |
| 790 | - 01693: [Sound] jackal, jackalj, topgunbl, topgunr: After you get in |
| 791 | the jeep the music stops. (Nicola Salmoria) |
| 792 | - 01880: [Color/Palette] All sets in mrdo.c: Color Regression |
| 793 | (Nicola Salmoria) |
| 794 | - 01870: [Graphics] skylance, skylancr: cocktail mode, player 2's shots |
| 795 | are offset from player's position (Nicola Salmoria) |
| 796 | - 01871: [Documentation] officeye: Misspelled title (robiza) |
| 428 | 797 | |
| 429 | 798 | |
| 430 | 799 | |
| 431 | 800 | Source Changes |
| 432 | 801 | -------------- |
| 433 | | PSX core updates: [smf] |
| 434 | | - removed casts and removed unnecessary decoding from NCLIP. |
| 435 | | - added signed values to PAIR & PAIR64. |
| 436 | | - renamed PAIR64.lw to PAIR64.q |
| 437 | | - tidied up DPCS, improved flag calculation and added support for |
| 438 | | lm/sf fields. |
| 439 | | - added sf/lm support to INTPL, improved flag calculation & |
| 440 | | calculates correct rgb |
| 441 | | - fixed calculation of bit 31 of GTE FLAG register, when writing |
| 442 | | to it directly. |
| 443 | | - added lm mode to OP and fixed the calculation. |
| 444 | | - added lm mode to SQR. |
| 802 | Updated 68681 DUART: [Mariusz Wojcieszek] |
| 803 | - converted to device interface |
| 804 | - converted to 8 bit device |
| 805 | - added input and output port |
| 806 | - added X1/16 timer |
| 445 | 807 | |
| 446 | | Seibu implementation cleanups: [David Haywood] |
| 447 | | - added cop/heatbrl ram clear stuff |
| 448 | | - tried to make cop a bit more generic, breaks a few things for |
| 449 | | now, but better than duplicated code all over the place |
| 450 | | - added the sound cpu to raiden2, although it doesn't make any sounds |
| 808 | Fixed compilation error when neither HAS_PPC403GA nor HAS_PPC403GCX |
| 809 | are defined. [Nathan Woods] |
| 451 | 810 | |
| 452 | | Fixed CPS1 palette control register to match tests on msword psb. |
| 453 | | [Nicola Salmoria, Corrado Tomaselli] |
| 811 | Additional documentation in the TMS5220 and SN76496 cores. |
| 812 | [Lord Nightmare] |
| 454 | 813 | |
| 455 | | Changed the pic8259 implementation into a device. [Wilbert Pol] |
| 814 | Fixed handling of the U register in the RET instructions and when |
| 815 | taking an interrupt in the Nintendo Minx cpu core. [Wilbert Pol] |
| 456 | 816 | |
| 457 | | Fixed an opcode in quizf1. Fixed encrypted disassembly for |
| 458 | | bp+ix+offset8 and bp+it+offset8. [Robiza] |
| 817 | suprnova updates: [David Haywood] |
| 818 | - now uses its own draw roz function, which supports linescroll |
| 819 | or columnscroll, and will give us the ability to 'render' |
| 820 | priority data (with roz applied) from the flagsmap to a temp |
| 821 | bitmap to work with. |
| 822 | - priorities should be correct from start to end in cyvern now.. |
| 823 | still not perfect tho. |
| 824 | - added a note about what needs fixing for the sengekis sprite zoom |
| 825 | (shrink flag we're not handling) |
| 826 | - allow wraparound to be turned off (sarukani..) |
| 459 | 827 | |
| 460 | | Modified bionicc to compute the palette based on the schematics. |
| 461 | | [Nicola Salmoria] |
| 828 | Italian gambling games based on H8/3337 MCU + NEC D7759GC: |
| 829 | [Roberto Fresca] |
| 830 | - Corrected year and manufacturer to ntcash and wizard. |
| 831 | - Sorted the games by year. |
| 462 | 832 | |
| 463 | | Verified several CPS1 graphics ROM mappings against PAL dumps. |
| 464 | | [Nicola Salmoria] |
| 833 | Simplified m90 video update routine. [robiza] |
| 465 | 834 | |
| 466 | | Changed device read/write functions to take a const device_config *. |
| 467 | | Reverted recent hacks to get around this and removed unnecessary |
| 468 | | casts. [Aaron Giles] |
| 835 | Improvements to bomblord (bbmanw clone): [robiza] |
| 836 | - partially fixed the background |
| 837 | - fixed the sprites |
| 838 | - implemented video register for selecting different resolutions; |
| 839 | this fixes graphic in the game screen |
| 840 | - fixed scroll video register |
| 841 | - cleaned up offset and priorities |
| 842 | - implemented linescroll |
| 843 | - promoted to working |
| 469 | 844 | |
| 470 | | Fixed I8039 DAA instruction when A is > 0xF9. [Wilbert Pol] |
| 845 | Improvements to dynablsb (dynablst clone): [robiza] |
| 846 | - partially fixed the background |
| 847 | - fixed the sprites |
| 848 | - fixed mark for last sprite |
| 849 | - fixed player #1 and player #2 controls |
| 850 | - fixed graphics layer and offset |
| 851 | - fixed layer select |
| 852 | - implementated the scroll video register |
| 853 | - cleaned up offset and priorities |
| 854 | - promoted to working |
| 471 | 855 | |
| 472 | | Fixed crosshair update when the game is not polling the coordinates. |
| 473 | | [smf] |
| 856 | Numerous improvements to the blackt96 driver. [David Haywood] |
| 474 | 857 | |
| 475 | | Merged CPS1, CPS2 memory maps and some tweaks from schematics, though |
| 476 | | to get perfect memory maps dumps of the A-board PALs would be needed. |
| 477 | | [Nicola Salmoria] |
| 858 | Fixed colortable creation in Mr. Do driver. Fixed diode voltage drop |
| 859 | value which caused apples to be orange instead of red-orange. The |
| 860 | title screen now perfectly matches |
| 861 | http://www.flickr.com/photos/arecee/2384126902/sizes/l/ including the |
| 862 | logo outline. [Nicola Salmoria] |
| 478 | 863 | |
| 479 | | Adjusted docastle refresh rate to match PCB measurement. |
| 480 | | [Nicola Salmoria] |
| 864 | Jackal driver improvements: [Nicola Salmoria] |
| 865 | - Fixed palette animation (very subtle!) |
| 866 | - Verified on the schematics and on the pcb that the high score table |
| 867 | text cannot change color. |
| 868 | - Removed the IMPERFECT_GRAPHICS flag |
| 869 | - Fixed music with a kludge (overclock sound CPU) |
| 870 | - Added dip switch locations and sorted input ports |
| 481 | 871 | |
| 482 | | Finished memory map merge for W drivers. [Andrew Gardner] |
| 872 | Simplified palette handling in punchout. Fixed big sprite palette in |
| 873 | top monitor. [Nicola Salmoria] |
| 483 | 874 | |
| 484 | | Added support for using smaller-sized memory handlers directly in |
| 485 | | memory maps. To do so, you need to use the new AM_READn/AM_WRITEn |
| 486 | | macros and specify a mask for which bits are connected. [Aaron Giles] |
| 875 | Cal Omega driver: [Roberto Fresca] |
| 876 | - Cleaned up the driver following the MAME Coding Conventions. |
| 877 | - Added support to Game 18.7 (Amusement Poker). |
| 878 | - Improved the input system for some games. |
| 879 | - Fixed some wrong color codes. |
| 880 | - Updated technical notes. |
| 487 | 881 | |
| 488 | | Removed word-sized handlers from 6821pia.c. Updated drivers that |
| 489 | | needed them to use these new interfaces instead. [Aaron Giles] |
| 882 | New driver for italian gambling games based on Mitsubishi/Renesas |
| 883 | M16C MCU family. Added dumper notes, hardware details and hooked the |
| 884 | sound devices. Moved Euro Jolly X5 to this new driver, and add |
| 885 | support for Grand Prix. [Roberto Fresca] |
| 490 | 886 | |
| 491 | | Updated gaelco3d.c and itech8.c to remove the need for memconv.h |
| 492 | | by using this new feature. [Aaron Giles] |
| 887 | Improvements to Sandii' games driver: [Roberto Fresca] |
| 888 | - Fixed the tilemap size. |
| 889 | - Fixed the screen size. |
| 890 | - Updated technical notes. |
| 493 | 891 | |
| 494 | | Added machine parameter and macros for the CDP1802 callback functions. |
| 495 | | This seems to have fixed the player sprite flashing in Destroyer/ |
| 496 | | Altair/Draco. [Curt Coder] |
| 892 | Changed map command in the debugger to now perform separate |
| 893 | read/write/fetch lookups. [Aaron Giles] |
| 497 | 894 | |
| 498 | | Fixed lookup table for sprites in spikes91. [Robiza] |
| 895 | Fixed AY-3-8910 output mode in Draco. [Curt Coder] |
| 499 | 896 | |
| 500 | | Made some changes to the 'v25' code in toaplan2.c. Batsugun does |
| 501 | | upload what looks to be the entire program, unencrypted. If enabled |
| 502 | | it runs to the point of waiting for interrupts, however, for those it |
| 503 | | looks like it needs a real V25 core with register banks etc. |
| 504 | | [David Haywood] |
| 897 | Thayer's Quest changes: [Curt Coder] |
| 898 | - cleaned up driver |
| 899 | - added LED layout from Dragon's Lair |
| 900 | - mapped keyboard and dips correctly |
| 901 | - added laser disc drive selection |
| 902 | - fixed Z80-COP communications |
| 903 | - figured out ports from disassembly |
| 904 | - added cart presence detection logic |
| 905 | - fixed SSI-263 timings, service mode works now |
| 906 | - changed to use COP421 |
| 505 | 907 | |
| 506 | | Converted the IDE controller to a device. Updated all drivers |
| 507 | | accordingly. [Aaron Giles] |
| 908 | COP4xx: [Curt Coder] |
| 909 | - fixed LEI instruction |
| 910 | - added COP421 variant |
| 508 | 911 | |
| 509 | | Added new functions for dynamically installing device memory |
| 510 | | read/write handlers. [Aaron Giles] |
| 912 | Moved calipso, spdcoin, superbon, moonwar and moonwara to galaxian.c: |
| 913 | [couriersud] |
| 914 | - superbon: Change name to Agent Super Bond and Manufacturer to |
| 915 | "Signatron USA" |
| 916 | - superbon: Change year to 1985 following information on |
| 917 | arcadeflyers.com |
| 918 | - removed armorcar remains from scobra.c |
| 511 | 919 | |
| 512 | | Updated install_memory_XXX_handler() functions to take a machine |
| 513 | | parameter. Updated all drivers accordingly. [Aaron Giles] |
| 920 | In the i8051 core, timer 0's second split counter was incorrectly |
| 921 | checking the Timer 1 Run Control Bit. Fixed it. [Jim Stolis] |
| 514 | 922 | |
| 515 | | Merged installation of read and write handlers where appropriate. |
| 516 | | [Aaron Giles] |
| 923 | PEPlus driver updates: [Jim Stolis] |
| 924 | - All video slot titles now accept coins and play normally |
| 925 | - Renamed peps0716 to its proper name "River Gambler Slots", instead |
| 926 | of "Quarter Mania Slots" |
| 927 | - Updated peps0716 to use the proper CAP |
| 928 | - Replaced peps0615 to use a CAP with closer colors (still wrong) |
| 517 | 929 | |
| 518 | | Simplified memory.c code for dynamic installation so that a single |
| 519 | | function handles all the work; a NULL read or write handler |
| 520 | | indicates not to install anything for reads or writes. [Aaron Giles] |
| 930 | Added alternate layout for World Rally 2 PCB. [Mirko Mattioli] |
| 521 | 931 | |
| 522 | | Fixed sprite overdraw mode to match Mutant Night movie. |
| 523 | | [Nicola Salmoria] |
| 932 | Added sound emulation to Dacholer and Kick Boy. [Tomasz Slanina] |
| 524 | 933 | |
| 525 | | Properly marked puzznici as a bootleg and disabled the MCU simulation |
| 526 | | on it, it has it's own internally. [David Haywood] |
| 934 | Cleaned up the usage of Machine in many of the src/video files. |
| 935 | [Oliver Stoenberg] |
| 527 | 936 | |
| 528 | | Merged memory maps for aquarium, argus, armedf, bagman, battlera |
| 529 | | drivers. [Aaron Giles] |
| 937 | Correctness pass over the source tree: [Atari Ace] |
| 938 | - added static qualifiers where appropriate |
| 939 | - added missing #include statements, source comments and header |
| 940 | declarations |
| 941 | - removed dead declarations |
| 942 | - added ~30 header files for a number of drivers |
| 943 | - consolidated various cchip declarations |
| 530 | 944 | |
| 531 | | Created new macro: AM_RAM_WRITE(handler) which specifies a memory |
| 532 | | range to be RAM-like for reads but calls the given handler for writes. |
| 533 | | [Aaron Giles] |
| 945 | Improved 8085 timing and fixed flag calculations based on differences |
| 946 | between it and the 8080. [Miodrag Milanovic] |
| 534 | 947 | |
| 535 | | Replaced AM_READWRITE(SMH_RAM, handler) with AM_RAM_WRITE(handler). |
| 536 | | Also replaced AM_RAM AM_WRITE(handler) with AM_RAM_WRITE(handler). |
| 537 | | [Aaron Giles] |
| 948 | Converted a number of drivers over to using input_port_read() from |
| 949 | input_port_read_indexed(). [Fabio Priuli] |
| 538 | 950 | |
| 539 | | Added correct rom dump for Shinobi4 set. [Arzeno Fabrice] |
| 951 | Updated cheat system: [ShimaPong] |
| 952 | - Changed the function of default memory read in case of the search |
| 953 | to prevent from crashing if a game uses cpu_spinutil() |
| 954 | Now basically used do_memory_read() instead of do_cpu_read() |
| 955 | (Try to search in actfancr between this and previous version) |
| 956 | NOTE : It's not fundamental solution but no longer crash |
| 957 | - Cleaned up read_data() and write_data() |
| 958 | - Cleaned up save/load routine and added open_cheat_database() |
| 959 | - Added new menu "Cheat Commands" into the cheat main menu |
| 960 | the following commands are supported in this menu |
| 961 | * reload cheat code (the same as Reload Database key) |
| 962 | * cheats ON/OFF (the same as Toggle Cheat key) |
| 963 | * watchpoints ON/OFF (the same as Shift + Toggle Cheat key) |
| 964 | * save description (save the title of the game) |
| 965 | * save raw code (save raw cheat code with new format) |
| 966 | - Fixed several bugs which has found in testing |
| 967 | - Renamed functions based on coding guidlines |
| 540 | 968 | |
| 541 | | Added good denjinmk graphic rom. [Guru] |
| 969 | Added option -[no]coin_lockout (-[no]coinlock) to control coin |
| 970 | lockout behavior. [Aaron Giles] |
| 542 | 971 | |
| 543 | | Removed ancient 720 kludge in the T-11 core. [Aaron Giles] |
| 972 | NeoGeo updates: [Johnboy] |
| 973 | - Updated Neo-Geo game pcb infos |
| 974 | - Marked kof2001h AES VERSION |
| 975 | - Marked samsho3a MVS VERSION |
| 976 | - Marked 2020bba AES VERSION, renamed p1 and added a note |
| 977 | - Renamed lastsold p1 to correct chip label 134-p1k |
| 978 | -> Checked other Korean sets, found similar ID change; renamed |
| 979 | accordingly |
| 980 | Renamed rbff2k p1 to 140-p1k |
| 981 | Renamed fswords p1 tp 187-p1k |
| 982 | Renamed aof3k p1 to 196-p1k |
| 983 | Added comment to kof99n: Korean version? |
| 984 | - Renamed mslug3n to mslug3h, Marked AES VERSION, changed mamedriv.c |
| 985 | - Remove BAD_DUMP from kotm, add correct m1 |
| 986 | - Correct s1 layer size in samsh5sp + clones |
| 987 | - Removed BAD_DUMP from burningf + clone |
| 988 | - Added correct m1 to lbowling |
| 989 | - Added correct m1 to socbrawl + clone |
| 990 | - Added correct m1 to mutnat |
| 991 | - Added correct m1 to joyjoy |
| 992 | - Added correct c1/c2 and s1 to marukodq |
| 993 | - Renamed p-roms in wh1 and wh1h, added comment |
| 994 | - Added some comments about 'M1' and 'S1' roms |
| 995 | - Renamed files in kof2001 to correct chip label, changed m1 |
| 996 | - Corrected set pbobblen as found on MVS cart, added notes |
| 544 | 997 | |
| 545 | | Added support in the T-11 core for an external vector via irq_callback. |
| 546 | | Apparently the hardware actually did support this and it is necessary |
| 547 | | for emulating the BK 0010/11 computer in MESS. [Aaron Giles] |
| 998 | Added bilinear filter option to software rendering. Not hooked up to |
| 999 | anything yet. [Aaron Giles] |
| 548 | 1000 | |
| 1001 | DRC UML changes: [Aaron Giles] |
| 1002 | - separated conditions and flags into two separate fields |
| 1003 | - added more extensive per-opcode information |
| 1004 | - made validation more thorough using the extended information |
| 1005 | - disabled back-end validation for now until it can be revisited |
| 1006 | using the new tables |
| 1007 | - changed GETFLGS encoding so that the mask is in parameter 2 instead |
| 1008 | of the flags field |
| 1009 | - wrote new disassembler based on enhanced opcode info structure |
| 1010 | - moved disassembler into drcuml.c and removed old code |
| 1011 | - extended disassembler buffer sizes to at least 256 bytes |
| 1012 | - removed explicit flag requests from the shorthand opcodes |
| 1013 | - added optimization function to drcuml which is called at block end |
| 1014 | - added logic to compute the necessary flags based on upcoming opcodes |
| 1015 | and only select those flags which are required |
| 1016 | - added NOP opcode |
| 1017 | - added logic to simplify opcodes as much as possible at the UML layer |
| 1018 | - removed similar logic in the x86 and x64 back-ends |
| 1019 | - added stricter parameter validation for registers and mapvars |
| 1020 | - improved disassembly output |
| 1021 | - added simple symbol table to the UML for improved disassembly |
| 1022 | - changed optional disassembler cache parameter to a drcuml object |
| 1023 | - fixed STORE opcode description to allow immediate source operands |
| 549 | 1024 | |
| 1025 | DRC frontend changes: [Aaron Giles] |
| 1026 | - changed from tracking "live" registers to tracking "necessary" |
| 1027 | registers |
| 1028 | - genericized register tracking to be more flexible |
| 1029 | - added previous instruction pointer to opcode descriptions |
| 550 | 1030 | |
| 1031 | PowerPC recompiler: [Aaron Giles] |
| 1032 | - fixed bug where a branch and link to the link register would |
| 1033 | overwrite the link register before fetching the target address |
| 1034 | - updated to no longer explicitly specify flags |
| 1035 | - added symbols for most common variables |
| 1036 | - fixed bug in handling XER carry flag for subo. forms |
| 1037 | - simplified flag insertion logic for opcodeo. forms |
| 1038 | - rewrote lswi/stswi as subroutines |
| 1039 | - made accesses to tempdata explicitly dword or qword |
| 1040 | - fixed SRR0 when generating a syscall |
| 1041 | - removed no longer necessary TESTs on extsb/w, rlwinm, rlwnm, |
| 1042 | rlwimi, cntlzw |
| 1043 | - fixed bug where the SO flag was not being computed for compares |
| 1044 | - fixed flag computations for mulhw/mulhwu/mullw |
| 1045 | - fixed subtlety of shifts between 32 and 63 in srw/sraw |
| 1046 | - fixed mffs/mtfsf to use FP registers |
| 1047 | - fixed mtfsfi to use the immediate value properly |
| 1048 | - now marking terminal count bit in DMA status register |
| 1049 | - added support for 4xx protection registers via the MMU |
| 1050 | - added TLBH, TLBU, and DEC to the list of registers in the debugger |
| 1051 | - turned off "end of transfer" DMA signals in favor of "transfer |
| 1052 | count 0" signals; fixes memory-to-memory DMA in fiveside |
| 1053 | - minor flags optimizations: |
| 1054 | * broke CR into several individual bits of state |
| 1055 | * extracted the SO bit from XER into its own state |
| 1056 | - cleaned up register tracking implementation |
| 1057 | - fixed numerous errors and shortcomings in the tracking |
| 1058 | - added support for removing unnecessary XER CA and CR0 computations |
| 1059 | - updated UML logging to output new frontend statistics |
| 1060 | - added basic cycle counts for longer instructions |
| 1061 | - added penalty for polling timebase and decrementer registers |
| 1062 | - fixed dependencies in cpu.mak |
| 1063 | - reduced address bus width of 4xx series to 31 bits per the |
| 1064 | documentation |
| 1065 | - fixed bug that would jump to incorrect PC after filling the |
| 1066 | TLB during a mismatch event |
| 1067 | - added explicit address truncation to 31 bits for 4xx series |
| 1068 | - added new PPCDRC_ACCURATE_SINGLES option, which removes the |
| 1069 | excessive (and very likely unecessary) extra rounding when |
| 1070 | performing the "fast" single-precision floating point ops |
| 1071 | - fixed TLB filling for 4XX protection ranges |
| 1072 | - fixed parameter ordering for masked reads/writes |
| 1073 | - added detection of MMU enablement in 403GCX case |
| 1074 | - fixed bug in protection bounds violation detection for 4XX |
| 1075 | - changed SPU receive model to a push model; updated drivers accordingly |
| 1076 | - added macros for setting the SPU transmit handler and sending bytes |
| 1077 | - cleaned up ppc.h |
| 1078 | - fixed lmw/stmw if rA is one of the loaded/stored registers |
| 1079 | - removed unnecessary variables & structure members |
| 1080 | - optimized for the XER and CR0 case where XER doesn't need an overflow |
| 1081 | calculation |
| 1082 | |
| 1083 | MIPS recompiler: [Aaron Giles] |
| 1084 | - updated to no longer explicitly specify flags |
| 1085 | - tweaked register tracking to match new DRC frontend system |
| 1086 | - updated UML logging to output new frontend statistics |
| 1087 | - fixed left/right accesses to work with recent memory handler changes |
| 1088 | |
| 1089 | x86/x64 back-ends: [Aaron Giles] |
| 1090 | - added flag support to SEXT, ROLAND, ROLINS, LZCNT opcodes |
| 1091 | - fixed bug where sometimes the flags would be corrupted; in |
| 1092 | particular, we always clobbered the flags for the subfze |
| 1093 | instruction, which broke the nbapbp camera and some other things |
| 1094 | - fixed DIVS/DIVU opcode so they properly compute SZ flags when |
| 1095 | requested; fixes camera wackiness in nbapbp |
| 1096 | - added a "hop" around the prolog of the HANDLE opcode to allow |
| 1097 | fall-through |
| 1098 | - redesigned x86 stack management to keep the stack at the same 16-byte |
| 1099 | alignment |
| 1100 | - fixed adc/sbb so that they don't optimize out ever |
| 1101 | - fixed detection of special and/or/xor cases |
| 1102 | - fixed GETFLGS opcode so that it doesn't return anything other than |
| 1103 | requested flags |
| 1104 | - changed LZCNT/BSWAP to be more flexible in register selection |
| 1105 | |
| 1106 | gticlub driver: [Aaron Giles] |
| 1107 | - converted sysreg_r/w to 8-bit handlers |
| 1108 | - added hack to make network IRQs work; brings some games back to life |
| 1109 | |
| 1110 | Konami PowerPC drivers: [Aaron Giles] |
| 1111 | - designated fast RAM accesses for work RAM |
| 1112 | - removed unnecessary mirroring |
| 1113 | |
| 1114 | Firebeat driver: |
| 1115 | - added VBLANK IRQ clear |
| 1116 | - added ATAPI IRQ clear |
| 1117 | - tried to add UART IRQ clear but it doesn't yet work |
| 1118 | - most of the games start to show something again with these changes |
| 1119 | - added fast RAM region |
| 1120 | |
| 1121 | Model 3 driver: [Aaron Giles] |
| 1122 | - identified and fixed VBLANK bit in real3d status which was |
| 1123 | causing the system to hang at startup |
| 1124 | - designated fast RAM accesses for work RAM |
| 1125 | |
| 1126 | 53C810 SCSI controller: [Aaron Giles] |
| 1127 | * changed read/write handles to proper READ8/WRITE8_HANDLER |
| 1128 | callbacks so they can eventually be used directly |
| 1129 | |
| 1130 | |
| 1131 | |
| 551 | 1132 | New games added or promoted from NOT_WORKING status |
| 552 | 1133 | --------------------------------------------------- |
| 553 | | Show Hand [Luca Elia] |
| 1134 | Super Rider (Italy) [Luca Elia] |
| 1135 | SWAT Police [Brian Troha] |
| 1136 | Player's Edge Plus (PS0014) Super Joker Slots [Jim Stolis] |
| 1137 | Player's Edge Plus (PS0022) Red White & Blue Slots [Jim Stolis] |
| 1138 | Player's Edge Plus (PS0043) Double Diamond Slots [Jim Stolis] |
| 1139 | Player's Edge Plus (PS0045) Red White & Blue Slots [Jim Stolis] |
| 1140 | Player's Edge Plus (PS0308) Double Jackpot Slots [Jim Stolis] |
| 554 | 1141 | |
| 555 | 1142 | |
| 556 | 1143 | |
| 557 | 1144 | New clones added |
| 558 | 1145 | ---------------- |
| 559 | | Led Storm Rally 2011 (US) [Bryan McPhail] |
| 560 | | Shinobi (alternate set) [Brian Troha] |
| 561 | | Aero Fighters (bootleg set 2) [Robiza] |
| 1146 | Tank Force (US, 4 Player) [Brian Troha] |
| 1147 | Videomat (polish bootleg) [Roberto Fresca] |
| 1148 | Head Panic (ver. 0117, 17/01/2000) [Brian Troha] |
| 562 | 1149 | |
| 563 | 1150 | |
| 564 | 1151 | |
| 565 | 1152 | New games marked as GAME_NOT_WORKING |
| 566 | 1153 | ------------------------------------ |
| 567 | | Nandemo Seal Iinkai [Luca Elia] |
| 1154 | Mystery Number [Roberto Fresca] |
| 1155 | Shark Party (Italy) [Luca Elia] |
| 1156 | Victor 5 [Luca Elia] |
| 1157 | Victor 21 [Luca Elia] |
| 1158 | Euro Jolly X5 [Roberto Fresca] |
| 1159 | Cal Omega - Game 18.7 (Amusement Poker) [Roberto Fresca] |
| 1160 | Grand Prix [Roberto Fresca] |
| 1161 | Squash (Itisa) [f205v] |
| 568 | 1162 | |
| 569 | 1163 | |
| 570 | 1164 | |
| 571 | | 0.124u2 |
| 1165 | 0.125u4 |
| 572 | 1166 | ------- |
| 573 | 1167 | |
| 574 | 1168 | |
| 575 | 1169 | MAMETesters Bugs Fixed |
| 576 | 1170 | ---------------------- |
| 577 | | 01571: [DIP/Input] stadhero: Player 1 and Player2 Start are mapped |
| 578 | | twice. (stephh) |
| 579 | | 01673: [Graphics] sfjp: Game backgrounds replaced with other images |
| 580 | | (Fabio Priuli) |
| 581 | | 01567: [DIP/Input] megazona, megazonb, megazonc, megazone, megaznik: |
| 582 | | P2 button 1 key mapped twice and P2 button 2 missing (stephh) |
| 583 | | 00458: [Misc.] NEC CPU debug bug (robiza) |
| 584 | | 00029: [Sound] contcirc: Audio emits from one speaker on start up. |
| 1171 | 01829: [Core] bermudat, gwar, ikari, victroad + clones: MAME freezes |
| 1172 | at "initializing" screen (Aaron Giles) |
| 1173 | 01845: [Core] all games: cheats are broken (ShimaPong) |
| 1174 | 01846: [Misc.] -CHEAT trigger causes MAME crash with PSX-type CPU |
| 1175 | drivers (ShimaPong) |
| 1176 | 01843: [DIP/Input] Many Sets: Input Port Errors (Aaron Giles) |
| 1177 | 01855: [Misc.] thayers, thayers: Fatal Error crash (Aaron Giles) |
| 1178 | 01859: [Misc.] looping, loopinga, skybump: Fatal Error crash |
| 1179 | (Aaron Giles) |
| 1180 | 01860: [Core] revx: -CHEAT trigger causes MAME crash (ShimaPong) |
| 1181 | 00779: [Graphics] gunnail: After you kill a boss, always a number of |
| 1182 | vertical lines will appear. (Nicola Salmoria) |
| 1183 | 00778: [Graphics] gunnail: The background in stage 5 is wrong. |
| 585 | 1184 | (Nicola Salmoria) |
| 586 | | 01609: [DIP/Input] Various - tested srmp4 (ssv.c), ttmahjng |
| 587 | | (route16.c), vsmahjng (vsnes.c), tokkae (konamigx.c), sf2 |
| 588 | | (cps1.c): INP playback loses sync quickly (Aaron Giles) |
| 589 | | 01680: [Graphics] area88, unsquad: [possible] DOT TEST in service mode |
| 590 | | shows garbage chars (Nicola Salmoria) |
| 591 | | 00761: [Speed] finalapr: Heavy performance hit. (couriersud) |
| 592 | | 00352: [DIP/Input] spaceskr: The cabinet DIP setting is inverted, when |
| 593 | | you set it upright mode, control is separated for P1 and P2, |
| 594 | | the scre (Nicola Salmoria) |
| 595 | | 01659: [Core] stereo balancing is wrong (Aaron Giles) |
| 596 | | 01622: [Core] -refreshspeed has no effect (Aaron Giles) |
| 597 | | 01663: [DIP/Input] Hat switches not working (couriersud) |
| 598 | | 00250: [Graphics] 3wonders: Various graphic glitches. (Nicola Salmoria) |
| 599 | | 00405: [Graphics] cawing: Text in the attract mode is garbled. |
| 1185 | 00788: [DIP/Input] Problem about Joy Axis Input for Pedal. |
| 1186 | (couriersud) |
| 1187 | 01853: [Gameplay] shadfrce, shadfrcj: Game doesn't start (Haze) |
| 1188 | 01847: [DIP/Input] Various: Unable to construct input ports! |
| 600 | 1189 | (Nicola Salmoria) |
| 601 | | 01021: [Side-by-side] dorunru2: Side-by-side test. (Nicola Salmoria) |
| 602 | | 00404: [Graphics] 3wonders: a glitch when u insert your record name |
| 603 | | when game is over. (Nicola Salmoria) |
| 604 | | 01552: [Graphics] 3wonders, 3wonderu: Another little graphic glitch |
| 605 | | on attract mode (Nicola Salmoria) |
| 606 | | 01081: (partial): megaplay.c (all games): 1 Player Start and 2 |
| 607 | | Players Start are duplicated. (couriersud) |
| 1190 | 01840: [Interface] MAME 0.125u3 error in xml output (Nathan Woods) |
| 1191 | 01699: [Sound] asteroid, asteroi1, asteroib, asterock, meteor, |
| 1192 | meteorts: Abnormal discrete sounds (couriersud) |
| 1193 | 01844: [Core] compiling 125u3 with VS2008 64bit fails (Aaron Giles) |
| 608 | 1194 | |
| 609 | 1195 | |
| 610 | 1196 | Source Changes |
| 611 | 1197 | -------------- |
| 612 | | Changed the system to show a message if coin-lockout is active and |
| 613 | | a coin key is pressed. [couriersud] |
| 1198 | Made it possible to pass a NULL errorbug to input_port_config_alloc(). |
| 1199 | Fixes -listxml crashes. [Nathan Woods] |
| 614 | 1200 | |
| 615 | | Actually fixed -refreshspeed. [Aaron Giles] |
| 1201 | Updated calomega driver with correct dumps. [Roberto Fresca] |
| 616 | 1202 | |
| 617 | | Reverted previous SCSI CD change which broke some games. [R. Belmont] |
| 1203 | Sandii' games improvements: [Roberto Fresca] |
| 1204 | - Switched the color system to RESNET calculations. |
| 1205 | - Hooked the infamous bit7 of Input Port 0x3004 in parallel to DIP |
| 1206 | switch 1. This allow to use the PAYOUT button to trigger the |
| 1207 | Super Game instead of STOP 5. |
| 1208 | - Demultiplexed lamps matrix. |
| 1209 | - Added lamps support, but is still imperfect. |
| 1210 | - Updated technical notes. |
| 618 | 1211 | |
| 619 | | Seibu COP cleanup, primarily sorting the code and identifying |
| 620 | | similarities in different implementations. [David Haywood] |
| 1212 | Discrete sound update: [couriersud] |
| 1213 | * added NODE_RELATIVE(NODE, offset) macro to discrete.h |
| 1214 | * fix asteroid.c, canyon.c, skydiver.c and tank8.c to use this macro |
| 1215 | instead of adding directly to the node |
| 621 | 1216 | |
| 622 | | Fixed an erroneous debug change which leaked into the last version of |
| 623 | | the namcona1 update. [Pierpaolo Prazzoli] |
| 1217 | Fixed duplicate input port bits. |
| 1218 | [Aaron Giles, Nicola Salmoria, David Haywood] |
| 624 | 1219 | |
| 625 | | Fixed marineb colors. [David Haywood, Tomasz Slanina] |
| 1220 | Added simulaton of tecmosys protection. [nuapete] |
| 626 | 1221 | |
| 627 | | Rewrote INP recording from scratch, since all old INPs are broken |
| 628 | | anyways. Header now includes timestamp, which overrides the default |
| 629 | | time base for MAME's system time. Each frame recorded now gets a |
| 630 | | timestamp. Analog ports are recorded once per frame and interpolated. |
| 631 | | Analog port calculations are all done in fixed point for consistent |
| 632 | | results. A bunch of other minor tweaks in the input port code. |
| 633 | | NOTE: There may still be a few changes to the final INP format. |
| 634 | | [Aaron Giles] |
| 1222 | Improvements to gatron.c: [Roberto Fresca] |
| 1223 | - Renamed the games to "Poker 4-1" and "Pull Tabs" |
| 1224 | as shown in the ROMs stickers. |
| 1225 | - Renamed the ROMs in each set according to their own stickers. |
| 1226 | - Moved the driver into gametron.a group. |
| 1227 | - Added the missing input port C to 8255 PPI I/O chip. Poker41 and |
| 1228 | pulltabs don't make use of it, but is present in the Test/Setting |
| 1229 | Mode. |
| 1230 | - Updated technical notes. |
| 635 | 1231 | |
| 636 | | Improved graphic decoding for Legionnaire, the BK3 tiles are now |
| 637 | | correctly extracted from the TXT region, map screen has correct |
| 638 | | tiles now. [David Haywood] |
| 1232 | Added proper bankswitching to the dealer driver, validating a ROM |
| 1233 | previously thought to be bad. [nupete] |
| 639 | 1234 | |
| 640 | | Removed CPS1 tile kludges and replaced with per-game ROM mapping |
| 641 | | tables. Ideally, the ROM mapping should be derived from mapping of |
| 642 | | the PALs found on the B board. Note that this is a significant change |
| 643 | | and some new bugs might be caused by it. Unlike previous bugs, |
| 644 | | where extra garbage tiles would appear in the games, the new bugs |
| 645 | | would be tiles or sprites MISSING--so they will be harder to notice. |
| 646 | | This would happen because in some cases the 16x16 regions of the gfx |
| 647 | | ROMs can be used by both scroll2 and sprites, while in other cases |
| 648 | | they must be separated. [Nicola Salmoria] |
| 1235 | Many improvements to the tecmosys video and sound emulation. |
| 1236 | [David Haywood] |
| 649 | 1237 | |
| 650 | | PSX updates: [smf] |
| 651 | | - Fixed the SR masks for MTC0. |
| 652 | | - Added ability to test the instruction/data cache ram. The |
| 653 | | scratchpad and BIU register are now handled internally to the CPU. |
| 654 | | - All writes are performed with masks. SWL/SWR used to be implemented |
| 655 | | with two writes ( one byte and one word ) when writing three bytes, |
| 656 | | now it only ever performs one. Byte and Word writes use masks as |
| 657 | | they leave the rest of the register on the bus, which can be |
| 658 | | picked up by larger registers. |
| 659 | | - The read/write functions to use are cached when the SR bits are |
| 660 | | updated, as are the bad address masks. |
| 661 | | - Added coprocessor 1 & 3 support, though they don't do anything |
| 662 | | useful. |
| 663 | | - All loads now go through the delay pipeline, a lwl/lwr will grab |
| 664 | | the value out of the pipeline if it's updating the same register. |
| 665 | | - Added undocumented behaviour of BLEZ/BGTZ. The comparison for zero |
| 666 | | can be changed by specifying an alternate register in the RT field |
| 667 | | ( the documentation says you should always use register 0 ). |
| 668 | | - Restricted to 16 COP0 registers & generate an exception if any of |
| 669 | | the 5 for the MMU are used. |
| 670 | | - Added BCF/BCT instructions, although I have found no conditions |
| 671 | | that affect them yet. |
| 672 | | - Generates an exception if any MMU instructions are executed. |
| 673 | | - Sets the CE instruction for all exceptions, not just those |
| 674 | | involving a coprocessor. The bits of the opcode that specify the |
| 675 | | coprocessor are grabbed no matter what the instruction. |
| 676 | | - Added TAR register and BT bit in SR. When an exception occurs |
| 677 | | during a branch, BT determines whether it was taken or not. The |
| 678 | | TAR register gets set to the destination of the branch. |
| 679 | | - Fixed the BD bit when you are in a branch delay slot and you didn't |
| 680 | | take the branch, this shows up in the pipeline as !pc. |
| 681 | | - Fixed branches within a branch delay slot. |
| 682 | | - Multiply & divide instructions can be aborted if you write to |
| 683 | | HI/LO before reading the result. Added data breakpoints, you |
| 684 | | don't appear to be able to set breakpoints on any of the |
| 685 | | addresses internal to the CPU. |
| 686 | | - Multiply/divide/GTE instructions can execute when an exception is |
| 687 | | taken, although the EPC indicates that it hasn't. The BIOS avoids |
| 688 | | rerunning GTE instructions as they are destructive, so you have to |
| 689 | | make sure they run. |
| 690 | | - Added bus error handling, PSXCPU is limited to 8mb of ram & any |
| 691 | | access outside this range will trigger an exception. I believe |
| 692 | | this is to be an internal limit. |
| 693 | | - Added CXD8611R as a specific CPU type, System 12 appears to allow |
| 694 | | more than 8mb of ram & it's possible that this is different. |
| 695 | | - Mapped out all instructions to either generate an exception or |
| 696 | | ignore bits. |
| 697 | | - Updated the disassembler to match the decoding. |
| 698 | | - Fixed disassembling of branch instructions in a branch delay slot. |
| 699 | | - Lui checks for a ori/addiu following and will show you the result. |
| 700 | | - Added step over/out support. |
| 701 | | - Fixed standalone disassembler. |
| 702 | | - Fixed SZ0 truncation. |
| 703 | | - Fixed IRGB truncation and conversion to IR1/IR2/IR3 |
| 704 | | - Added IR1/IR2/IR3 saturation when calculating ORGB. |
| 705 | | - Fixed OTZ sign extension |
| 706 | | - Fixed reading from SXYP |
| 707 | | - Fixed reading from IRGB |
| 708 | | - Fixed writing to LZCR |
| 709 | | - Fixed sign extension of GTE control registers |
| 710 | | - Fixed writing to FLAG |
| 711 | | - Fixed flag calculation in F macro. |
| 712 | | - Fixed avsz3 & avsz4 flag & otz calculation. |
| 1238 | Adjusted NamcoNA output rate to match pitch with F/A and Cosmo Gang |
| 1239 | the Puzzle soundtrack CDs. [R. Belmont] |
| 713 | 1240 | |
| 714 | | Fixed unicode crashing bug with input names. [Aaron Giles] |
| 1241 | Some Nintendo Minx cpu core updates: [Wilbert Pol] |
| 1242 | - Styling changes |
| 1243 | - Added instruction cycle counts. |
| 1244 | - Added interrupt support. |
| 1245 | - Added HALT support. |
| 1246 | - Fixed INT instruction. |
| 1247 | - Added incomplete support for DIV and MUL instructions. |
| 1248 | - Fixed MOV [#nnnn],BA and MOV [#nnnn],HL instructions. |
| 1249 | - Fixed interrupt handling. |
| 1250 | - Fixed opcodes 45, 4D, 55, 5D, B5, B6, B7, FC, FD, and CF 70-7F |
| 1251 | - Fixed flag results for INC, DEC, AND, OR, and XOR instructions |
| 1252 | |
| 1253 | Improvements to ampoker2 driver: [Roberto Fresca] |
| 1254 | - Reworked the input system for Sigma Poker 2000. |
| 1255 | - Promoted Sigma Poker 2000 to 'WORKING' state. |
| 1256 | - Updated technical notes. |
| 715 | 1257 | |
| 716 | | Renamed input port functions: [Aaron Giles] |
| 717 | | readinputport -> input_port_read_indexed |
| 718 | | readinputportbytag -> input_port_read |
| 719 | | readinputportbytag_safe -> input_port_read_safe |
| 720 | | Added machine parameter to input port functions. Updated |
| 721 | | many drivers to accomplish this. |
| 1258 | Updated the 53c810 SCSI adapter to pass IRQ state with the IRQ |
| 1259 | callback. [R. Belmont] |
| 722 | 1260 | |
| 723 | | Bulk converted drivers explicitly calling input_port_n_r() with a |
| 724 | | bogus offset to calling input_port_read_indexed() instead. |
| 725 | | [Aaron Giles] |
| 1261 | Remove port_input_read_indexed in favor of the use of proper tags in |
| 1262 | a number of drivers. [Fabio Priuli, couriersud] |
| 726 | 1263 | |
| 727 | | Memory map merges for drivers starting with U, V, W, and Z. |
| 728 | | [Andrew Gardner] |
| 1264 | Upped max directory size for ST-V/Saturn driver. [R. Belmont] |
| 729 | 1265 | |
| 730 | | Mostly fixed sound in N64-based games. [Adam Gashlin] |
| 1266 | COP4xx updates: [Curt Coder] |
| 1267 | - Added HALT opcode and halt mode to the COP410 |
| 1268 | - Added Microbus support, clock divisor selection, and CKO mode |
| 1269 | selection to the COP420 |
| 1270 | - Changed Thayer's Quest keyboard interface to at least slightly |
| 1271 | resemble the schematics |
| 731 | 1272 | |
| 732 | | Correct DMA functionality in N64-based games. [Ville Linde] |
| 1273 | Changed suprnova blending implementation a bit. Still not right. |
| 1274 | [David Haywood] |
| 733 | 1275 | |
| 734 | | Aerfboot improvements: [robiza] |
| 735 | | - sprite offset are now correct |
| 736 | | - split spriteram in two parts |
| 737 | | - identified last sprite for the two parts |
| 738 | | - promoted to "working" (no sound) |
| 1276 | Optimised tilemap_draw rowscroll case to avoid overhead when used |
| 1277 | with clip rects smaller than the tilemap. This reduces by an order of |
| 1278 | magnitude the time taken to render the bg in Gunnail stage 5. |
| 1279 | [Nicola Salmoria] |
| 1280 | |
| 1281 | PowerPC dynamic recompiler: [Aaron Giles] |
| 1282 | - rewrote PowerPC implementation as a dynamic recompiler on top |
| 1283 | of the universal recompiler engine |
| 1284 | - wrote a front-end to analyze PowerPC code paths and register usage |
| 1285 | - wrote a common shared module with C implementations of tricky |
| 1286 | CPU behaviors |
| 1287 | - added separate CPU types for the variants supported, instead of |
| 1288 | relying on a hidden model enum |
| 1289 | - rewrote the serial port emulation for the 4xx series to be more |
| 1290 | accurate and not rely on separate DMA handlers |
| 1291 | - rewrote the MMU handling to implement a software TLB that faults |
| 1292 | in pages and handles changed bits appropriately |
| 1293 | - implemented emulation of the PowerPC 603's software TLB, which |
| 1294 | allows the model 3 games to run without a hack to disable the MMU |
| 1295 | |
| 1296 | Updated the PowerPC disassembler to share constants with the rest of |
| 1297 | the core, and to more aggressively use simplified mnemonics, |
| 1298 | especially for branches. [Aaron Giles] |
| 1299 | |
| 1300 | Universal recompiler: |
| 1301 | - fixed frontend to handle opcode widths different from bus width |
| 1302 | - added several new opcodes: |
| 1303 | * (D)GETFLGS - copies the UML flags to a destination operand |
| 1304 | * FDRNDS - rounds a double precision value to single precision |
| 1305 | - renamed several opcodes: |
| 1306 | * SETC -> CARRY |
| 1307 | * XTRACT -> ROLAND |
| 1308 | * INSERT -> ROLINS |
| 1309 | - consolidated the following opcodes: |
| 1310 | * LOAD?U -> LOAD |
| 1311 | * LOAD?S -> LOADS |
| 1312 | * STORE? -> STORE |
| 1313 | * READ?U -> READ |
| 1314 | * READ?M -> READM |
| 1315 | * WRITE? -> WRITE |
| 1316 | * WRITM? -> WRITEM |
| 1317 | * SEXT? -> SEXT |
| 1318 | * FTOI?? -> FTOINT |
| 1319 | * FFRI? -> FFRINT |
| 1320 | * FFRF? -> FFRFLT |
| 1321 | - removed some opcodes: |
| 1322 | * FLAGS - can be done with GETFLGS/LOAD4/ROLINS |
| 1323 | * ZEXT - can be achieved with AND |
| 1324 | * READ?S - can be achieved with READ/SEXT |
| 1325 | - updated C, x86, and x64 back-ends to support these opcode changes |
| 1326 | - updated disassembler to support these opcode changes |
| 739 | 1327 | |
| 740 | | Pallavol improvements: [robiza] |
| 741 | | - fix for sprite's y-coordinate |
| 742 | | - implement lookup table for convert sprite code in the real code |
| 743 | | - change the name to "1991 Spikes (Italian bootleg) |
| 744 | | - fix scroll |
| 745 | | - fix offset |
| 1328 | MIPS3 dynamic recompiler: [Aaron Giles] |
| 1329 | - fixed Cause register for bad COP instructions |
| 1330 | - updated to use new/changed opcode forms |
| 1331 | - changed context switch so that it only swaps a single pointer |
| 746 | 1332 | |
| 747 | | Merged sonson memory maps. [Nicola Salmoria] |
| 1333 | Konami Hornet changes: [Aaron Giles] |
| 1334 | - updated to new PowerPC configurations |
| 1335 | - updated some memory handlers to be native 8-bit handlers |
| 1336 | - cleaned up JVS implementation to work with new serial code |
| 1337 | - added fast RAM for the work RAM to give a small speed boost |
| 748 | 1338 | |
| 749 | | Added mising TC0060DCA sound mixer to the Taito Z driver. Marked one |
| 750 | | dblaxle ROM as BAD_DUMP. [Nicola Salmoria] |
| 1339 | Konami GTI Club changes: [Aaron Giles] |
| 1340 | - updated to new PowerPC configurations |
| 1341 | - updated some memory handlers to be native 8-bit handlers |
| 751 | 1342 | |
| 752 | | Changed the 8237dma implementation into a device. [Wilbert Pol] |
| 1343 | Konami Viper/ZR107 changes: [Aaron Giles] |
| 1344 | - updated to new PowerPC configurations |
| 753 | 1345 | |
| 754 | | Fixed wrong tile-sprite priority in m62 driver. [robiza] |
| 1346 | Sega Model 3 changes: [Aaron Giles] |
| 1347 | - updated to new PowerPC configurations |
| 1348 | - reimplemented/centralized interrupt handling |
| 1349 | - these games are broken for the moment |
| 755 | 1350 | |
| 756 | | Fixed nec v30 dasm when a "real-time encrypted cpu" is used. Also |
| 757 | | fixed Execution Clocks for add,addc,and,or,xor,cmp,sub,subc |
| 758 | | instructions. [robiza] |
| 1351 | Fixed crasher due to some Konami games using 8 layers in |
| 1352 | the K056832 implementation, even though it was only written |
| 1353 | for 4. [Aaron Giles] |
| 759 | 1354 | |
| 760 | | Removed the hardcoded dependency on a 8254 device from the 8042kbdc |
| 761 | | code. Changed the drivers using the 8042kdbc to define their own |
| 762 | | 8042kdbc - 8254 dependency. [Wilbert Pol] |
| 1355 | Added fisttp opcode to i386 disassembler. [Aaron Giles] |
| 763 | 1356 | |
| 764 | | Rewrote core memory handlers as inline functions. These should be |
| 765 | | easier to trace through in a debug build, yet should operate the same |
| 766 | | as before. [Aaron Giles] |
| 1357 | Verified clock frequencies on Air Raid/Cross Shooter. |
| 1358 | [Corrado Tomaselli] |
| 767 | 1359 | |
| 768 | | Created a complete set of functions for all databus sizes (8,16,32,64) |
| 769 | | and all endiannesses. A few functions are redundant, but it is now |
| 770 | | very clear which functions to use in which scenarios. It is also now |
| 771 | | possible to rely on being able to access values of 8, 16, 32 or 64 |
| 772 | | bits via the built-in accessors without fear of crashing. |
| 1360 | Introduced/updated some include files for files that export functions |
| 1361 | whose apis will need to be changed to handle machine parameters |
| 1362 | (cps1.h, decocrpt.h, ms32.h, pgm.h, fd1089.h, konami1.h). In the case |
| 1363 | of konami.c, renamed the file konami1.c and changed the api and |
| 1364 | callers to only require one function export. Pulled memory_region*() |
| 1365 | calls out of for loops and folded the occasional duplicated call. The |
| 1366 | compiler can't likely infer that the results are constant, so this |
| 1367 | should be a minor performance win as well. [Atari Ace] |
| 1368 | |
| 1369 | Fixed some dips and added correct inputs for wpksocv2, despite still |
| 1370 | missing the correct input for begin the left right movement the game |
| 1371 | is almost playable. [Sonikos] |
| 1372 | |
| 1373 | Updated cheat system: [ShimaPong] |
| 1374 | - Locked search region when malloc fails to allocate gigantic memory |
| 1375 | instead of fatal error. Also locked zero malloc error in case of |
| 1376 | search speed = all memory in 32-bit CPU. And added search region |
| 1377 | range checker to lock a search region with a big risk |
| 1378 | - Fixed a bug that old code is always converted to specified |
| 1379 | separator in enable/disable menu |
| 1380 | - Refined new cheat format. |
| 1381 | * Rewritten cheat format again. newest format is |
| 1382 | ":gamename::type::address::data::extend_data: |
| 1383 | (description:comment)" |
| 1384 | Expanded type field now requires 10 bytes (not 8 bytes) and |
| 1385 | it divides internal cpu (2 bytes) and type (8 bytes) parameters |
| 1386 | * Removed VWrite, VRWrite. The flag of Value Selection is merged |
| 1387 | into expanded type field now. |
| 1388 | * Added CBit (Condition Bit). This checks bit in read data then |
| 1389 | set or clear bit in case of true. |
| 1390 | * Rearranged cheat code viwer based on newest cheat format |
| 1391 | - Fixed unworking Load Old Format option. If you want to load old or |
| 1392 | older format code, set it (default is OFF) |
| 1393 | - Renamed functions/structures based on coding guidlines |
| 1394 | All structures and included parameters are completed |
| 1395 | - Merged resize_*_no_dispose() into resize_*() |
| 1396 | - Removed the hack of search region for SH-2 CPU because required |
| 1397 | region is now set as expected without this hack |
| 1398 | |
| 1399 | Made duplicate input port bits an error now that all the warnings are |
| 1400 | fixed. [Aaron Giles] |
| 1401 | |
| 1402 | Added compile-time error if PTR64 is incorrectly set. [Aaron Giles] |
| 1403 | |
| 1404 | |
| 1405 | |
| 1406 | New games added or promoted from NOT_WORKING status |
| 1407 | --------------------------------------------------- |
| 1408 | Deroon DeroDero [nuapete, David Haywood] |
| 1409 | Sigma Poker 2000 [Roberto Fresca] |
| 1410 | Touki Denshou -Angel Eyes- [nuapete, David Haywood] |
| 1411 | Black Touch (Korea) (bootleg / hack of Dragon Punch) [David Haywood] |
| 1412 | |
| 1413 | |
| 1414 | |
| 1415 | New clones added |
| 1416 | ---------------- |
| 1417 | Touki Denshou -Angel Eyes- (VER. 960427) [Tomasz Slanina] |
| 1418 | Raiden Fighters 2 (Taiwan, SPI) [Corrado Tomaselli] |
| 1419 | |
| 1420 | |
| 1421 | |
| 1422 | New games marked as GAME_NOT_WORKING |
| 1423 | ------------------------------------ |
| 1424 | Capitan Uncino (Ver 1.2) [David Haywood] |
| 1425 | Capitani Coraggiosi (Ver 1.3) [David Haywood] |
| 1426 | La Perla Nera (Ver 2.0) [David Haywood] |
| 1427 | La Perla Nera Gold (Ver 2.0) [Roberto Fresca] |
| 1428 | Europa 2002 (Ver 2.0, set 1) [Roberto Fresca] |
| 1429 | Top Blade V [David Haywood] |
| 1430 | Office Yeo ln Cheon Ha [David Haywood] |
| 1431 | Carta Magica (Ver 1.8) [Roberto Fresca] |
| 1432 | Laser 2001 (Ver 1.2) [Roberto Fresca] |
| 1433 | Magic Drink (Ver 1.2) [Roberto Fresca] |
| 1434 | Millennium Sun [Roberto Fresca] |
| 1435 | NtCash [Roberto Fresca] |
| 1436 | Super Space 2001 [Roberto Fresca] |
| 1437 | Unknown italian gambling game [Roberto Fresca] |
| 1438 | Wizard (Ver 1.0) [Roberto Fresca] |
| 1439 | Elvis? [Roberto Fresca] |
| 1440 | |
| 1441 | |
| 1442 | |
| 1443 | 0.125u3 |
| 1444 | ------- |
| 1445 | |
| 1446 | |
| 1447 | MAMETesters Bugs Fixed |
| 1448 | ---------------------- |
| 1449 | - 01827: [Interface] galaga: DIP switch information is not being |
| 1450 | readded properly when .CFG is read. (Aaron Giles) |
| 1451 | - 01837: [DIP/Input] Missing input definitions (Aaron Giles) |
| 1452 | - 01039: [Interface] trog: Memory area limit of the cheat engine. |
| 1453 | (ShimaPong) |
| 1454 | - 01690: [Graphics] goldstar, goldstbl: Damaged and partially missing |
| 1455 | graphic. (Fabio Priuli) |
| 1456 | - 01153: [Speed] clshroad: The game is slow, the frame rate suffers, |
| 1457 | and even the calorie bar flickers. (Nicola Salmoria) |
| 1458 | - 00267: [Graphics] clshroad: Occasionally a cycler who's graphics are |
| 1459 | garbled will come along, (Nicola Salmoria) |
| 1460 | - 01692: [Graphics] athena: Corrupt sprites in game. (robiza) |
| 1461 | - 01834: [Graphics] fitegolf, countryc: Graphics corruption (robiza) |
| 1462 | - 01780: [Graphics] pingpong: Level select arrow's not displayed |
| 1463 | (Nicola Salmoria) |
| 1464 | - 01822: [Interface] OSD causes crash when try to show the Screen |
| 1465 | Refresh Rate menu. (Aaron Giles) |
| 1466 | - 01830: [DIP/Input] All sets in m58.c: Conditional coinage dip not |
| 1467 | visible/working for coin mode 1 (Aaron Giles) |
| 1468 | - 01836: [DIP/Input] qcrayon2: Conditional input not visible/working |
| 1469 | for dip game control joystick (Aaron Giles) |
| 1470 | - 01833: [Graphics] spikes91: missing text layer (David Haywood) |
| 1471 | - 01832: [DIP/Input] finalgdr: Cannot insert coins (all coin slots |
| 1472 | are disabled) (David Haywood) |
| 1473 | - 00240: [Gameplay] galaga88: Most of the time the shooting accuracy |
| 1474 | shown on the screen when the game is over is not computed |
| 1475 | correctly. (Nicola Salmoria) |
| 1476 | - 01741: [Graphics] ldrun4: Sprites are misplaced two pixels to the |
| 1477 | right. (Nicola Salmoria) |
| 1478 | - 01816: [DIP/Input] onetwo, onetwoe: credit problem and maybe sound |
| 1479 | problem (David Haywood) |
| 1480 | - 00245: [DIP/Input] tomahawk: There are no separate keys for player |
| 1481 | 2 in cocktail mode. (Nicola Salmoria) |
| 1482 | - 01735: [Graphics] sf2m4, sf2m5, sf2m6, sf2m7, sf2yyc, sf2koryu: |
| 1483 | games with bootleg kludge doesn't work (Nicola Salmoria) |
| 1484 | - 00070: [Misc.] nettoqc: In-game message. (couriersud) |
| 1485 | - 01756: [Sound] 800fath, knockout, marine, triplep: No sound in game. |
| 1486 | (couriersud) |
| 1487 | - 01825: [Interface] Toggling Tab menu works as F2 key in games with |
| 1488 | their service mode DIPs on the top of the menu. (Aaron Giles) |
| 1489 | - 00407: [Misc.] qtono2: At the game over scene, MAME reports "layer |
| 1490 | c000 contact MAMEDEV". (Nicola Salmoria) |
| 1491 | - 00237: [Sound] jumping: I have a Jumping bootleg and the music has |
| 1492 | the same tempo of the original rainbow islands. |
| 1493 | (Nicola Salmoria) |
| 1494 | - 00208: [Original Reference] monymony: I am measuring clocks on my |
| 1495 | Money Money pcb but I have a problem with the tms5200 clock. |
| 1496 | (Nicola Salmoria) |
| 1497 | - 01776: [Misc.] pzloop2, pzloop2j: In-game message "write to CPS-A |
| 1498 | register 24 contact MAMEDEV" at startup. (Nicola Salmoria) |
| 1499 | - 01755: [Misc.] mmatrix, mmatrixj: CPS-B read port 10 |
| 1500 | (Nicola Salmoria) |
| 1501 | - 01823: [Graphics] digdug, xevious, galaga + all clones: cocktail |
| 1502 | mode, player 2 has all sprites offset by an inch or two |
| 1503 | (couriersud) |
| 1504 | - 01826: [Graphics] All sets in mappy.c: All cocktail modes are |
| 1505 | displayed incorrectly for 2nd player (couriersud) |
| 1506 | - 01819: [Misc.] "Coinlock disabled coin x" message displayed upon |
| 1507 | startup (couriersud) |
| 1508 | - 01828: [DIP/Input] Most sets in taito_f3.c driver: Coin slots locks |
| 1509 | information does not disappear (couriersud) |
| 1510 | - 01719: [DIP/Input] bking, bking2, bking3: Player 1 and 2 Start |
| 1511 | mapped twice. (couriersud) |
| 1512 | |
| 1513 | |
| 1514 | |
| 1515 | Source Changes |
| 1516 | -------------- |
| 1517 | Changed default DIP switches in onetwo.c. Common coinslot mode seems |
| 1518 | broken, or our code is wrong. [David Haywood] |
| 1519 | |
| 1520 | Updated documentation in several drivers based on old readmes and |
| 1521 | other data that might get lost. [Andrew Gardner] |
| 1522 | |
| 1523 | Fixed COP420 instructions JSRP, LBI, LQID, and SKT. Draco now has |
| 1524 | sound. Also fixed COP420 instructions XAS and INIL. Fixed cycle count |
| 1525 | for extended opcodes. Added CKO general purpose input. [Curt Coder] |
| 1526 | |
| 1527 | Improvements to American Poker II driver. [Roberto Fresca] |
| 1528 | - Reworked the color routines switching to resnet system. |
| 1529 | - Added a resistor network diagram. |
| 1530 | - Switch to pre-defined crystal value. |
| 1531 | - Changed the WATCHDOG_TIME_INIT to be based on miliseconds instead |
| 1532 | of hertz. |
| 1533 | - Other minor cleanup/fixes. |
| 1534 | - Updated technical notes. |
| 1535 | |
| 1536 | peplus driver changes: [Jim Stolis] |
| 1537 | * Updated coin-in timing |
| 1538 | * Extended memory address range of DUART |
| 1539 | * Fixed overlapping input port bits |
| 1540 | |
| 1541 | Fixed PORT_IMPULSE handling. The old code would force inputs to be |
| 1542 | asserted for at least the number of frames indicated, but keeping the |
| 1543 | button pressed would keep the input asserted. Now the input is |
| 1544 | asserted far exactly the number of frames indicated. [Nicola Salmoria] |
| 1545 | |
| 1546 | Fixed memory access in the 80286 cpu core which made i286.h obsolete. |
| 1547 | Changed CPUINFO_INT_MAX_INSTRUCTION_BYTES to prevent crashes during |
| 1548 | disassembly. [Wilbert Pol] |
| 1549 | |
| 1550 | Fixed behavior of toggle switches so that they don't lose their value |
| 1551 | when the UI is up. They also can now be used for multibit DIP switch |
| 1552 | settings in which case they toggle through all the options. Added |
| 1553 | new functions input_field_select_next_setting() and |
| 1554 | input_field_select_previous_setting() which can be used to iterate |
| 1555 | properly through DIP switches. Fixed the behavior for cases where |
| 1556 | conditional ports are in play (you could get stuck). Changed uimenu.c |
| 1557 | to call these instead of implementing its own. [Aaron Giles] |
| 1558 | |
| 1559 | Changed uimenu.c so that hitting ENTER on a DIP switch resets it to |
| 1560 | its default value. This is analagous to how the OSD sliders behave. |
| 773 | 1561 | [Aaron Giles] |
| 774 | 1562 | |
| 775 | | Updated all cores using 8-bit handlers to explicitly call the 8-bit |
| 776 | | handlers with the appropriate endianness. [Aaron Giles] |
| 1563 | Renamed EEPROM_* to eeprom_*. Updated all drivers accordingly. |
| 1564 | Typedef'ed a real eeprom_interface structure. [Aaron Giles] |
| 777 | 1565 | |
| 778 | | Fixed a few games which were calling n-bit handlers directly to use |
| 779 | | the generic forms. In the future, this is all the access drivers will |
| 780 | | have. [Aaron Giles] |
| 1566 | Added a PORT_CUSTOM for the eeprom bit reading. Updated several |
| 1567 | drivers to use that by specifying it in their input ports instead |
| 1568 | of having a custom read handler that inserted the bit forcefully. |
| 1569 | Also added a PORT_CUSTOM for the ticket dispenser callback as well. |
| 1570 | Updated the dcheese driver to use it. Many more drivers can be updated |
| 1571 | to use these new PORT_CUSTOMs in the future, eliminating hacky input |
| 1572 | port read handlers. [Aaron Giles] |
| 781 | 1573 | |
| 782 | | More opcodes fixed in gussun oyoyo and risky challenge. [robiza] |
| 1574 | Changed text used to specify a menu separator in uimenu.c, and added |
| 1575 | a #define for the new string. [Nathan Woods] |
| 783 | 1576 | |
| 784 | | Added tags and locations to dips for marvins.c and matmania.c. |
| 785 | | [Fabio Priuli] |
| 1577 | Added TOKEN_SKIP_* macros to tokenize.h. [Aaron Giles] |
| 786 | 1578 | |
| 787 | | Enabled roz tilemap in emeraldia, but it's not centered in the right |
| 788 | | position when it's not in its original dimension. [Pierpaolo Prazzoli] |
| 1579 | Changed error reporting during input port detokenization to fill a |
| 1580 | buffer rather than fatalerror-ing immediately. Should now properly |
| 1581 | skip over any invalid tokens. Enhanced error detection during input |
| 1582 | port detokenization to catch duplicate bits. There are a lot of these! |
| 1583 | Updated initialization code to print errors and fatal only if the |
| 1584 | input ports were unable to be constructed at all. [Aaron Giles] |
| 789 | 1585 | |
| 790 | | Fixed 'lghost*' Dip Switches. [stephh] |
| 1586 | Fixed duplicate input port bits in pacman.c, gottlieb.c, cps1.c, |
| 1587 | megadriv.c, segae.c. [David Haywood] |
| 791 | 1588 | |
| 792 | | Reduced the number of save state callback types from 3 to 1. The |
| 793 | | only remaining form is the one that takes a pointer parameter. Added |
| 794 | | macros for STATE_PRESAVE and STATE_POSTLOAD to define common |
| 795 | | functions. Added machine parameter to these functions. Updated all |
| 796 | | drivers and CPU/sound cores to use the new macros and consolidate |
| 797 | | on the single function type. As a result pushed the machine parameter |
| 798 | | through a few initialization stacks. [Aaron Giles] |
| 1589 | Added support for a NULL set of input ports, used by the empty driver. |
| 1590 | [Aaron Giles] |
| 799 | 1591 | |
| 800 | | Removed unnecessary postload callbacks which only marked all tiles |
| 801 | | dirty, since this is done automatically by the tilemap engine. |
| 1592 | Fixed cpu_getiloops() which was not returning the correct value. |
| 1593 | [Nicola Salmoria] |
| 1594 | |
| 1595 | Made gijoe not crash, but still don't understand what the original |
| 1596 | code was trying to do. [David Haywood] |
| 1597 | |
| 1598 | Moved suprpool to a better match hardware. Fixed the ROM load and |
| 1599 | added a list of PCB components. [Roberto Fresca] |
| 1600 | |
| 1601 | Implemented autoload mode in 8257 DMA: [Miodrag Milanovic] |
| 1602 | * added support for autoload mode |
| 1603 | * fixed bug in calculating count |
| 1604 | |
| 1605 | Fixed duplicate input port bits in dkong.c. [couriersud] |
| 1606 | |
| 1607 | MIPS core changes: [Aaron Giles] |
| 1608 | - renamed struct mips3_config -> mips3_config |
| 1609 | - updated all drivers to the new names |
| 1610 | - removed MIPS3DRC_STRICT_COP0 flag, which is no longer used |
| 1611 | - a few minor cleanups |
| 1612 | - moved implementation-specific state into a pointer hanging off of |
| 1613 | the core MIPS3 state |
| 1614 | - removed large context in favor of a pointer to the large context |
| 1615 | to help improve context switch times |
| 1616 | |
| 1617 | Changed the behavior of the translate callback in the CPU interface: |
| 802 | 1618 | [Aaron Giles] |
| 1619 | - added new 'intention' parameter to the translate callback to |
| 1620 | indicate read/write/fetch access, user/supervisor mode, and |
| 1621 | a flag for debugging |
| 1622 | - updated all call sites to pass an appropriate value |
| 1623 | - updated all CPU cores to the new prototype |
| 803 | 1624 | |
| 804 | | Updates for the driver wc90b.c: [ClawGrip] |
| 805 | | - Removed the second YM2203, it isn't present on the bootleg boards |
| 806 | | - Changed the clocks according to the oscilators found on the board |
| 1625 | UML updates: [Aaron Giles] |
| 1626 | - added new opcode SETC to set the carry flag from a source bit |
| 1627 | - added new opcode BSWAP to swap bytes within a value |
| 1628 | - updated C, x86, x64 back-ends to support the new opcodes |
| 1629 | - updated disassembler to support the new opcodes |
| 807 | 1630 | |
| 808 | | Added the running_machine* parameter to the function passed into |
| 809 | | cpunum_set_irq_callback() and adds the IRQ_CALLBACK macro for |
| 810 | | the callback function. [Oliver Stoenberg] |
| 1631 | DRC frontend changes: [Aaron Giles] |
| 1632 | - fixed bug in handling edge case with the PC near the 0 or ~0 |
| 1633 | - added new flag to tag privileged instructions |
| 811 | 1634 | |
| 812 | | Cleaned up the Machine usage in the osd/windows files and added the |
| 813 | | running_machine parameter where possible. [Oliver Stoenberg] |
| 1635 | Added new option -snapname which lets you provide a template for how |
| 1636 | snapshot names are generated. See config.txt for details. [Aaron Giles] |
| 814 | 1637 | |
| 815 | | Various tweaks/fixes from MAMEPlus: |
| 816 | | * save state support for FD1094 chips |
| 817 | | * improved graphics in athena |
| 818 | | * improved sound balance in armedf |
| 819 | | * derived refresh rate for toaplan1 games |
| 820 | | * improved sound balance in tmnt games |
| 821 | | * derived clocks for suprridr |
| 822 | | * tweaked xmen visible area |
| 823 | | * derived clocks and refresh rate in twin16 driver |
| 824 | | |
| 825 | | CPS1: Verified some gfx ROM mapping tables against PAL dumps. Improved |
| 826 | | understanding and emulation of palette related registers. |
| 827 | | [Nicola Salmoria, Corrado Tomaselli] |
| 1638 | Added new astring functions astring_del, astring_replace, and |
| 1639 | astring_replacec. [Aaron Giles] |
| 828 | 1640 | |
| 1641 | Removed meaningless service_coin_lockout_w function. Updated the |
| 1642 | zaxxon driver to correctly handle the coin enable lines. |
| 1643 | [Nicola Salmoria] |
| 829 | 1644 | |
| 1645 | Fixed bug that caused DIP switches to be improperly read from game |
| 1646 | cfg file in certain circumstances. [Aaron Giles] |
| 830 | 1647 | |
| 1648 | Added internal default tags for input ports when saving/loading. |
| 1649 | [Aaron Giles] |
| 831 | 1650 | |
| 1651 | Updated cheat sytem drastically: [ShimaPong] |
| 1652 | |
| 1653 | * Supported (preliminary) new cheat format |
| 1654 | - Added new operations |
| 1655 | PDWWrite, RWrite, VRWrite, CWrite, Move, Branch, Loop, Popup |
| 1656 | - Added new options |
| 1657 | ValueSelectNegative, Return, AddressReadFrom, DataReadFrom |
| 1658 | - Added cheat variables |
| 1659 | You can store data with Write or Move operations and |
| 1660 | read as an address or data from each fields |
| 1661 | - Added condition check |
| 1662 | for CWrite, Branch and Popup operations |
| 1663 | - Added new custom codes |
| 1664 | Separator, Layer |
| 1665 | - Supported Shared Code [MESS ONLY] |
| 1666 | different machine shares common code for a game |
| 1667 | |
| 1668 | * Allowed mixed label-select or user-select with standard code |
| 1669 | |
| 1670 | * Added label selector menu for label-selection code |
| 1671 | |
| 1672 | * Added extend comment displayer for multi-line comments |
| 1673 | |
| 1674 | * Added command menu for cheat list and watchpoint |
| 1675 | Easy selectable cheat commands in this menu |
| 1676 | |
| 1677 | * Added debug view menu [DEBUG BUILD ONLY] |
| 1678 | It displays internal info to debug cheat system |
| 1679 | |
| 1680 | * Supported unique separator by ui_draw_menu() in several menus |
| 1681 | |
| 1682 | * Added user defined search region |
| 1683 | You can set free memory range from cheat database |
| 1684 | |
| 1685 | * Enhanced error check for cheat code to prevent from unexpected |
| 1686 | working. Error code is locked. If you select this code, the |
| 1687 | analyser works instead of the code activater |
| 1688 | |
| 1689 | * Enhanced value input with keyboard-less |
| 1690 | Cheat edit key gives new input system in several menus |
| 1691 | Left/right keys moves the edit cursor and up/down keys changes a |
| 1692 | value |
| 1693 | |
| 1694 | * Added cheat command save, reload, reset in option menu |
| 1695 | |
| 1696 | * Supported address shift in searching |
| 1697 | Now searchable default region in TMS340*0 cpu games (Trog, |
| 1698 | Smash T.V. etc) |
| 1699 | |
| 1700 | * Refined cheat menu handling with function pointer called |
| 1701 | cheat_menu_handler |
| 1702 | |
| 1703 | * Added format strings table to manage in an integrated fashion |
| 1704 | |
| 1705 | * Deleted unused hacks of default search region for Neo Geo and |
| 1706 | TMS34010 |
| 1707 | |
| 1708 | * Refined code based on MAME coding guidelines |
| 1709 | - Renamed many functions/structures/constants |
| 1710 | But not complete due to too many items |
| 1711 | - Converted small but often used functions to INLINE |
| 1712 | - Fixed a comparison in case of 0 or NULL |
| 1713 | - Added missing function prototype for several functions |
| 1714 | |
| 1715 | |
| 1716 | |
| 832 | 1717 | New games added or promoted from NOT_WORKING status |
| 833 | 1718 | --------------------------------------------------- |
| 834 | | 1 on 1 Government (JAPAN) [smf] |
| 1719 | beatmania THE FINAL (ver JA-A) [Chizzy] |
| 1720 | Player's Edge Plus (XP000112) White Hot Aces Poker [hammer300] |
| 1721 | ChuckECheese's Match Game [Exodus] |
| 1722 | Coronation Street Quiz Game [Phil Bennett] |
| 835 | 1723 | |
| 836 | 1724 | |
| 837 | 1725 | |
| 838 | 1726 | New clones added |
| 839 | 1727 | ---------------- |
| 840 | | Seibu Cup Soccer :Selection: (set 2) [Arzeno Fabrice] |
| 841 | | Super Monaco GP (set 1, Japan, Rev A, FD1094 317-0124a) |
| 842 | | [Corrado Tomaselli] |
| 843 | | Added Side by Side 2 (Japan) [Yasuhiro Ogawa] |
| 1728 | Fred Flintstones' Memory Match (5 new sets) [Exodus] |
| 1729 | Mighty! Pang (Euro 001010) [Bonky] |
| 1730 | Dynamite Cop (USA, Model 2C) [The Guru] |
| 1731 | Atomic Boy (revision B) [Stefan Lindberg] |
| 844 | 1732 | |
| 845 | 1733 | |
| 846 | 1734 | |
| 847 | | New games marked as GAME_NOT_WORKING |
| 848 | | ------------------------------------ |
| 849 | | Touchmaster 5000 (v7.10) [Brian Troha] |
| 850 | | Touch Master 7000 [Brian Troha] |
| 851 | | |
| 852 | | |
| 853 | | |
| 854 | | 0.124u1 |
| 1735 | 0.125u2 |
| 855 | 1736 | ------- |
| 856 | 1737 | |
| 857 | 1738 | |
| 858 | 1739 | MAMETesters Bugs Fixed |
| 859 | 1740 | ---------------------- |
| 860 | | 01650: [Gameplay] ridgerac: Unstable Freezes that ends with Crash |
| 861 | | and needs totally reboot under XP (Aaron Giles) |
| 862 | | 01542: [Graphics] 3wonders, 3wonderu, wonder3: Wrong colour of |
| 863 | | background in game selection and start screens (Nicola Salmoria) |
| 864 | | 00403: [Graphics] 3wonders: Points are displayed between lives of |
| 865 | | first player and the word INSERT COIN: (Nicola Salmoria) |
| 866 | | 00410: [Graphics] xmcota: After a couple passes through the demo |
| 867 | | mode, the background on the qsound screen will go to a shade of |
| 868 | | green. (Nicola Salmoria) |
| 869 | | 01519: [Graphics] msh: After beating the game, the screen turns |
| 870 | | different colors for the endings and everything (Nicola Salmoria) |
| 871 | | 01468: [Graphics] ldrun2: Priority problem at titlescreen |
| 872 | | (Nicola Salmoria) |
| 873 | | 01469: [Graphics] ldrun2: Compared to the PCB does MAME show less |
| 874 | | graphic at the bottom of the screen. (Nicola Salmoria) |
| 875 | | 01661: [Graphics] rougien: sprite disappear (Robiza) |
| 876 | | 01613: [Graphics] swcourt, swcourtj: Strange sprites cutting on the |
| 877 | | edge of screen (Pierpaolo Prazzoli) |
| 878 | | 01622: [Core] -refreshspeed has no effect (Aaron Giles) |
| 879 | | 01629: [Graphics] raiga, stratof: broken colors on sprites |
| 880 | | (Aaron Giles) |
| 881 | | 01630: [Graphics] fstarfrc, ginkun, riot: broken colors on sprites |
| 882 | | (Aaron Giles) |
| 883 | | 01627: [Misc.] spbactn, spbactnj: Crashes with Access Violation |
| 884 | | (Aaron Giles) |
| 885 | | 01598: [Graphics] 4in1, gmgalax, pacmanbl: Sprites are cut off on |
| 886 | | the top row (Aaron Giles) |
| 887 | | 01563: [DIP/Input] gmgalax: Duplicated Inputs (Aaron Giles) |
| 888 | | 00300: [Graphics] zigzag: in cocktail mode player 2 screen is shift |
| 889 | | over to the right. (Aaron Giles) |
| 890 | | 01623: [DIP/Input] ssprint and clones: Coins don't seem to match |
| 891 | | machine order. (RansAckeR) |
| 892 | | 01454: [Graphics] mshuttle, mshuttlj, mshutlj2: The display of the |
| 893 | | screen is shifted. (Aaron Giles) |
| 894 | | 01473: [Graphics] orbitron: Orbitron graphics not correctly |
| 895 | | displayed (Aaron Giles) |
| 896 | | 01600: [Graphics] pacmanbl, batman2: The background is shifted to |
| 897 | | the right and cut off on the right side. (Aaron Giles) |
| 898 | | 01602: [Misc.] luctoday: Messed up graphics. (Screen Offset) |
| 899 | | (Aaron Giles) |
| 900 | | 01599: [Graphics] omega: Screen is vertically offset. (Aaron Giles) |
| 901 | | 01605: [Graphics] gteikokb, gteikob2: Wrong screen offset |
| 902 | | (Aaron Giles) |
| 1741 | 01815: [Save/Restore] All Sets: Saved machine states do not properly |
| 1742 | adjust to changes in -samplerate (Aaron Giles) |
| 1743 | 01671: [Interface] every set with PORT_MODIFY used for DIPs (e.g. |
| 1744 | arknoidj): the modified dipswitches are always listed at the |
| 1745 | bottom of the list (Aaron Giles) |
| 1746 | 01814: [Sound] YM2608 games (tail2nos, sformula, wc90, mechatt): Only |
| 1747 | basic music, no more samples (couriersud) |
| 1748 | 01497: [Graphics] numanath, numanatj: Graphics corruption on |
| 1749 | title screen. (Phil Stroffolino) |
| 1750 | 01804: [Core] carnevil, sfrush: Seattle games crash on startup |
| 1751 | (Aaron Giles) |
| 903 | 1752 | |
| 904 | 1753 | |
| 905 | 1754 | |
| 906 | 1755 | Source Changes |
| 907 | 1756 | -------------- |
| 908 | | Renamed galaxian.c -> galaxold.c. Updated all drivers accordingly. |
| 1757 | Fixed long-standing bug with Emeralda text colors. A sprite |
| 1758 | attribute exists which signals an alternate interpretation of |
| 1759 | palette ram. Fixed priority for the bitmap layer used in Numan |
| 1760 | Athletics. [Phil Stroffolino] |
| 1761 | |
| 1762 | Restructured input port internals and cleaned up inptport.c: |
| 909 | 1763 | [Aaron Giles] |
| 910 | 1764 | |
| 911 | | Cidelsa driver updates: [Curt Coder] |
| 912 | | - de-deprecated the timer callbacks |
| 913 | | - moved PCB RAM to the heap and fixed index overflow |
| 914 | | - converted CDP1869 to the new device system |
| 915 | | - refactored to represent how the hardware actually works |
| 916 | | - added PMA latching on OUT5 |
| 917 | | - separated Cidelsa video to its own file |
| 1765 | * Input ports are now maintained hierarchically. At the top |
| 1766 | level are input ports, which contain a list of fields. Each |
| 1767 | field represents one or more bits of the port. Certain fields |
| 1768 | such as DIP switches and configuration switches contain a |
| 1769 | list of settings, which can be selected. DIP switch fields |
| 1770 | can also contain a list of DIP switch locations. |
| 918 | 1771 | |
| 919 | | COP CPU updates: [Curt Coder] |
| 920 | | - implemented interrupt |
| 921 | | - implemented serial input/output |
| 922 | | - fixed XAD/LDD, XIS1, RMB3 opcodes |
| 923 | | - fixed clock divider |
| 924 | | - fixed internal memory map size |
| 925 | | - added some cpu variants |
| 926 | | - fixed serial timer |
| 927 | | - fixed clocks |
| 928 | | - fixed COP410 RMB3, XAD instructions |
| 929 | | - general cleanup |
| 1772 | * Normalized behavior of port overrides (via PORT_INCLUDE or |
| 1773 | by defining multiple overlapping bits). All fields within a |
| 1774 | port are kept in strict increasing bit order, so altered DIP |
| 1775 | switches are now kept in the appropriate order. This addresses |
| 1776 | MAMETesters bug 01671. |
| 930 | 1777 | |
| 931 | | Fix cfg file corruption if joystick is not connected; itemclass now |
| 932 | | part of token if item is not found. Settings for joysticks which use |
| 933 | | a custom item id will still be lost. A fallback has to be provided |
| 934 | | here since those will use a token generated from the input item name. |
| 935 | | [couriersud] |
| 1778 | * Live port state is now fully separate from configured |
| 1779 | state. This is manifested in a similar way to devices, where |
| 1780 | a const list of ports can be managed either offline or live. |
| 1781 | Each port has a pointer to an opaque set of live state which |
| 1782 | is NULL when offline or valid when live. Each port also has |
| 1783 | a running_machine * which is also NULL when offline. |
| 936 | 1784 | |
| 937 | | Memory system changes: [smf] |
| 938 | | * Now passing mem_mask to the read and write debug hooks. This |
| 939 | | allows the address & size of the memory access to be correctly |
| 940 | | calculated when using a memory call that takes a mem_mask. |
| 941 | | * New macros added for checking mem_mask. ACCESSING_BITS_m_n, |
| 942 | | These check for any access within the bounds between bit 'm' and bit |
| 943 | | 'n' (counting bit 0 as the least significant bit). Currently the |
| 944 | | pattern for checking whether both bytes of a word is written is to |
| 945 | | make two byte checks. |
| 946 | | * All occurrences of ACCESSING_LSB, ACCESSING_MSB, ACCESSING_LSB16, |
| 947 | | ACCESSING_MSB16, ACCESSING_LSB32, ACCESSING_MSB32, |
| 948 | | ACCESSING_LSW32, ACCESSING_MSW32 & simple mem_mask checks have |
| 949 | | been replaced with the new macros. |
| 1785 | * Because of this new arrangement, the conversion from tokens |
| 1786 | to a list of ports now requires reasonably complex memory |
| 1787 | allocation, so these port lists must be explicitly allocated |
| 1788 | and freed (they are not mantained by automatic resource |
| 1789 | allocation). |
| 950 | 1790 | |
| 951 | | Added fatal error if AM_READ_PORT() references a non-existent port. |
| 952 | | [Aaron Giles] |
| 1791 | * Custom and changed callbacks now take a pointer to a field |
| 1792 | config instead of a running machine. This provides more |
| 1793 | information about what field triggered the change notification. |
| 1794 | The machine can be found by referenced field->port->machine. |
| 953 | 1795 | |
| 954 | | Converted special-case DIP switches (service, unknown, unused) into |
| 955 | | their own token type rather than expanding into other tokens. The |
| 956 | | reduces the number of redundant strings and data. [Aaron Giles] |
| 1796 | * The inptport.c module has been cleaned up and many |
| 1797 | ambiguities resolved. Most of this is internal, though it did |
| 1798 | result in osd_customize_inputport_list() being changed to |
| 1799 | osd_customize_input_type_list(). The parameter to this function |
| 1800 | is now a linked list instead of an array, and the structures |
| 1801 | referenced have been reorganized somewhat. |
| 957 | 1802 | |
| 958 | | Galaxian rewrite. Ultimately will combine the existing drivers |
| 959 | | for galaxian, scramble, frogger, scobra, amidar, and dambustr. |
| 960 | | For the moment, only a subset of games are implemented in the |
| 961 | | new system; the remainder are running on the old code. Main features |
| 962 | | are accurate video timing, correct stars implementation, better |
| 963 | | organization, simplified input ports, and many other smaller fixes. |
| 964 | | [Aaron Giles, stephh] |
| 1803 | * Updated config.c to pass machine parameters to its callbacks. |
| 965 | 1804 | |
| 966 | | Minor cleanup and simplification in the video and palette code. |
| 967 | | Removed palette_config(). [Aaron Giles] |
| 1805 | * Updated validity checks, XML output, and UI system to handle |
| 1806 | the new structures. |
| 968 | 1807 | |
| 969 | | Fixed interrupt handling and 16-bit memory accessors in 6840ptm.c. |
| 970 | | Also cleaned up code for the sake of readability. [Philip Bennett] |
| 1808 | * Moved large table of default input settings to a separate |
| 1809 | include file inpttype.h. |
| 971 | 1810 | |
| 972 | | Added multiplier (same as wecleman) to Flak Attack. Info provided by |
| 973 | | VU801qCf. [Yasuhiro Ogawa] |
| 1811 | * Removed gross hacks in trackfld and hyperspt NVRAM. These |
| 1812 | may be broken as a result. |
| 974 | 1813 | |
| 975 | | Namco NA1 improvement: [Pierpaolo Prazzoli] |
| 976 | | * Fixed sprites shadow in namcona1 driver and removed Emeraldia hack. |
| 977 | | * Added tilemaps and sprites 4bpp mode |
| 978 | | * Added preliminary ROZ implementation (disabled until the enable / |
| 979 | | disable register is found) |
| 980 | | * Changed background pen to fix emeralda demo |
| 1814 | Further Namco NA-1 changes: [Phil Stroffolino] |
| 1815 | * Adjusted alternate palette handling weights to more accurately |
| 1816 | match real hardware - text anti-aliasing is much more noticable. |
| 1817 | * Adjustment to roz layer priority - prevents roz layer from |
| 1818 | incorrectly being displayed over backgrounds in some games (i.e. |
| 1819 | numanathj) |
| 1820 | * Added a mask when processing the roz tilemap to avoid defects in |
| 1821 | emeraldj |
| 981 | 1822 | |
| 982 | | Discrete sound system improvements: [couriersud] |
| 983 | | * Added DISCRETE_RCFILTER_SW to discrete sound. This implements |
| 984 | | multiple RC networks with CD4066 switches to connect/disconnect |
| 985 | | capacitor. |
| 986 | | * Implemented discrete mixing in circusc using DISCRETE_RCFILTER_SW |
| 987 | | and sound routing to route 76416 output to discrete logic. |
| 988 | | * Added discrete filtering and mixing to galaxian.c games using |
| 989 | | konami_sound. |
| 990 | | * Fixed timing of stream_update in discrete_sound_w. All sound |
| 991 | | cores update before processing changed data. |
| 992 | | * Added streeam_update to discrete_sound_r |
| 993 | | * Now supports multiple output nodes per module. |
| 994 | | In this case, NODE_XXX is the default output. Alternative outputs |
| 995 | | may be accessed by using NODE_XXX_YY where 00<Y<08. |
| 1823 | Fixed black pixel patches present in the TC0100SCN fg layer of |
| 1824 | undrfire and groundfx. [Philip Bennett] |
| 1825 | |
| 1826 | Universal DRC system updates and improvements: [Aaron Giles] |
| 1827 | |
| 1828 | UML: |
| 1829 | * Added back-end validation mechanism, and a handful of tests as |
| 1830 | examples. This will be expanded in the future. |
| 1831 | * Added several new opcodes: |
| 1832 | - SAVE dumps the entire virtual machine state to a struct |
| 1833 | - RESTORE applies the data in a struct to the live state |
| 1834 | - LZCNT counts leading zeros in an operand |
| 1835 | - XTRACT extracts a bitfield to another register (rlwinm) |
| 1836 | - INSERT inserts a bitfield into a register (rlwimi) |
| 1837 | * Added new back-end function get_info() which returns information |
| 1838 | from the back-end about how many actual registers will be |
| 1839 | mapped. |
| 1840 | |
| 1841 | x86 back-end: |
| 1842 | * Implemented all new opcodes. |
| 1843 | * Implemented get_info() function. |
| 1844 | * Fixed several bugs relating to shifts/rotates and optimizing out |
| 1845 | cases incorrectly. |
| 1846 | |
| 1847 | x64 back-end: |
| 1848 | * Implemented all new opcodes. |
| 1849 | * Implemented get_info() function. |
| 1850 | * Added defines for new Penryn opcodes to x86emit.h. |
| 1851 | * Added support for ROUNDSS and ROUNDSD on Penryn architectures. |
| 1852 | This hasn't been tested. If you have a Penryn-based system, |
| 1853 | give it a try. |
| 1854 | * Fixed several bugs relating to shifts/rotates and optimizing out |
| 1855 | cases incorrectly. |
| 1856 | |
| 1857 | C back-end: |
| 1858 | * Implemented all new opcodes. |
| 1859 | * Implemented get_info() function. |
| 1860 | * Cleaned up operand sizing. |
| 1861 | * Fixed several errors that made it not work on bigendian systems |
| 1862 | |
| 1863 | MIPS DRC: |
| 1864 | * Added some instrumentation for the MMU. To enable it, turn on |
| 1865 | PRINTF_MMU at the top of the file. |
| 1866 | * Fixed front-end so that virtual no-op instructions are still |
| 1867 | targeted as branch targets. |
| 1868 | * Fixed front-end to mark the beginning of each sequence as |
| 1869 | needing TLB validation, since any sequence can be jumped to |
| 1870 | from anywhere. |
| 1871 | * Redid the MIPS3 TLB implementation. Fixed the exception vector |
| 1872 | and type handling. Changed the bitfields to directly map from |
| 1873 | the MIPS TLB format. Added distinction between TLB fill and TLB |
| 1874 | valid/modified exceptions. |
| 1875 | * Added separate modes for user, supervisor, and kernel modes. |
| 1876 | Each mode does proper verification of addresses now and |
| 1877 | generates address errors for invalid accesses. |
| 1878 | * Fixed several bugs in the TLB implementation; not everything |
| 1879 | works yet but it's a lot closer. |
| 1880 | * Made COP0 access checking mandatory in non-kernel modes. |
| 1881 | * Fixed several crashes when recompiling virtual no-ops. |
| 1882 | * Fixed TLB bug where entries for virtual address 0 were present |
| 1883 | by default. |
| 1884 | * Fixed bug in the map variable implementation that would |
| 1885 | sometimes result in incorrectly recovered values. |
| 1886 | * Implemented IDT instructions. All invalid instruction asserts |
| 1887 | are now runtime-only. |
| 1888 | * Added support to map a few common registers to machine registers |
| 1889 | if the machine supports it. Currently only x64 on Windows has |
| 1890 | enough free registers to do so, though PowerPC will almost |
| 1891 | certainly be able to take advantage of this. Gives a minor |
| 1892 | speedup. |
| 1893 | * Updated to use INSERT and XTRACT where appropriate. |
| 1894 | * Cleaned up register usage to free up one machine register for |
| 1895 | x64 on Linux. |
| 996 | 1896 | |
| 997 | | You may also access nodes with macros: |
| 998 | | |
| 999 | | NODE_XXX = NODE_SUB(XXX, 0) |
| 1000 | | NODE_XXX = NODE(XXX) |
| 1001 | | NODE_XXX_YY = NODE_SUB(XXX, YY) with YY != 00 |
| 1002 | | |
| 1003 | | This should e.g. make discrete sound emulation easier when dealing |
| 1004 | | with e.g. flip flops (Q & QQ) and binary counters. |
| 1005 | | * Added sanity checks to check consistency issues introduced by this |
| 1006 | | change |
| 1007 | | * Modules specify number of outputs ==> Certain special modules |
| 1008 | | (WAVELOG) may no longer be used as input nodes |
| 1009 | | * Removed explicit (NODE_XX + expr) from a couple of drivers |
| 1897 | Added World Rally wheel support. [Mirko Mattioli] |
| 1010 | 1898 | |
| 1011 | | Fixed encoding/decoding of negative denormal floats in the AICA/SCSP |
| 1012 | | DSP. Shouldn't actually affect any games. [kingshriek, Deunan Knute] |
| 1899 | Fixed spikes91 sprite colours without resorting to hacks. |
| 1900 | [David Haywood] |
| 1013 | 1901 | |
| 1014 | | Changed Seibu sound CPU to use AM_READ_PORT("COIN") instead of |
| 1015 | | input_port_0_r. [stephh] |
| 1902 | Fixed N64 rendering on big-endian targets. [R. Belmont] |
| 1016 | 1903 | |
| 1017 | | bloodbro.c driver improvements to DIP locations and coin modes. |
| 1018 | | Added notes for 'bloodbra'. [RansAckeR, stephh] |
| 1904 | Fixed CDP1869 character memory access, and Cidelsa sprite flashing. |
| 1905 | [Curt Coder] |
| 1019 | 1906 | |
| 1020 | | Add input ITEM_IDs for additional axes and switches. Also added |
| 1021 | | ITEM_IDs for up to 4 hats/POVs. [couriersud] |
| 1907 | Fixed 80286 databus widths. [Wilbert Pol] |
| 1022 | 1908 | |
| 1023 | | Merged memory maps for half of the W drivers. Also made a couple of |
| 1024 | | random touchups for X, Y, and Z drivers. [Andrew Gardner] |
| 1909 | Added proper interpolation sub-cycles to the TMS5110 and TMS5220 |
| 1910 | ('PC' cycles and A/B subcycles of each) and updated comments. |
| 1911 | [Lord Nightmare] |
| 1025 | 1912 | |
| 1026 | | Added a little magic to make the Atomiswave BIOS try to be more |
| 1027 | | verbose, but our video emulation isn't good enough to cooperate. |
| 1028 | | [R. Belmont, ElSemi] |
| 1913 | Fixed World Rally MCU comms on big-endian. [R. Belmont] |
| 1029 | 1914 | |
| 1030 | | Added bootleg of badlands - heavily modified, not working. |
| 1031 | | [David Haywood] |
| 1915 | Changed defaults so that joysticks are enabled standard. [Aaron Giles] |
| 1032 | 1916 | |
| 1033 | | Fixed DS2401 state loading now that the digital i/o board's serial |
| 1034 | | number has been changed to a const by not saving it. As the serial |
| 1035 | | number cannot be changed at run time it was rather pointless. [smf] |
| 1917 | Some improvements to Sandii' games: [Roberto Fresca, f205v] |
| 1918 | - Confirmed the CPU clock after some PCB measurements. |
| 1919 | - Changed the SND clock to 1MHz to match the PCB measurement. |
| 1920 | - Corrected the internal OKI6295 frequency turning the pin 7 state to HIGH. |
| 1921 | - Inputs: Eliminated all pulse limitations. |
| 1922 | Affected buttons have a rattled sound in the real thing too. |
| 1923 | - Updated technical notes. |
| 1036 | 1924 | |
| 1037 | | BFCobra improvements: [Anonymous] |
| 1038 | | * Added plane priority to blitter, fixing Treble Top signature |
| 1039 | | writing |
| 1040 | | * Video output now supports all modes - lores, hires, mixedres, |
| 1041 | | 8/7/4/3 bits/pixel, fixing Every Second Counts colour problems |
| 1042 | | * Added line draw, fixing missing stuff from Question Of Sport |
| 1043 | | * Change blitter loop type control - there are 4 types of loop. |
| 1044 | | * Corrected video frame rate to 50Hz. |
| 1045 | | * Corrected Z80 speed to 5.91mhz |
| 1046 | | * Accounted for Z80 cycles stolen during a blit operation. Improves |
| 1047 | | gfx/sound sync and seems to fix the final round lockup in Every |
| 1048 | | Second Counts. |
| 1925 | Corrected several bugs in the emulation of the saturn CPU. These |
| 1926 | corrections are needed to make new HP48 drivers (to be submitted to |
| 1927 | MESS imminently) work. [Antoine Mine] |
| 1049 | 1928 | |
| 1050 | | Various SCSI devices register state items by their disk ID, which are |
| 1051 | | not unique across device types. Introduced a device-type offset for |
| 1052 | | CD-ROMs so their registrations don't clash with harddisks. |
| 1053 | | [R. Belmont] |
| 1929 | Eliminated a large number of global Machine references. Added machine |
| 1930 | parameters to IRQ callbacks throughout the system to help remove |
| 1931 | more. Reduced the number of files needing deprecat.h by ~200. |
| 1932 | [Atari Ace] |
| 1054 | 1933 | |
| 1055 | | Fixed tilemap viewer to draw the whole tilemap when categories are |
| 1056 | | used. Added new option TILEMAP_DRAW_ALL_CATEGORIES to do this |
| 1057 | | efficiently. Updated several drivers to use this instead of rendering |
| 1058 | | each category independently where appropriate. [Nicola Salmoria] |
| 1934 | Some work on lwings.c: Input clean up, added dip locations, fixed |
| 1935 | lwingsb life DIP switches, and merged machine drivers. [Sonikos] |
| 1059 | 1936 | |
| 1060 | | Added DIP locations to blueprnt.c [RansAckeR] |
| 1937 | Updated Gorf sample volume to match new samples from Chris Law. |
| 1938 | [Chris Law] |
| 1061 | 1939 | |
| 1062 | | Fixed ledutil.c so it compiles cleanly under MSVC. [Mike Haaland] |
| 1940 | Added built-in overlay for Moon Shuttle. [Deacon Blue] |
| 1063 | 1941 | |
| 1064 | | Astrocade update: [Dirk Best] |
| 1065 | | - Update src/mame/includes/astrocde.h to use an XTAL value |
| 1066 | | - Clear interrupts if they are no longer valid |
| 1067 | | - Add the knob inputs |
| 1068 | 1942 | |
| 1069 | | Added new makefile flag VERBOSE which enables gcc's verbose output |
| 1070 | | during compile. [Marc Sandusky] |
| 1071 | 1943 | |
| 1072 | | Corrected clocks on Rygar. [Corrado Tomaselli] |
| 1944 | New games added or promoted from NOT_WORKING status |
| 1945 | --------------------------------------------------- |
| 1946 | 1991 Spikes (Italian bootleg) [robiza] |
| 1073 | 1947 | |
| 1074 | | Changed "Machine" to "machine" in a number of places when the |
| 1075 | | running machine parameter is already available. In some cases this |
| 1076 | | also allowed for the removal of deprecat.h. [Oliver Stoenberg] |
| 1077 | 1948 | |
| 1078 | | Did some major cleanup and gutting of pcshare.c. [Wilbert Pol] |
| 1079 | 1949 | |
| 1080 | | Created a built-in overlay for Armor Attack using just rectangles. |
| 1081 | | [Mr. Do!] |
| 1950 | New clones added |
| 1951 | ---------------- |
| 1952 | Last Fortress - Toride (Korea) [The Guru] |
| 1953 | Miss Puzzle (Clone of Gumbo) [The Guru] |
| 1954 | Gals Panic SU (Korea) [The Guru] |
| 1082 | 1955 | |
| 1083 | | Added dynamic control of RX and TX pins to 6850 ACIA emulation - this |
| 1084 | | is needed for correct operation of the MPU4 Video communications |
| 1085 | | system, and may be handy for some MESS systems. To use, set the rx |
| 1086 | | and tx clocks to 0 in the acia interface, then use acia_tx_clock_in() |
| 1087 | | and acia_rx_clock_in() respectively. [James Wallace] |
| 1088 | 1956 | |
| 1089 | | Added proper implentation of hardware collision in mermaid. This |
| 1090 | | fixes mermaid (when the player is in the water with the sharks) and |
| 1091 | | rougien. Also fixed priorities in mermaid and rougien and a sprite |
| 1092 | | wrapping bug. [Robiza] |
| 1093 | 1957 | |
| 1094 | | Fixed CPS1 background color. This fixes 3 wonder (game start) and |
| 1095 | | mtwins (explosion during attract). It seems to break Varth, however, |
| 1096 | | and has dubious effects on the boot sscreens of avsp, sfa3 and |
| 1097 | | possibly other CPS2 games. [Nicola Salmoria] |
| 1958 | New games marked as GAME_NOT_WORKING |
| 1959 | ------------------------------------ |
| 1960 | Beauty Block [David Haywood] |
| 1098 | 1961 | |
| 1099 | | Added discrete filtering and mixing to ironhors. One driver less |
| 1100 | | using FILTER_RC. [couriersud] |
| 1101 | 1962 | |
| 1102 | | Fixes for aerfboot (bootleg of aerofgt): [Robiza] |
| 1103 | | - fixes spriteram3 (previous value was too high and in the "city" |
| 1104 | | level some build disappear |
| 1105 | | - sprite gfx bank (previously some sprite appear right and some |
| 1106 | | sprite was wrong) |
| 1107 | | - fixed perfectly the sprite zoom |
| 1108 | | - removed multisprite support; in the bootleg aren't present |
| 1109 | 1963 | |
| 1110 | | Converted the pit8253 implementation into a device. To make it |
| 1111 | | easier to use I've also created a src/emu/devconv.h in the same style |
| 1112 | | as src/emu/memconv.h. [Wilbert Pol] |
| 1964 | 0.125u1 |
| 1965 | ------- |
| 1113 | 1966 | |
| 1114 | | Replaced anonymous timer in tx1 with an allocated one to make state |
| 1115 | | saving closer to reality. [Hugh Allen] |
| 1116 | 1967 | |
| 1117 | | Changed winwork.c from using hand-built scalable locks to using |
| 1118 | | standard Windows CriticalSections for now, to hopefully address |
| 1968 | MAMETesters Bugs Fixed |
| 1969 | ---------------------- |
| 1970 | 01795: [Misc.] tm, tm3k, tm4k, tm5k, tm7k: Day on clock doesn't work |
| 1971 | (Luigi30) |
| 1972 | 01717: [DIP/Input] arcadecl, sparkz: Service Key mapped twice. |
| 1973 | (stephh) |
| 1974 | 01713: [DIP/Input] spaceg: All joystick/buttons mapped twice. Button 1 |
| 1975 | is mapped 3 times! (stephh) |
| 1976 | 01791: [DIP/Input] asterock: Unable to credit up or play the game. |
| 1977 | Also, there are discrete sound issues. (Fabio Priuli) |
| 1978 | 01790: [DIP/Input] zerowng2: Last "Unused" dipswitch is for territory. |
| 1979 | (Roberto Fresca) |
| 1980 | 01738: [Misc.] neruton: Typo in title (Roberto Fresca) |
| 1981 | 01787: [DIP/Input] columnsu: 1st unknown dip switch indentified |
| 1982 | (Roberto Fresca) |
| 1119 | 1983 | |
| 1120 | 1984 | |
| 1121 | 1985 | |
| 1986 | Source Changes |
| 1987 | -------------- |
| 1988 | Improved cbombers sprites [Philip Bennett] |
| 1989 | |
| 1990 | Renamed ports and used AM_READ_PORT macros in arcadecl. [stephh] |
| 1991 | |
| 1992 | Add feature to the cia6526: in READ operation the value can be forced |
| 1993 | by a external circuit; this feature is necessary for MESS. [robiza] |
| 1994 | |
| 1995 | undrfire.c improvements: [Philip Bennett] |
| 1996 | * Hooked up cbombers steering wheel input. |
| 1997 | * Changed ES5505 clock rate to 30476100/2. |
| 1998 | * Unified cbombers memory maps and tidied up some code. |
| 1999 | * Removed the undrfire speedup hack. |
| 2000 | |
| 2001 | Marked the sound roms on Q*Bert's Qubes as bad and changed the flag to |
| 2002 | imperfect sound. The current sound cpu roms are the same as on a |
| 2003 | normal Q*Bert board, which is incorrect. At least three sound effects |
| 2004 | are present in the real qq-snd roms but not the Q*Bert qb-snd ones. |
| 2005 | [Lord Nightmare] |
| 2006 | |
| 2007 | Fixed the ROZ effect in Namco NA1 driver. ROZ tilemap is actually an |
| 2008 | additional tilemap. Fixes a bug where a "roz enable" test was causing |
| 2009 | a normal layer to be rendered with ROZ effects in-game. There is no |
| 2010 | roz enable register - it's always available for mixing with other |
| 2011 | tilemaps and sprites. This also adds a missing NAMCO logo zoom/spin |
| 2012 | effect in Emeralda's attract mode. [Phil Stroffolino] |
| 2013 | |
| 2014 | Added memory address parameter to CDP1802 DMA callbacks, and added a |
| 2015 | macro for the CPU interface. [Curt Coder] |
| 2016 | |
| 2017 | Rewrote the Gaelco video ram encryption, which finally makes sense. |
| 2018 | The key observation was that when decrypting the second word, both |
| 2019 | encrypted and decrypted bits of the first word are used. Many thanks |
| 2020 | to Javier Valero for the detailed information that made this possible. |
| 2021 | [Nicola Salmoria] |
| 2022 | |
| 2023 | Fixed coin inputs, added validator input, and added notes on inputs to |
| 2024 | the tmaster driver. [Luigi30] |
| 2025 | |
| 2026 | Merged memory maps for drivers: tagteam, tail2nos, tankbatt, tankbust, |
| 2027 | taotaido, targeth, and taxidrvr. [Andrew Gardner] |
| 2028 | |
| 2029 | New driver for old Game-A-Tron gambling games hardware. |
| 2030 | [Roberto Fresca] |
| 2031 | - Properly decoded graphics. |
| 2032 | - Proper memory map. |
| 2033 | - Added NVRAM support. |
| 2034 | - Proper Inputs through 8255 PPI I/O chip. |
| 2035 | - Both games are working. |
| 2036 | - Added technical & game notes. |
| 2037 | |
| 2038 | New universal dynamic recompiler system: [Aaron Giles] |
| 2039 | |
| 2040 | The central module is drcuml.c, which defines a universal |
| 2041 | machine language syntax that can be generated by a frontend |
| 2042 | recompiler and then retargeted via a generic backend |
| 2043 | interface to any of a number of different architectures. A |
| 2044 | disassembler for the UML is also included to allow |
| 2045 | examination of the generated UML code. |
| 2046 | |
| 2047 | Currently supported backend architectures include 32-bit x86, |
| 2048 | 64-bit x86, and a platform-neutral interpreted C backend that |
| 2049 | can be used as a fallback for platforms without native |
| 2050 | support. The C backend also performs additional validation |
| 2051 | to ensure assumptions are met. |
| 2052 | |
| 2053 | Along with the new architecture is a new MIPS III/IV |
| 2054 | recompiler frontend. This frontend has been rewritten from |
| 2055 | the old x64-specific recompiler to generate UML opcodes |
| 2056 | instead. This means that the single recompiler can be used |
| 2057 | to target multiple backend architectures and should in |
| 2058 | theory produce identical results across all of them. |
| 2059 | |
| 2060 | The old 32-bit and 64-bit MIPS recompilers are now officially |
| 2061 | retired. The new system provides similar performance (within |
| 2062 | 5% generally) to the old system and has similar compatibility. |
| 2063 | The only currently known issues are some problems with the |
| 2064 | two Gauntlet 3D games. |
| 2065 | |
| 2066 | Added DS5002FP CPU core. [Manuel Abadia] |
| 2067 | |
| 2068 | Added CDP1852 I/O buffer chip, and used it in Altair/Draco. |
| 2069 | [Curt Coder] |
| 2070 | |
| 2071 | Found the proper algorithm to decrypt the blue TAB PCB in the funworld |
| 2072 | driver. Replaced the old decryption tables with the proper decryption |
| 2073 | scheme. Updated technical notes. [Roberto Fresca] |
| 2074 | |
| 2075 | Added uncompressed AVI recording: [Aaron Giles] |
| 2076 | |
| 2077 | Extended aviio to be able to write RGB bitmaps. Unfortunately, |
| 2078 | the only option is fully uncompressed, which means the resulting |
| 2079 | AVIs are *HUGE* and may not play correctly in realtime due to |
| 2080 | high data rate. The intention is that these uncompressed AVIs |
| 2081 | are post-processed by other utilities to compress the video and |
| 2082 | produce a realtime playable result. |
| 2083 | |
| 2084 | Added new command-line option -aviwrite which works just like |
| 2085 | -mngwrite, except it produces AVIs and streams sound to them. |
| 2086 | Updated documentation accordingly. |
| 2087 | |
| 2088 | Shift+F12 still produces MNGs for now, though this might change |
| 2089 | in the future. |
| 2090 | |
| 2091 | Modified fileio.c to retain the full pathname to the file so |
| 2092 | that it can be queried while the file is open. |
| 2093 | |
| 2094 | Updated TMS5200/5220 documentation and comments. Fixed the chirp table |
| 2095 | implementation in both the 51xx and 52xx chips. [Lord Nightmare] |
| 2096 | |
| 2097 | Fixed default dipswitches on thoop to give more than 1 life. |
| 2098 | [David Haywood] |
| 2099 | |
| 2100 | Bug fixes for NamcoNA Hardware: [Phil Stroffolino] |
| 2101 | - support for scanline effect (fixes invisible dolphin in Emeralda |
| 2102 | attract mode) |
| 2103 | - ROZ implementation no longer breaks Numan Athletics pixmap layer |
| 2104 | - blitter fixes; xday graphics are now correct |
| 2105 | - identified extra communications RAM used by xday (probably to |
| 2106 | control printer) |
| 2107 | |
| 2108 | Fixed crash in dynax games due to missing MSM6242 device. [Dirk Best] |
| 2109 | |
| 2110 | Changed Black tiger main Z80 clock to 6MHz and sound Z80 clock to |
| 2111 | 3.579545MHz as verified on PCB. [Corrado Tomaselli] |
| 2112 | |
| 2113 | Consolidated opbase variables into a structure and rescoped them so |
| 2114 | they are hidden for general access. [Atari Ace] |
| 2115 | |
| 2116 | |
| 2117 | |
| 1122 | 2118 | New games added or promoted from NOT_WORKING status |
| 1123 | 2119 | --------------------------------------------------- |
| 1124 | | Multi Game III [Mariusz Wojcieszek] |
| 2120 | Pit Boss Superstar [Hugh McLenaghan] |
| 2121 | Chase Bombers [Phil Bennett] |
| 2122 | Card Games? [Roberto Fresca] |
| 2123 | Slots Game? [Roberto Fresca] |
| 2124 | World Rally [Manuel Abadia, GAELCO SA] |
| 2125 | beatmania 7th MIX (ver JA-B) [Chizzy] |
| 1125 | 2126 | |
| 1126 | 2127 | |
| 1127 | 2128 | |
| 1128 | 2129 | New clones added |
| 1129 | 2130 | ---------------- |
| 1130 | | Off Road Challenge (2 sets) [Guru] |
| 1131 | | Deer Hunting USA V2 [Brian Troha] |
| 1132 | | Super Bishi Bashi Champ (Korea) [Guru] |
| 2131 | The Legend of Kage [Stefan Lindberg] |
| 2132 | Megatouch III (9255-20-06 RON) [Brian Troha] |
| 2133 | Ghox (set 2) [Tormod Tjaberg] |
| 2134 | Demon's World / Horror Story (early edition) [Brian Troha] |
| 2135 | Legendary Wings (bootleg) [Sonikos] |
| 1133 | 2136 | |
| 1134 | 2137 | |
| 1135 | 2138 | |
| 1136 | 2139 | New games marked as GAME_NOT_WORKING |
| 1137 | 2140 | ------------------------------------ |
| 1138 | | Give us a Break [Philip Bennett] |
| 1139 | | Ten Up [Philip Bennett] |
| 1140 | | Beeline [Philip Bennett] |
| 1141 | | Chase Bombers [Bryan McPhail] |
| 2141 | beatmania THE FINAL (ver JA-A) [Chizzy] |
| 2142 | |