#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>
Go to the source code of this file.
|
|
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 (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) |
| |
|
|
static short int | X = 0 |
| |
|
static short int | Y = 0 |
| |
|
static short int | MX = 80 |
| |
|
static short int | MY = 40 |
| |
|
static u32 | bgcolor = 0 |
| |
|
static u32 | fontcolor = 0xffffff |
| |
|
static u32 | cursorcolor = 0xffffff |
| |
|
static short int | cursor = 1 |
| |
|
u8 | msx [] |
| |
EE UGLY DEBUG ON SCREEN
Definition in file scr_printf.c.
◆ 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] |
|
◆ 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] |
|
◆ progdma()
| static void progdma |
( |
void * |
addr, |
|
|
int |
size |
|
) |
| |
|
inlinestatic |
Initiates a normal-mode DMA transfer over the GIF.
- Parameters
-
| 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.