📄 tmdbg.h
字号:
/* tmdbg.h HISTORY #define TR "Tilarkaj Roy" 960614 TR Created 960615 TR Added the screen clear function.
960925 TR Added stdout and tracebuffer support. This file provides the function prototypes for printing debugging messages on the monochrome ( hecules ) monitor. dbgInit - uses malloc to allocate the required objects. - sets the default window size to 80 * 25 dbgExit - frees them. dbgScreenSetSize - also clears the defined window. dbgOutMono - does not display control characters - scrolls the window as and when required This object can co-exist with soft-ice/W use the following. set data window size to 7 lines :wd 7 set register window :wr call dbgScreenSize ( pvDebug, 6, 0 , 5, 80 ); this call will set the window to the lower 5 lines of the data window.*/
#define TMDBG_ERR_OUTOFMEMORY TMERR(TM_STATUS_TCOMP_DBG,1)
BOOL dbgInit ( PVOID *ppvDebug );VOID dbgScreenSetSize ( PVOID pvDebug, DWORD dwStartRow, DWORD dwStartCol, DWORD dwRows, DWORD dwCols );VOID dbgScreenClr ( PVOID pvDebug );VOID dbgExit ( PVOID pvDebug );
VOID dbgPrintf(char * pFormat, ...);
VOID dbgOutTraceV ( PVOID pvDebug, PCHAR pString );
VOID dbgOutTraceP ( PVOID pvDebug, PCHAR pString );
VOID dbgOutStdout ( PVOID pvDebug, PCHAR pString );
VOID dbgOutStderr ( PVOID pvDebug, PCHAR pString );
VOID dbgOutMono ( PVOID pvDebug, PCHAR pString );
extern PVOID pDBG;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -