| View previous topic :: View next topic |
| Author |
Message |
sg57
Joined: 14 Oct 2005 Posts: 154
|
Posted: Fri Nov 03, 2006 2:49 pm Post subject: sceIo function able to load data at custom address in RAM? |
|
|
Hey. I need to store/load data to a specified address in RAM. I need to use the sceIo* functions so... Ive been reading the docuemenation on them but it seems they dont have a parameter for where/what offset to store/load it into. Any help?
If this cant be done in C using sceIo* functions, how would i go about doing it in ASM? asm(" ... ;");
Thanks for any help. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Fri Nov 03, 2006 4:07 pm Post subject: |
|
|
The "data" parameter specifies the address to write to or read from.
| Quote: | int sceIoRead(SceUID fd, void *data, SceSize size);
Parameters:
fd - Opened file descriptor to read from
data - Pointer to the buffer where the read data will be placed
size - Size of the read in bytes
|
|
|
| Back to top |
|
 |
sg57
Joined: 14 Oct 2005 Posts: 154
|
Posted: Fri Nov 03, 2006 5:44 pm Post subject: |
|
|
Of course... declaring a buffer does the memory placement for you, but its just memory right?
I feel like an idiot, yet ive learned something so... Im ok with that. Thanks alot! Seriosuly. |
|
| Back to top |
|
 |
|