![]() |
![]() |
![]() |
![]() |
![]() |
Make 'Ys I & II Eternal Story' playable.
Posted on 2006-02-14 00:00:00 |
Completed the class wrappers for the partial DMAC rewrite I started yesterday. This oddly seems to have created another instability while playing the first movie, which was caused by a lack of available data to be transfered. I tweaked a bit the "risky" condition of executing a BDEC command to check the amount of quadwords remaining to transfer. This fixed the problem.
I implemented the "ExitThread" system call and added some code that calls this system call in the BIOS area which is called when a thread procedure returns. This fixes the crashing problem when the first movie was done playing and when the decoder thread needed to terminate itself. But it didn't fix the random crashes in the intro movie. I'll try leaving the movie running in a debug build this night to see if I can trap the crash and hopefully fix it tomorrow. |