#include <const.h>
#include <kernel/console.h>
Go to the source code of this file.
Defines | |||||||
#define | BLANK (0x20 | (DEFAULT_COLOR << 8)) | ||||||
The blank character. | |||||||
#define | VIDEO_MEM_ADDRESS PHYSICAL(0xB8000) | ||||||
The physical address of the video memory buffer. | |||||||
Functions | |||||||
bool | move_cur (console_t *console) | ||||||
Refresh cursor position for a selected console.
| |||||||
void | k_clrscr (console_t *console) | ||||||
Clear the screen of the selected console.
| |||||||
word | k_get_cur_pos (console_t *console) | ||||||
Get the cursor position of the selected console.
| |||||||
bool | k_set_cur_pos (console_t *console, word pos) | ||||||
Set the cursor position of the selected console.
| |||||||
byte | k_get_color (console_t *console) | ||||||
Get the current color of the selected console.
| |||||||
void | k_set_color (console_t *console, byte attrib) | ||||||
Set the current color of the selected console.
| |||||||
void | k_scroll_up (console_t *console) | ||||||
Scroll up the screen of the selected console.
| |||||||
void | k_gotoxy (console_t *console, int x, int y) | ||||||
Set the (x, y) coordinates as the current position in the selected console.
| |||||||
void | _kputchar (console_t *console, byte c) | ||||||
Put a character in the selected console.
| |||||||
void | _kprintf (const byte *message,...) | ||||||
void | init_video () | ||||||
Initialize the video parameters. | |||||||
byte | k_get_crt_height () | ||||||
Get the CRT height (in characters).
| |||||||
byte | k_get_crt_width () | ||||||
Get the CRT width (in characters).
|
Definition in file video.h.
|
The blank character.
|
|
The physical address of the video memory buffer.
|
|
|