Previous 199869 Revisions Next

r19017 Sunday 18th November, 2012 at 15:15:04 UTC by R. Belmont
firebeat: temporary hack to switch display lists correctly for the ParaParaParadise games (nw)
[src/mame/drivers]firebeat.c

trunk/src/mame/drivers/firebeat.c
r19016r19017
126126       at any point during the frame. It's mainly used to call display lists, which is where
127127       the display list addresses come from. Some games use it to send other commands, so
128128      it appears to be a 4-dword FIFO or something along those lines.
129*/
129*/
130130
131131#include "emu.h"
132132#include "cpu/m68000/m68000.h"
r19016r19017
729729         break;
730730      }
731731
732      case 0x40:      /* ??? */
732      case 0x40:      /* framebuffer config */
733         // HACK: switch display lists at the right times for the ParaParaParadise games until we
734         // do the video emulation properly
735         if (mame_strnicmp(machine.system().name, "pp", 2) == 0)
736         {
737            switch (data)
738            {
739               case 0x00080000:   // post
740                  state->m_layer = 0;
741                  break;
742
743               case 0x00008400:   // startup tests
744                  if (state->m_layer != 2)
745                  {
746                     state->m_layer = 1;
747                  }
748                  break;
749
750               case 0x00068400:   // game & svc menu
751                  state->m_layer = 2;
752                  break;
753            }
754         }
733755         break;
734756
735757      //case 0x44:    /* ??? */
r19016r19017
20142036      sound[i] = m_flash[1]->read(i);
20152037      sound[i+0x200000] = m_flash[2]->read(i);
20162038   }
2039
2040   m_layer = 0;
20172041}
20182042
20192043const rtc65271_interface firebeat_rtc =

Previous 199869 Revisions Next


© 1997-2024 The MAME Team