[Scummvm-devel] Issues with kyrandia engine

Max Horn max at quendi.de
Mon Jun 7 20:14:49 CEST 2010


Am 07.06.2010 um 20:07 schrieb Max Horn:
> 
[...]

> 
> Barring this, here are some suggestions on how the code might roughly look like. This is based on a file "pspthreadman.h", revision 2433, from the PSP SDK; if this is wrong file to look at, I'll be happy to give alternate descriptions based on other API references :).

I forgot to state what Yotam already pointed out in his previous email: Of course for the below to work, one also has to introduce a mutex which is held in the "actual screen update" code, and also by copyRectToScreen etc.

I have no idea how expensive semaphore operations are on the PSP, but the MIPS processor in it, as far as I know, support atomic memory operations, which should in theory make for a quite effective semaphore implementation. Of course I have no idea whether that is actually how they implement it ... :)

Bye,
Max



More information about the Scummvm-devel mailing list