-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
printf
not working fine with fileXio
#332
Comments
Last time I checked, Once I reverse the |
Was it before or after the newlib integration, #161 ? |
After |
These printf messages that magically appear in PCSX2, do you know how they get there? I'm assuming they are IOP SIO writes, not EE SIO? And I'm assuming ioman somehow uses fd=0 and fd=1 to write to the IOP serial port. Can you confirm the PCSX2 output you see is the IOP serial port output? And if not, do you know what it is? Searching in the ps2sdk sources I can find no driver for using the iop serial port. ps2sdk/iop/network/udptty/src/udptty.c Lines 200 to 208 in 56dc192
|
Watching into the PCSX2 code I saw it print messages coming from https://github.com/PCSX2/pcsx2/blob/master/pcsx2/HwWrite.cpp#L314 I think that somehow |
PCSX2 hooks IOMAN
In order to resolve this, probably need to determine if IOMAN is hooked already, and if so, use its functionality instead |
In the end, it wasn't an issue in the Cheers |
When we use
fileXio
theprintf
messages stop working when runningPCSX2
.When using
ps2client
is still working because theudptty
driver is closing and opening again thefd
0
and1
, as you can see here, for redirecting the output:https://github.com/ps2dev/ps2sdk/blob/master/iop/network/udptty/src/udptty.c#L200-L208
I suppose that something similar should be done in
fileXio
.Are the
printf
messages withfileXio
working inDevTool machines
? (@uyjulian could you double-check it)?The example:
The text was updated successfully, but these errors were encountered: