Skip to content
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

serial console option doesn't seem to work ? #1187

Open
ozzyyzzo4096 opened this issue Aug 28, 2023 · 3 comments
Open

serial console option doesn't seem to work ? #1187

ozzyyzzo4096 opened this issue Aug 28, 2023 · 3 comments

Comments

@ozzyyzzo4096
Copy link

i'm trying to get some debug output using printf from my code but nothing is shown into the log (only own flycast debug output)
launching from command line doesn't help either.
i'm using version 2.1 on win10

@nextgeniuspro
Copy link

Same question, how can I see debug logs with printf in custom KallistiOS based application?

@lhsazevedo
Copy link

lhsazevedo commented Apr 29, 2024

The serial console option logs data sent to the SH4 The Serial Communication Interface (SCIF). I got this working using dc-load-serial's scif.c / scif.h, so the issue probably is not in Flycast:

(white console messages are serial output)

tbglog-2024-04-08_22.05.34.mp4

Source code:

https://github.com/lhsazevedo/tokyo-bus-guide-decomp/blob/2d255da0e269bd7a34213e3df8ef83202805d511/src/015ab8_title.c#L71

https://github.com/lhsazevedo/tokyo-bus-guide-decomp/blob/2d255da0e269bd7a34213e3df8ef83202805d511/src/definitions.h#L65

@flyinghead
Copy link

The serial console option is only available in standalone, not in the libretro core.

PS: this github repository is no longer used. Use https://github.com/flyinghead/flycast/issues instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants