Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Debug Functions

Functions


Function Documentation

void DEBUG_Assert u8  Assertion,
char *  pMessage,
char *  pExpression,
char *  pFileName,
u32  LineNo
 

Check an assertion statement.

Do not use this. Use ASSERT instead !

void DEBUG_InitText u32 pFrameBuffer,
u32  Color
 

Init debug-onscreen-text-system.

Parameters:
pFrameBuffer Pointer to the framebuffer, where the debug textsystem shall write to.
Color Debug-font-color. Specify it as YCbYCr value.
See also:
DEBUG_Print()
DEBUG_ShowValueU8()
DEBUG_ShowValueU16()
DEBUG_ShowValueU32()

void DEBUG_Print short  x,
short  y,
char *  pText
 

Print text to screen.

Parameters:
x Horizontal Screen Coordinate
y Vertical Screen Coordinate
pText Pointer to a NULL-terminated text
Note:
This function is quite slow and should be used only for debug purposes.

It supports the following characters:
  • !"#$&'()*+,-./0123456789:;<=>?[]ABCDEFGHIJKLMNOPQRSTUVWXYZ+|

In case you specify an unsupported character, this character will not be displayed.

void DEBUG_PrintChar short  x,
short  y,
char  CharToPrint
 

Print a single char to screen.

Parameters:
x Horizontal Screen Coordinate
y Vertical Screen Coordinate
CharToPrint The char/letter you want to print
See also:
DEBUG_Print()

void DEBUG_SetFrameBuffer u32 pFrameBuffer  ) 
 

Set debugtext-system framebuffer address.

Parameters:
pFrameBuffer Pointer to the framebuffer, where the debug textsystem shall write to.

void DEBUG_SetTextColor u32  Color  ) 
 

Set debugtext-system font color.

Parameters:
Color Debug-font-color. Specify it as YCbYCr value.
See also:
COLOR_ConvertRgb2YCbYCr()

void DEBUG_ShowValueU16 short  x,
short  y,
u16  ValueToShow
 

Show an u16 on screen.

Parameters:
x Horizontal Screen Coordinate
y Vertical Screen Coordinate
ValueToShow The 16bit value you want to display on screen
See also:
DEBUG_Print()
DEBUG_ShowValueU8()
DEBUG_ShowValueU32()

void DEBUG_ShowValueU32 short  x,
short  y,
u32  ValueToShow
 

Show an u32 on screen.

Parameters:
x Horizontal Screen Coordinate
y Vertical Screen Coordinate
ValueToShow The 32bit value you want to display on screen
See also:
DEBUG_Print()
DEBUG_ShowValueU16()
DEBUG_ShowValueU32()

void DEBUG_ShowValueU8 short  x,
short  y,
u8  ValueToShow
 

Show an u8 on screen.

Parameters:
x Horizontal Screen Coordinate
y Vertical Screen Coordinate
ValueToShow The 8bit value you want to display on screen
See also:
DEBUG_Print()
DEBUG_ShowValueU16()
DEBUG_ShowValueU32()


Generated on Sun Jul 6 20:03:37 2003 for Open GC Library by doxygen1.3