OSReport

From Rare Gaming Dump
Revision as of 23:02, 21 May 2023 by Tanline666 (talk | contribs) (Created page with "'''OSReport''' is a function in the Dolphin SDK and Revolution SDK standard library (defined in the osD.a file) , which is typically used to transmit messages about th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OSReport is a function in the Dolphin SDK and Revolution SDK standard library (defined in the osD.a file) , which is typically used to transmit messages about the program's state, such as the current register values when a fatal exception occurs, to the defined output port. The output port is, by default, set to the serial port, but it is recommended to be set to the television screen near the end of program development for convenience. Doing so would require a developer-written implementation of OSReport, however. The output may also be written to NAND, which would require the destination to first be set to NAND with OSReportDestination, and then OSReportFlush to clear the buffer and actually write to NAND.