flycast
flycast copied to clipboard
serial console option doesn't seem to work ?
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
Same question, how can I see debug logs with printf in custom KallistiOS based application?
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)
https://github.com/libretro/flycast/assets/7695608/851cc9b3-69ba-41cf-9b81-eb8eacc54562
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
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