#include <stdio.h>
#include <tamtypes.h>
#include <sifcmd.h>
#include <kernel.h>
#include <rom0_info.h>
#include <stdarg.h>
#include <debug.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 29 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 38 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] |
|
◆ debug_detect_signal()
static int debug_detect_signal |
( |
| ) |
|
|
static |
◆ Init_GS()
static void Init_GS |
( |
int | interlace, |
|
|
int | omode, |
|
|
int | ffmd ) |
|
static |
◆ SetVideoMode()
static void SetVideoMode |
( |
void | | ) |
|
|
static |
◆ Dma02Wait()
static void Dma02Wait |
( |
void | | ) |
|
|
inlinestatic |
◆ DmaReset()
static void DmaReset |
( |
void | | ) |
|
|
static |
◆ 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 164 of file scr_printf.c.
◆ scr_setbgcolor()
void scr_setbgcolor |
( |
u32 | color | ) |
|
◆ scr_setfontcolor()
void scr_setfontcolor |
( |
u32 | color | ) |
|
◆ scr_setcursorcolor()
void scr_setcursorcolor |
( |
u32 | color | ) |
|
◆ init_scr()
◆ scr_putchar()
void scr_putchar |
( |
int | x, |
|
|
int | y, |
|
|
u32 | color, |
|
|
int | ch ) |
◆ scr_clearchar()
void scr_clearchar |
( |
int | X, |
|
|
int | Y ) |
◆ scr_clearline()
void scr_clearline |
( |
int | Y | ) |
|
◆ scr_printf()
void scr_printf |
( |
const char * | format, |
|
|
| ... ) |
◆ scr_vprintf()
void scr_vprintf |
( |
const char * | format, |
|
|
va_list | opt ) |
◆ scr_setXY()
void scr_setXY |
( |
int | x, |
|
|
int | y ) |
◆ scr_getX()
◆ scr_getY()
◆ scr_clear()
◆ scr_setCursor()
void scr_setCursor |
( |
int | enable | ) |
|
◆ MX
◆ MY
◆ bgcolor
◆ fontcolor
◆ cursorcolor
u32 cursorcolor = 0xffffff |
|
static |
◆ cursor
◆ msx