|
PS2SDK
PS2 Homebrew Libraries
|
#include <stdio.h>#include <tamtypes.h>#include <sifcmd.h>#include <kernel.h>#include <rom0_info.h>#include <stdarg.h>#include <debug.h>#include <ee_regs.h>
Include dependency graph for scr_printf.c:Go to the source code of this file.
Data Structures | |
| struct | t_setupscr |
| struct | t_setupchar |
Functions | |
| static int | debug_detect_signal () |
| static void | Init_GS (int interlace, int omode, int ffmd) |
| static void | SetVideoMode (void) |
| static void | Dma02Wait (void) |
| static void | DmaReset (void) |
| static void | progdma (const void *addr, int size) |
| void | scr_setbgcolor (u32 color) |
| void | scr_setfontcolor (u32 color) |
| void | scr_setcursorcolor (u32 color) |
| void | init_scr (void) |
| void | scr_putchar (int x, int y, u32 color, int ch) |
| void | scr_clearchar (int X, int Y) |
| void | scr_clearline (int Y) |
| void | scr_printf (const char *format,...) |
| void | scr_vprintf (const char *format, va_list opt) |
| void | scr_setXY (int x, int y) |
| int | scr_getX () |
| int | scr_getY () |
| void | scr_clear () |
| void | scr_setCursor (int enable) |
Variables | |
| static short int | X |
| static short int | Y |
| static const short int | MX = 80 |
| static const short int | MY = 40 |
| static u32 | bgcolor |
| static u32 | fontcolor |
| static u32 | cursorcolor |
| static short int | cursor |
| static const struct t_setupscr | g_setupscr_template |
| const u8 | msx [] |
| static const struct t_setupchar | g_setupchar_template |
EE UGLY DEBUG ON SCREEN
Definition in file scr_printf.c.
| struct t_setupscr |
Definition at line 30 of file scr_printf.c.
| Data Fields | ||
|---|---|---|
| u64 | dd0[6] | |
| u32 | dw0[2] | |
| u64 | dd1[1] | |
| u16 | dh[4] | |
| u64 | dd2[21] | |
| struct t_setupchar |
Definition at line 39 of file scr_printf.c.
| Data Fields | ||
|---|---|---|
| u64 | dd0[4] | |
| u32 | dw0[1] | |
| u16 | x | |
| u16 | y | |
| u64 | dd1[1] | |
| u32 | dw1[2] | |
| u64 | dd2[5] | |
|
inlinestatic |
Initiates a normal-mode DMA transfer over the GIF.
| addr | The address of the data to be transfered, which must be 16 byte aligned. |
| size | The size (in 16 byte quads) of the data to be transfered. |
Definition at line 114 of file scr_printf.c.
|
static |
Definition at line 136 of file scr_printf.c.
|
static |
Definition at line 168 of file scr_printf.c.