ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <tamtypes.h>
Go to the source code of this file.
Macros | |
#define | DEBUG_BGCOLOR(col) *((u64 *) 0x120000e0) = (u64) (col) |
Functions | |
void | init_scr (void) |
void | scr_printf (const char *,...) |
void | scr_putchar (int x, int y, u32 color, int ch) |
void | ps2GetStackTrace (unsigned int *results, int max) |
void | scr_setXY (int x, int y) |
int | scr_getX (void) |
int | scr_getY (void) |
void | scr_clear (void) |
void | scr_setbgcolor (u32 color) |
EE Debug prototypes
Definition in file debug.h.
void init_scr | ( | void | ) |
Definition at line 185 of file scr_printf.c.
References debug_detect_signal(), Dma02Wait(), DmaReset(), Init_GS(), progdma(), SetVideoMode(), X, and Y.
Referenced by main().
void ps2GetStackTrace | ( | unsigned int * | results, |
int | max | ||
) |
Definition at line 119 of file callstack.c.
References ADJUST_STACKP_C, ADJUST_STACKP_C_MASK, ADJUST_STACKP_V, ADJUST_STACKP_V_MASK, CALL, FALSE, HASH, main(), max, OR_LOWER_C, OR_LOWER_C_MASK, ps2GetReturnAddress(), ps2GetStackPointer(), ra, RESTORE_RETURNVAL, RESTORE_RETURNVAL2, RESTORE_RETURNVAL3, RESTORE_RETURNVAL_MASK, RETURN, returnCache, SET_LOWER_C, SET_LOWER_C_MASK, SET_UPPER_C, SET_UPPER_C_MASK, sp, and TRUE.
Referenced by TestFunction3().
void scr_clear | ( | void | ) |
Definition at line 313 of file scr_printf.c.
References clear_line(), MY, scr_setXY(), and y.
Referenced by main().
int scr_getX | ( | void | ) |
int scr_getY | ( | void | ) |
void scr_printf | ( | const char * | format, |
... | |||
) |
Definition at line 252 of file scr_printf.c.
References clear_line(), MX, MY, scr_putchar(), X, and Y.
Referenced by ethPrintIPConfig(), ethPrintLinkStatus(), and main().
void scr_putchar | ( | int | x, |
int | y, | ||
u32 | color, | ||
int | ch | ||
) |
Definition at line 210 of file scr_printf.c.
References bgcolor, Dma02Wait(), msx, progdma(), UNCACHED_SEG, x, and y.
Referenced by clear_line(), and scr_printf().
void scr_setbgcolor | ( | u32 | color | ) |