Fonction Source Code
Fonction Source Code
First, i have to say that i'm new to psp programming (but not new to programming) and i was looking at the irda source code. I saw pspDebugScreenInit() and i looked at the pspdebug.h header file. I was wondering if the source of this fonction can be found as source or is it already pre-compiled? I'm just curious and i want to see what functions does because usually i had the .c file with the header file.
Thanks
Vincent
Thanks
Vincent
yes, a dll type shard library is known as a shared object, extension .so
you could just grab the sources via svn,
you could just grab the sources via svn,
Code: Select all
svn co svn://svn.pspdev.org/psp/pspsdk
...isn't it nice, sugar and spice...
...luring disco dollies to a life of vice...
...luring disco dollies to a life of vice...
scr_printf.c :
Code: Select all
void pspDebugScreenInit()
{
X = Y = 0;
/* Place vram in uncached memory */
g_vram_base = (void *) (0x40000000 | sceGeEdramGetAddr());
sceDisplaySetMode(0, PSP_SCREEN_WIDTH, PSP_SCREEN_HEIGHT);
sceDisplaySetFrameBuf((void *) g_vram_base, PSP_LINE_SIZE, PSP_PIXEL_FORMAT, 1);
clear_screen(bg_col);
init = 1;
}
Yeah, i finally found them by downloading the sources from the server.
Now what i can't find anywhere is the sceDisplay* Functions source code....
I might be asking too many questions, but i've been working with uC and windows programming and usually i'm very close to the hardware i program for and i know anything i need to know.
Sorry.
Now what i can't find anywhere is the sceDisplay* Functions source code....
I might be asking too many questions, but i've been working with uC and windows programming and usually i'm very close to the hardware i program for and i know anything i need to know.
Sorry.
basically, if you want source code of sceDisplay* functions so badly, you MUST need to sign a NDA* with SONY and buy a very expensive licence.vcarriere wrote:so basically, the sce functions are in the firmware and you send data at this address with the required parameters or you put the values in a accumulator and call the function...
"Suffisamment clair, non ?"*
*: Non Disclosure Agreement
*: [it's] clear enough, isn't it ?
First, why would you need the source of those functions? the sceDisplay* functions aren't that interesting anyway.... They just interface with the LCD controller, sceLcdc..............
The only use of their disassembly would only be, in my opinion, to execute code on the Me, since you can't call sce* functions directly...
The only use of their disassembly would only be, in my opinion, to execute code on the Me, since you can't call sce* functions directly...