devmiyax / yabause

Yabause is a Sega Saturn emulator and took over as Yaba Sanshiro
http://www.uoyabause.org
GNU General Public License v2.0
211 stars 35 forks source link

FALCOM CLASSICS2 #187

Closed devmiyax closed 8 years ago

devmiyax commented 8 years ago

version:0.2.3 device:502SH cpu_type:2 video_type:1 ???????????? screenshot

devmiyax commented 8 years ago

Infinity Loop of CD command

yabause\src\cs2.c:1068): cs2    : Command: setCDDeviceConnection 0f96 3000 0000 0000 0000

yabause\src\cs2.c:1056): cs2    : Command: playDisc 0fd6 1082 a1b0 0080 000b

yabause\src\cs2.c:879): partition number = 0 blocks = 65 blockfreespace = 135 fad = 2a1b1 playpartition->size = 20800 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 66 blockfreespace = 134 fad = 2a1b2 playpartition->size = 21000 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 67 blockfreespace = 133 fad = 2a1b3 playpartition->size = 21800 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 68 blockfreespace = 132 fad = 2a1b4 playpartition->size = 22000 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 69 blockfreespace = 131 fad = 2a1b5 playpartition->size = 22800 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 70 blockfreespace = 130 fad = 2a1b6 playpartition->size = 23000 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 71 blockfreespace = 129 fad = 2a1b7 playpartition->size = 23800 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 72 blockfreespace = 128 fad = 2a1b8 playpartition->size = 24000 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 73 blockfreespace = 127 fad = 2a1b9 playpartition->size = 24800 isbufferfull = 0

yabause\src\cs2.c:1146): cs2    : Command: getThenDeleteSectorData 0f56 6300 0000 0000 0001

yabause\src\cs2.c:1148): cs2    : ret: 0f57 0300 4101 0102 a1b9

yabause\src\cs2.c:1051): cs2    : Command: endDataTransfer 0f54 0600 0000 0000 0000

yabause\src\cs2.c:1053): cs2    : ret: 0fd5 0300 0400 0000 0000

yabause\src\cs2.c:879): partition number = 0 blocks = 73 blockfreespace = 127 fad = 2a1ba playpartition->size = 24800 isbufferfull = 0

yabause\src\cs2.c:879): partition number = 0 blocks = 74 blockfreespace = 126 fad = 2a1bb playpartition->size = 25000 isbufferfull = 0

yabause\src\cs2.c:895): PLAY HAS ENDED

yabause\src\cs2.c:1146): cs2    : Command: getThenDeleteSectorData 0f56 6300 0000 0000 0001

yabause\src\cs2.c:1148): cs2    : ret: 0f57 0100 4101 0102 a1bb

yabause\src\cs2.c:1051): cs2    : Command: endDataTransfer 0f54 0600 0000 0000 0000

yabause\src\cs2.c:1053): cs2    : ret: 0fd5 0100 0400 0000 0000

yabause\src\cs2.c:1146): cs2    : Command: getThenDeleteSectorData 0f56 6300 0000 0000 0001

yabause\src\cs2.c:1148): cs2    : ret: 0f57 0100 4101 0102 a1bb

yabause\src\cs2.c:1051): cs2    : Command: endDataTransfer 0f54 0600 0000 0000 0000

yabause\src\cs2.c:1053): cs2    : ret: 0fd5 0100 0400 0000 0000

yabause\src\cs2.c:1146): cs2    : Command: getThenDeleteSectorData 0f56 6300 0000 0000 0001

yabause\src\cs2.c:1148): cs2    : ret: 0f57 0100 4101 0102 a1bb

yabause\src\cs2.c:1051): cs2    : Command: endDataTransfer 0f54 0600 0000 0000 0000

yabause\src\cs2.c:1053): cs2    : ret: 0fd5 0100 0400 0000 0000

yabause\src\cs2.c:1146): cs2    : Command: getThenDeleteSectorData 0f56 6300 0000 0000 0001

yabause\src\cs2.c:1148): cs2    : ret: 0f57 0100 4101 0102 a1bb

yabause\src\cs2.c:1051): cs2    : Command: endDataTransfer 0f54 0600 0000 0000 0000

yabause\src\cs2.c:1053): cs2    : ret: 0fd5 0100 0400 0000 0000

yabause\src\cs2.c:1146): cs2    : Command: getThenDeleteSectorData 0f56 6300 0000 0000 0001

yabause\src\cs2.c:1148): cs2    : ret: 0f57 0100 4101 0102 a1bb

yabause\src\cs2.c:1051): cs2    : Command: endDataTransfer 0f54 0600 0000 0000 0000

yabause\src\cs2.c:1053): cs2    : ret: 0fd5 0100 0400 0000 0000

yabause\src\cs2.c:1146): cs2    : Command: getThenDeleteSectorData 0f56 6300 0000 0000 0001

yabause\src\cs2.c:1148): cs2    : ret: 0f57 0100 4101 0102 a1bb

yabause\src\cs2.c:1051): cs2    : Command: endDataTransfer 0f54 0600 0000 0000 0000

yabause\src\cs2.c:1053): cs2    : ret: 0fd5 0100 0400 0000 0000
devmiyax commented 8 years ago

MSLC(W) ; MonitorSLot Call ???

devmiyax commented 8 years ago

Sound seems not cause of problem. The problem is start button is not respond.

devmiyax commented 8 years ago

after push Start button operations

Read INTBACK data at PC 0x06011628 copy to @0x06007F32 read PC 0x0600F0BA copy 0xF7FF to @0x06008134 copy 0xF7FF to @0x06008132 read 06008132 at PC0x00284658 copy 0800 to @0021F3F8 read 0021F3F8 at PC00285144 copy 0800 to @0021F3FC read 0021F3FC at PC 0x002851A6 copy 0x0800 to 0021F3E4 copy 0x0800 to 0021F3F0 read at 0x002851B4

devmiyax commented 8 years ago

fixed by de9cb8ed9670e4f977393eb8244f5c632508c615

devmiyax commented 8 years ago

image image