flycast icon indicating copy to clipboard operation
flycast copied to clipboard

serial console option doesn't seem to work ?

Open ozzyyzzo4096 opened this issue 1 year ago • 3 comments

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

ozzyyzzo4096 avatar Aug 28 '23 15:08 ozzyyzzo4096

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

nextgeniuspro avatar Jan 10 '24 11:01 nextgeniuspro

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

lhsazevedo avatar Apr 29 '24 20:04 lhsazevedo

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

flyinghead avatar May 01 '24 07:05 flyinghead