MOS Source Code
Loading...
Searching...
No Matches
sbi_console.cpp File Reference
+ Include dependency graph for sbi_console.cpp:

Go to the source code of this file.

Functions

static size_t sbi_console_write (Console *con, const char *data, size_t size)
 
static bool sbi_console_set_color (Console *con, standard_color_t fg, standard_color_t bg)
 
static bool sbi_console_get_color (Console *con, standard_color_t *fg, standard_color_t *bg)
 
static bool sbi_console_clear (Console *console)
 

Variables

static standard_color_t sbi_console_bg = Black
 
static standard_color_t sbi_console_fg = White
 

Function Documentation

◆ sbi_console_write()

static size_t sbi_console_write ( Console * con,
const char * data,
size_t size )
static

Definition at line 13 of file sbi_console.cpp.

+ Here is the call graph for this function:

◆ sbi_console_set_color()

static bool sbi_console_set_color ( Console * con,
standard_color_t fg,
standard_color_t bg )
static

Definition at line 20 of file sbi_console.cpp.

+ Here is the call graph for this function:

◆ sbi_console_get_color()

static bool sbi_console_get_color ( Console * con,
standard_color_t * fg,
standard_color_t * bg )
static

Definition at line 32 of file sbi_console.cpp.

◆ sbi_console_clear()

static bool sbi_console_clear ( Console * console)
static

Definition at line 40 of file sbi_console.cpp.

+ Here is the call graph for this function:

Variable Documentation

◆ sbi_console_bg

standard_color_t sbi_console_bg = Black
static

Definition at line 11 of file sbi_console.cpp.

Referenced by sbi_console_get_color(), and sbi_console_set_color().

◆ sbi_console_fg

standard_color_t sbi_console_fg = White
static

Definition at line 11 of file sbi_console.cpp.

Referenced by sbi_console_get_color(), and sbi_console_set_color().