trunk/src/mess/machine/pce.c
| r20116 | r20117 | |
| 6 | 6 | - Dragon Ball Z: ADPCM dies after the first upload; |
| 7 | 7 | - Dragon Slayer - The Legend of Heroes: black screen; |
| 8 | 8 | - Mirai Shonen Conan: dies at new game selection; |
| 9 | | - Prince of Persia: black screen; |
| 10 | | Sequence in read_6 command is: |
| 11 | | 00000bc1 00000002 |
| 12 | | 00000bc3 00000010 |
| 13 | | 00000cf4 00000020 |
| 14 | | 00001444 00000001 |
| 15 | | ... |
| 16 | | Ootake does: |
| 17 | | 00000ca2 00000002 |
| 18 | | 00000ca4 00000010 |
| 19 | | 00000cf4 00000020 |
| 20 | | 00001444 00000001 |
| 21 | | First two values are taken from get dir info command, that's why |
| 22 | | they don't match with our emulation. Program data from 0x1444 |
| 23 | | is written to work RAM 0x104800 (so, wpset 0x104800,1,w or bp 4800 shows |
| 24 | | what's the data executed) |
| 25 | | |
| 26 | | - Snatcher: black screen after Konami logo; |
| 9 | - Snatcher: black screen after Konami logo, tries set up CD-DA |
| 10 | while transferring data? |
| 27 | 11 | - Steam Heart's: needs transfer ready irq to get past the |
| 28 | | gameplay hang, don't know exactly where to |
| 29 | | put it; |
| 12 | gameplay hang, don't know exactly when it should fire |
| 30 | 13 | - Steam Heart's: bad ADPCM irq, dialogue is cutted due of it; |
| 31 | 14 | |
| 32 | 15 | ============================================================= |
| r20116 | r20117 | |
| 523 | 506 | { |
| 524 | 507 | pce_state *state = machine.driver_data<pce_state>(); |
| 525 | 508 | pce_cd_t &pce_cd = state->m_cd; |
| 526 | | UINT32 frame = ( ( pce_cd.command_buffer[1] ) << 16 ) | ( pce_cd.command_buffer[2] << 8 ) | pce_cd.command_buffer[3]; |
| 509 | UINT32 frame = ( ( pce_cd.command_buffer[1] & 0x1f ) << 16 ) | ( pce_cd.command_buffer[2] << 8 ) | pce_cd.command_buffer[3]; |
| 527 | 510 | UINT32 frame_count = pce_cd.command_buffer[4]; |
| 528 | 511 | printf("%08x %08x\n",frame,frame_count); |
| 529 | 512 | |