Previous 199869 Revisions Next

r20559 Sunday 27th January, 2013 at 22:32:33 UTC by Angelo Salese
Made minit/sinit to force resync instead of boost interleave, fixes Densetsu no Ogre Battle booting
[src/mame/drivers]saturn.c
[src/mame/video]stvvdp1.c stvvdp2.c

trunk/src/mame/drivers/saturn.c
r20558r20559
621621WRITE32_MEMBER(saturn_state::minit_w)
622622{
623623   //logerror("cpu %s (PC=%08X) MINIT write = %08x\n", space.device().tag(), space.device().safe_pc(),data);
624   machine().scheduler().boost_interleave(m_minit_boost_timeslice, attotime::from_usec(m_minit_boost));
625   machine().scheduler().trigger(1000);
624//   machine().scheduler().boost_interleave(m_minit_boost_timeslice, attotime::from_usec(m_minit_boost));
625//   machine().scheduler().trigger(1000);
626   machine().scheduler().synchronize(); // force resync
626627   sh2_set_frt_input(m_slave, PULSE_LINE);
627628}
628629
629630WRITE32_MEMBER(saturn_state::sinit_w)
630631{
631632   //logerror("cpu %s (PC=%08X) SINIT write = %08x\n", space.device().tag(), space.device().safe_pc(),data);
632   machine().scheduler().boost_interleave(m_sinit_boost_timeslice, attotime::from_usec(m_sinit_boost));
633//   machine().scheduler().boost_interleave(m_sinit_boost_timeslice, attotime::from_usec(m_sinit_boost));
634   machine().scheduler().synchronize(); // force resync
633635   sh2_set_frt_input(m_maincpu, PULSE_LINE);
634636}
635637
trunk/src/mame/video/stvvdp1.c
r20558r20559
19661966               break;
19671967
19681968            case 0x0002:
1969            case 0x0003:
1969            case 0x0003: // used by Hardcore 4x4
19701970               if (VDP1_LOG) logerror ("Sprite List Distorted Sprite\n");
19711971               if (VDP1_LOG) logerror ("(A: %d %d)\n",stv2_current_sprite.CMDXA,stv2_current_sprite.CMDYA);
19721972               if (VDP1_LOG) logerror ("(B: %d %d)\n",stv2_current_sprite.CMDXB,stv2_current_sprite.CMDYB);
trunk/src/mame/video/stvvdp2.c
r20558r20559
42084208
42094209      /* Albert Odyssey Gaiden 0x0001 */
42104210      /* Asuka 120% (doesn't make sense?) 0x0101 */
4211      if(STV_VDP2_ZMCTL & 0x0202)
4211      /* Slam n Jam 96 0x0003 */
4212      if(STV_VDP2_ZMCTL & 0x0200)
42124213         popmessage("Reduction enable %04x, contact MAMEdev",STV_VDP2_ZMCTL);
42134214
42144215      /* Burning Rangers and friends FMV, J.League Pro Soccer Club Wo Tsukurou!! backgrounds */

Previous 199869 Revisions Next


© 1997-2024 The MAME Team