| View previous topic :: View next topic |
| Author |
Message |
superfrog12
Joined: 22 Jun 2008 Posts: 14
|
Posted: Sun Jun 22, 2008 11:32 pm Post subject: question about printf |
|
|
Hello,
I'm a newbie to PS2 development so please excuse this basic question:
Where does the output of the "normal" ee libc printf function go? From looking at the source code I figured out that the function uses the SifRPC API to call the write function (FIO_F_WRITE) on the IOP....is that write function part of the IOP's bios or where does it come from? And where does the output go? When using PS2Link it's being redirected to a pc client from what I understand but where would it normally go?
I'm asking this because I want to use the PCSX2 emulator for testing my ps2 programs and it would be nice to get it to display the printf output (it works using the ee serial i/o functions but I'm still curious about libc printf).
Thank you very much,
superfrog12 |
|
| Back to top |
|
 |
ragnarok2040
Joined: 09 Aug 2006 Posts: 230
|
Posted: Mon Jun 23, 2008 12:19 am Post subject: |
|
|
| If you disable the recompiler core for the EE under Configure->CPU, and, if you're on Linux, you enable the console under Misc, you can see the printf output in the console the same way it looks under ps2link. |
|
| Back to top |
|
 |
superfrog12
Joined: 22 Jun 2008 Posts: 14
|
Posted: Mon Jun 23, 2008 7:43 pm Post subject: |
|
|
| ragnarok2040 wrote: | | If you disable the recompiler core for the EE under Configure->CPU, and, if you're on Linux, you enable the console under Misc, you can see the printf output in the console the same way it looks under ps2link. |
that worked, thank you. |
|
| Back to top |
|
 |
|