Initialize Debug module.
[Emulicious] This allow to mark area reserved by BIOS to help detection of unset memory access
Force a break point.
[Emulicious] You need the "Break on ld b, b instruction" exception to be activated.
[openMSX] You need the "tools/script/openMSX/debugger_pvm.tcl" script to be loaded to use this function.
| void DEBUG_ASSERT( |
| ) |
Conditional break.
| a bool | Instructions to evaluate. A 'false' result will trigger a break. |
[Emulicious] You need the "Break on ld b, b instruction" exception to be activated.
[openMSX] You need the "tools/script/openMSX/debugger_pvm.tcl" script to be loaded to use this function.
| void DEBUG_LOG( |
| ) |
Display debug message (and return to next line).
| msg const c8* | Nul-terminated string with message to display |
| void DEBUG_LOGNUM( |
| ) |
Display debug message and a 8-bits value (and return to next line).
| msg const c8* | Nul-terminated string with numer name |
| num u8 | 8-bit number value |
| void DEBUG_PRINT( |
| ) |
Display debug formatted message. No new line is added at the end of the message.
| format const c8* | Nul-terminated string with format specifiers |
[Emulicious] Supported format specifiers: https://www.tutorialspoint.com/format-specifiers-in-c
[openMSX] You need the "tools/script/openMSX/debugger_pvm.tcl" script to be loaded to use this function.
Signal the start of a frame to be measured.
Signal the end of a frame to be measured.
| inline void PROFILE_SECTION_START( |
| ) |
Signal the start of a section to be measured.
| level u8 | Minimal level to display the section |
| section u8 | Section identifier |
| msg const c8* | Nul-terminated string with section name |
| inline void PROFILE_SECTION_END( |
| ) |
Signal the end of a section to be measured.
| level u8 | Minimal level to display the section |
| section u8 | Section identifier |
| msg const c8* | Nul-terminated string with section name |