| View previous topic :: View next topic |
| Author |
Message |
DickyDick
Joined: 21 Aug 2004 Posts: 29
|
Posted: Wed Sep 20, 2006 2:55 am Post subject: stdout ? |
|
|
I run this small program in PSPLINK, but nothing is shown at the screen..
Did I forget something?
tst.c
... all the includes
PSP_MODULE_INFO("tst", 0x1000, 1, 1);
PSP_MAIN_THREAD_ATTR(0);
int main (int argc, char ** argv)
{
pspDebugInstallStdoutHandler(pspDebugScreenPrintData);
pspDebugScreenSetTextColor(0xffffff);
pspDebugScreenSetBackColor(0x000000);
pspDebugScreenInit();
fprintf (stdout,"Hello world\n");
sceKernelDelayThread(5*1000000); // 5 sec
sceKernelExitGame();
return 0;
} |
|
| Back to top |
|
 |
DickyDick
Joined: 21 Aug 2004 Posts: 29
|
Posted: Wed Sep 20, 2006 3:32 pm Post subject: |
|
|
Hmm looks like it only happens with PSPLINK.. as EBOOT.PBP it works
perhaps it eats the stdout or i need a new version |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Wed Sep 20, 2006 3:43 pm Post subject: |
|
|
| Yes psplink eats stdout, did you not see the text appear on the psplink console which is where stdout should really go ? :) |
|
| Back to top |
|
 |
DickyDick
Joined: 21 Aug 2004 Posts: 29
|
Posted: Sun Sep 24, 2006 6:18 pm Post subject: |
|
|
| TyRaNiD wrote: | | Yes psplink eats stdout, did you not see the text appear on the psplink console which is where stdout should really go ? :) |
the debug init screen wiped it all away in a split second... ;-) |
|
| Back to top |
|
 |
|