Previous 199869 Revisions Next

r21108 Saturday 16th February, 2013 at 00:27:23 UTC by Angelo Salese
Actually ECPY isn't needed
[src/emu/machine]stvcd.c
[src/mame/drivers]saturn.c

trunk/src/emu/machine/stvcd.c
r21107r21108
10371037         break;
10381038
10391039      case 0x64:    // put sector data
1040         /* TODO: After Burner 2, Out Run, Fantasy Zone and Dungeon Master Nexus trips this */
1040         /* After Burner 2, Out Run, Fantasy Zone and Dungeon Master Nexus trips this */
10411041         {
10421042            UINT32 sectnum = cr4 & 0xff;
10431043            UINT32 sectofs = cr2;
r21107r21108
10491049
10501050            cd_getsectoroffsetnum(bufnum, &sectofs, &sectnum);
10511051
1052
10531052            cd_stat |= CD_STAT_TRANS;
10541053
10551054            xferoffs = 0;
r21107r21108
10681067            }
10691068         }
10701069
1071         hirqreg |= (CMOK|ECPY|DRDY); // TODO: is ECPY ok?
1070         hirqreg |= (CMOK|DRDY);
10721071         cr_standard_return(cd_stat);
10731072         break;
10741073
r21107r21108
10821081         {
10831082            //UINT8 src_filter = (cr3>>8)&0xff;
10841083            //UINT8 dst_filter = cr4;
1084            cd_stat |= CD_STAT_TRANS;
1085            //debugger_break(machine());
10851086         }
10861087
1087         hirqreg |= (CMOK|ECPY);
1088         hirqreg |= (CMOK|ECPY|DRDY);
10881089         cr_standard_return(cd_stat);
10891090         break;
10901091
trunk/src/mame/drivers/saturn.c
r21107r21108
13881388{
13891389   saturn_state *state = device->machine().driver_data<saturn_state>();
13901390   device->machine().scheduler().timer_set(attotime::from_usec(100), timer_expired_delegate(FUNC(saturn_state::smpc_audio_reset_line_pulse), state));
1391
13911392   printf("m68k RESET opcode triggered\n");
13921393}
13931394

Previous 199869 Revisions Next


© 1997-2024 The MAME Team