From 849f60711dca5822ead9e6e0545e0c6b2e01b2e1 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Sun, 27 Jan 2013 22:32:33 +0000 Subject: [PATCH] Made minit/sinit to force resync instead of boost interleave, fixes Densetsu no Ogre Battle booting --- src/mame/drivers/saturn.c | 8 +++++--- src/mame/video/stvvdp1.c | 2 +- src/mame/video/stvvdp2.c | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/mame/drivers/saturn.c b/src/mame/drivers/saturn.c index c6ba0a4e23d..6e644515a4f 100644 --- a/src/mame/drivers/saturn.c +++ b/src/mame/drivers/saturn.c @@ -621,15 +621,17 @@ READ16_MEMBER(saturn_state::saturn_soundram_r) WRITE32_MEMBER(saturn_state::minit_w) { //logerror("cpu %s (PC=%08X) MINIT write = %08x\n", space.device().tag(), space.device().safe_pc(),data); - machine().scheduler().boost_interleave(m_minit_boost_timeslice, attotime::from_usec(m_minit_boost)); - machine().scheduler().trigger(1000); +// machine().scheduler().boost_interleave(m_minit_boost_timeslice, attotime::from_usec(m_minit_boost)); +// machine().scheduler().trigger(1000); + machine().scheduler().synchronize(); // force resync sh2_set_frt_input(m_slave, PULSE_LINE); } WRITE32_MEMBER(saturn_state::sinit_w) { //logerror("cpu %s (PC=%08X) SINIT write = %08x\n", space.device().tag(), space.device().safe_pc(),data); - machine().scheduler().boost_interleave(m_sinit_boost_timeslice, attotime::from_usec(m_sinit_boost)); +// machine().scheduler().boost_interleave(m_sinit_boost_timeslice, attotime::from_usec(m_sinit_boost)); + machine().scheduler().synchronize(); // force resync sh2_set_frt_input(m_maincpu, PULSE_LINE); } diff --git a/src/mame/video/stvvdp1.c b/src/mame/video/stvvdp1.c index f471f029c0f..ad6c3d6c644 100644 --- a/src/mame/video/stvvdp1.c +++ b/src/mame/video/stvvdp1.c @@ -1966,7 +1966,7 @@ static void stv_vdp1_process_list(running_machine &machine) break; case 0x0002: - case 0x0003: + case 0x0003: // used by Hardcore 4x4 if (VDP1_LOG) logerror ("Sprite List Distorted Sprite\n"); if (VDP1_LOG) logerror ("(A: %d %d)\n",stv2_current_sprite.CMDXA,stv2_current_sprite.CMDYA); if (VDP1_LOG) logerror ("(B: %d %d)\n",stv2_current_sprite.CMDXB,stv2_current_sprite.CMDYB); diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index 7a8c32b8a37..8a44468f254 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -4208,7 +4208,8 @@ static void stv_vdp2_check_tilemap(running_machine &machine, bitmap_rgb32 &bitma /* Albert Odyssey Gaiden 0x0001 */ /* Asuka 120% (doesn't make sense?) 0x0101 */ - if(STV_VDP2_ZMCTL & 0x0202) + /* Slam n Jam 96 0x0003 */ + if(STV_VDP2_ZMCTL & 0x0200) popmessage("Reduction enable %04x, contact MAMEdev",STV_VDP2_ZMCTL); /* Burning Rangers and friends FMV, J.League Pro Soccer Club Wo Tsukurou!! backgrounds */