![]() |
![]() |
![]() |
![]() |
![]() |
Make 'Ys I & II Eternal Story' able to boot.
Posted on 2005-12-09 00:00:00 |
I've cleaned up the custom system call stuff and added a little bootstrap for custom ones. This required the implementation of the ERET instruction.
I've also added the "GetMemorySize" system call. If we let the thing run right now, it hangs up at binding an IOP module. The problem isn't really with the SIF protocol, or the functions used because they are exactly the same as the ones the demos were using. The problem is that the DMA interrupt is masked for some reason and the SIF response packet cannot be received normally. I haven't thought about the threads yet, but only one thread is being created, and it doesn't seem to do much, so I dunno if it's worthwhile to go and implement them for the moment. Tomorrow, I'll try to find out why the DMA interrupt is being masked. |