Make 'Iris no Atelier: Eternal Mana' work.
Posted on 2006-05-23 00:00:00
There was a bug in DSRL so I rewrote the instruction implementation and also did the same for DSRL32.

Finally, I think I found the answer... I was suspecting that the FPU rounding mode was to blame for quite a long time, but I had no idea was what the initialized mode... I did some research and it seems that the default rounding mode is the "truncate" mode and not the "nearest" mode. I added a quick hack in the CVT.W.S instruction so that this mode is forced and it seems to fix the problems with the collision detection and the NPCs movement... It also seems to fix the wierd bugs I had in Ys 1 & 2 I couldn't fix too (but I can't confirm yet). At last...

I'm going to remove the hack tomorrow and put something more appropriate in there, and then I'll be able to go further in the game.