Difference between revisions of "OSReport"

From Rare Gaming Dump
(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...")
 
m
Line 1: Line 1:
'''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.
+
'''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.
  
 
[[Category:Wii]]
 
[[Category:Wii]]
 
{{Template:WiiNavbox}}
 
{{Template:WiiNavbox}}

Revision as of 23:03, 21 May 2023

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.