Media Engine ^ 2 [solved]

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
siberianstar
Posts: 70
Joined: Thu Jun 22, 2006 9:24 pm

Media Engine ^ 2 [solved]

Post by siberianstar »

Hello,

I'm using the Media Engine as an addictional CPU and i get it working writing a simple threading routine. Now some of my code is performed by the ME and is communicating with the allegrex with some uncached variables.

Ok then my question is, how is clocked the Media Engine by default? It seems that is slower than the main cpu. How can i overclock the media engine?

Thanks

EDIT: I would like to know also how to flush the media engine cache. Thanks
Last edited by siberianstar on Mon Jul 31, 2006 10:26 am, edited 1 time in total.
edepot
Posts: 111
Joined: Sat Apr 09, 2005 3:39 pm

your question

Post by edepot »

Can you post your code sample? The smallest (compile-able and run-able) sample that shows how you initiate the other cpu and tell it what functions are to be run. If it is like threads, show how they synch up and pass TLS (or maybe they share main memory?)
siberianstar
Posts: 70
Joined: Thu Jun 22, 2006 9:24 pm

Post by siberianstar »

Yes they just share the main memory. It's difficult because the code is integrated into my 3d engine.

But can anyone reply to my first questions ?
Thanks a lot
jonny
Posts: 351
Joined: Thu Sep 22, 2005 5:46 pm
Contact:

Post by jonny »

http://jonny.leffe.dnsalias.com/pmp_mod ... source.rar

search for me.c (there is an equivalent of sceKernelDcacheWritebackInvalidateAll - only be sure to call it with the me ;)

this thread is also intersting: http://forums.ps2dev.org/viewtopic.php?t=2652

and, the me is clocked like the main cpu

EDIT: ops, sorry, i've not paid attention on the tag "solved" :)
Post Reply