Open tehKaiN opened 4 years ago
Will have a look.
I have now updated to WinUAE 4.4.0 so you can try to use it. Let me know if it works okay.
Yeah, it kinda works, with a bit of help. The text in debugger log is always red. UAE also uses this log for printing its internal stuff - perhaps there's a collision with some kind of your error printing?
Also, default.uae needs adding: debug_mem=true
.
You can check the result using this fn:
static inline void uaeWrite(const char *szMsg) {
volatile ULONG * const s_pUaeFmt = (ULONG *)0xBFFF04;
*s_pUaeFmt = (ULONG)((UBYTE*)szMsg);
}
What do you think about it? Is merging with this serial interface worthwhile or does it collide with too many things?
I hope you don't have enough of me and my issues. ;)
The WinUAE 4.4.0 was released recently. It comes with printf-like logging, which works almost the same as your vscode-bound logger. Quoting the WinUAE release topic from EAB:
I think it'd be cool to be consistent and use same interface to pass the debug messages to vscode. This way, I can use same code to send messages to vscode and later give the exact same build to betatesters with uae logger enabled. It can be done with an ifdef and two code variants, which I already do, but having unified interface is better, I think. ;)