Include dependency graph for ega.c:
Go to the source code of this file.
Data Structures | |
struct | saved_screen |
Defines | |
#define | MAX_SAVED_SCREENS 256 |
#define | EGA_IO_ADDRESS 0x3d4 |
#define | EGA_IO_SIZE 2 |
#define | NORMAL_COLOR 0x0f |
#define | INVERTED_COLOR 0xf0 |
#define | EGA_STYLE(fg, bg) ((fg) > (bg) ? NORMAL_COLOR : INVERTED_COLOR) |
Functions | |
static void | clrscr (void) |
static void | cursor_goto (unsigned int row, unsigned int col) |
static void | cursor_disable (void) |
static void | cursor_enable (void) |
static void | scroll (int rows) |
static void | printchar (char c, unsigned int row, unsigned int col) |
static void | draw_text_data (keyfield_t *data) |
static int | save_screen (void) |
static int | print_screen (int i) |
static void | ega_client_connection (ipc_callid_t iid, ipc_call_t *icall) |
int | ega_init (void) |
Variables | |
saved_screen | saved_screens [MAX_SAVED_SCREENS] |
static int | client_connected = 0 |
static unsigned int | scr_width |
static unsigned int | scr_height |
static char * | scr_addr |
static unsigned int | style = NORMAL_COLOR |
Definition in file ega.c.