| View previous topic :: View next topic |
| Author |
Message |
gauri
Joined: 20 Jan 2008 Posts: 35 Location: Belarus
|
Posted: Sun Mar 23, 2008 6:18 pm Post subject: DMA transfers controlled from userland |
|
|
Is it possible to do a DMA transfer from user code? It seems that DMA module is accessible only from kernel-land.
I need that for moving textures and V&I-buffers to VRAM. Please, do not suggest GU fransfers since they are a bit inconvenient for me. _________________ Freelance game industry veteran. 8] |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Sun Mar 23, 2008 8:18 pm Post subject: |
|
|
| Well, sceDmacMemcpy and sceDmacTryMemcpy are the only functions provided to user mode. I would expect them to have the same parameters than a normal memcpy. |
|
| Back to top |
|
 |
gauri
Joined: 20 Jan 2008 Posts: 35 Location: Belarus
|
Posted: Sun Mar 23, 2008 10:15 pm Post subject: |
|
|
And we get no chance to see if our transfer request has been fulfilled...
Can you point where sceDmacMemcpy is exported from? There's nothing on this in pspsdk. _________________ Freelance game industry veteran. 8] |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
|
| Back to top |
|
 |
gauri
Joined: 20 Jan 2008 Posts: 35 Location: Belarus
|
Posted: Sun Mar 23, 2008 10:30 pm Post subject: |
|
|
I'm using 3.x firmware... looks like these functions are no longer exported.
But, on the other hand, officially released software should still work with new firmwares. How do they manage to do that? _________________ Freelance game industry veteran. 8] |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Sun Mar 23, 2008 10:35 pm Post subject: |
|
|
They are still there:
http://silverspring.lan.st/3.7x/kd/lowio.xml
It is just that they merged a lot of lowlevel prx's into a single one back in 3.50, but the library names remain same. |
|
| Back to top |
|
 |
gauri
Joined: 20 Jan 2008 Posts: 35 Location: Belarus
|
Posted: Sun Mar 23, 2008 11:07 pm Post subject: |
|
|
Oh, they really are. Thanks!
On the secont thought... How can I track whether the transfer completed or not? Do these calls block? _________________ Freelance game industry veteran. 8] |
|
| Back to top |
|
 |
|