trunk/src/mame/drivers/firebeat.c
| r19016 | r19017 | |
| 126 | 126 | at any point during the frame. It's mainly used to call display lists, which is where |
| 127 | 127 | the display list addresses come from. Some games use it to send other commands, so |
| 128 | 128 | it appears to be a 4-dword FIFO or something along those lines. |
| 129 | | */ |
| 129 | */ |
| 130 | 130 | |
| 131 | 131 | #include "emu.h" |
| 132 | 132 | #include "cpu/m68000/m68000.h" |
| r19016 | r19017 | |
| 729 | 729 | break; |
| 730 | 730 | } |
| 731 | 731 | |
| 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 | } |
| 733 | 755 | break; |
| 734 | 756 | |
| 735 | 757 | //case 0x44: /* ??? */ |
| r19016 | r19017 | |
| 2014 | 2036 | sound[i] = m_flash[1]->read(i); |
| 2015 | 2037 | sound[i+0x200000] = m_flash[2]->read(i); |
| 2016 | 2038 | } |
| 2039 | |
| 2040 | m_layer = 0; |
| 2017 | 2041 | } |
| 2018 | 2042 | |
| 2019 | 2043 | const rtc65271_interface firebeat_rtc = |