RetroArch
|
#include <stdlib.h>
#include <string.h>
#include <reent.h>
#include <errno.h>
#include "asm.h"
#include "processor.h"
#include "color.h"
#include "cache.h"
#include "video.h"
#include "system.h"
#include "console.h"
#include "consol.h"
#include "usbgecko.h"
#include <stdio.h>
#include <sys/iosupport.h>
Functions | |
void | __console_vipostcb (u32 retraceCnt) |
static void | __console_drawc (int c) |
static void | __console_clear_line (int line, int from, int to) |
static void | __console_clear (void) |
static void | __console_clear_from_cursor () |
static void | __console_clear_to_cursor () |
void | __console_init (void *framebuffer, int xstart, int ystart, int xres, int yres, int stride) |
void | __console_init_ex (void *conbuffer, int tgt_xstart, int tgt_ystart, int tgt_stride, int con_xres, int con_yres, int con_stride) |
static int | __console_parse_escsequence (char *pchr) |
int | __console_write (struct _reent *r, void *fd, const char *ptr, size_t len) |
void | CON_Init (void *framebuffer, int xstart, int ystart, int xres, int yres, int stride) |
Initializes the console subsystem with given parameters. More... | |
s32 | CON_InitEx (GXRModeObj *rmode, s32 conXOrigin, s32 conYOrigin, s32 conWidth, s32 conHeight) |
Initialize stdout console. More... | |
void | CON_GetMetrics (int *cols, int *rows) |
retrieve the columns and rows of the current console More... | |
void | CON_GetPosition (int *col, int *row) |
retrieve the current cursor position of the current console More... | |
void | CON_EnableGecko (int channel, int safe) |
Enable or disable the USB gecko console. More... | |
Variables | |
const devoptab_t | dotab_stdout |
static const unsigned int | color_table [] |
static u32 | do_xfb_copy = FALSE |
static struct _console_data_s | stdcon |
static struct _console_data_s * | curr_con = NULL |
static void * | _console_buffer = NULL |
static s32 | __gecko_status = -1 |
static u32 | __gecko_safe = 0 |
u8 | console_font_8x16 [] |
|
static |
|
static |
|
static |
|
static |
void __console_init_ex | ( | void * | conbuffer, |
int | tgt_xstart, | ||
int | tgt_ystart, | ||
int | tgt_stride, | ||
int | con_xres, | ||
int | con_yres, | ||
int | con_stride | ||
) |
|
static |
void CON_EnableGecko | ( | int | channel, |
int | safe | ||
) |
Enable or disable the USB gecko console.
[in] | channel | EXI channel, or -1 to disable the gecko console |
[in] | safe | If true, use safe mode (wait for peer) |
void CON_GetMetrics | ( | int * | cols, |
int * | rows | ||
) |
retrieve the columns and rows of the current console
[out] | cols,rows | number of columns and rows of the current console |
void CON_GetPosition | ( | int * | col, |
int * | row | ||
) |
retrieve the current cursor position of the current console
[out] | col,row | current cursor position |
Initializes the console subsystem with given parameters.
[in] | framebuffer | pointer to the framebuffer used for drawing the characters |
[in] | xstart,ystart | start position of the console output in pixel |
[in] | xres,yres | size of the console in pixel |
[in] | stride | size of one line of the framebuffer in bytes |
Initialize stdout console.
[in] | rmode | pointer to the video/render mode configuration |
[in] | conXOrigin | starting pixel in X direction of the console output on the external framebuffer |
[in] | conYOrigin | starting pixel in Y direction of the console output on the external framebuffer |
[in] | conWidth | width of the console output 'window' to be drawn |
[in] | conHeight | height of the console output 'window' to be drawn |
|
static |
|
static |
|
static |
u8 console_font_8x16[] |
|
static |
const devoptab_t dotab_stdout |
|
static |