This could allow outchar to print to a user defined screen, and errchar to write to a debug log or the CEmu console (char*)0xFB0000.
errchar could be a weak alias to outchar by default
The end result is that we would have:
stdin inchar
stdout outchar
stderr errchar
This could allow
outcharto print to a user defined screen, anderrcharto write to a debug log or the CEmu console(char*)0xFB0000.errcharcould be a weak alias tooutcharby defaultThe end result is that we would have: