sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
debug.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
16
17
#ifndef __DEBUG_H__
18
#define __DEBUG_H__
19
20
#include <
tamtypes.h
>
21
#include <stdarg.h>
22
23
#define DEBUG_BGCOLOR(col) *((u64 *) 0x120000e0) = (u64) (col)
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
extern
void
init_scr(
void
);
30
extern
void
scr_printf(
const
char
*, ...)
__attribute__
((format(printf,1,2)));
31
extern
void
scr_vprintf(const
char
*format, va_list opt);
32
extern
void
scr_putchar(
int
x,
int
y, u32 color,
int
ch);
33
extern
void
ps2GetStackTrace(
unsigned
int
* results,
int
max);
34
extern
void
scr_setXY(
int
x,
int
y);
35
extern
int
scr_getX(
void
);
36
extern
int
scr_getY(
void
);
37
extern
void
scr_clear(
void
);
38
extern
void
scr_clearline(
int
Y);
39
extern
void
scr_clearchar(
int
X,
int
Y);
40
extern
void
scr_setbgcolor(u32 color);
41
extern
void
scr_setfontcolor(u32 color);
42
extern
void
scr_setcursorcolor(u32 color);
43
extern
void
scr_setCursor(
int
enable);
44
extern
int
scr_getCursor(
void
);
45
extern
void
scr_change_defaultcolor(
int
index, u32 color);
46
#ifdef __cplusplus
47
}
48
#endif
49
50
#endif
/* __DEBUG_H__ */
__attribute__
Definition
gif_registers.h:40
tamtypes.h
core
debug
include
debug.h
Generated by
1.18.0