|
Retro Rocket Kernel
BASIC-Powered Operating System
|
Data Structures | |
| struct | console |
Macros | |
| #define | COLOUR_BLACK 0 |
| #define | COLOUR_DARKBLUE 1 |
| #define | COLOUR_DARKGREEN 2 |
| #define | COLOUR_DARKCYAN 3 |
| #define | COLOUR_DARKRED 4 |
| #define | COLOUR_DARKMAGENTA 5 |
| #define | COLOUR_ORANGE 6 |
| #define | COLOUR_WHITE 7 |
| #define | COLOUR_GREY 8 |
| #define | COLOUR_LIGHTBLUE 9 |
| #define | COLOUR_LIGHTGREEN 10 |
| #define | COLOUR_LIGHTCYAN 11 |
| #define | COLOUR_LIGHTRED 12 |
| #define | COLOUR_LIGHTMAGENTA 13 |
| #define | COLOUR_LIGHTYELLOW 14 |
| #define | COLOUR_LIGHTWHITE 15 |
| #define | DEFAULT_COLOUR COLOUR_WHITE |
Functions | |
| void | clearscreen (console *c) |
| void | setcursor (console *c) |
| void | putstring (console *c, const char *message) |
| void | dputstring (const char *message) |
| void | put (console *c, const char n) |
| void | dput (const char n) |
| void | init_console () |
| void | setbackground (console *c, unsigned char background) |
| void | setforeground (console *c, unsigned char foreground) |
| int16_t | screen_get_height () |
| int16_t | screen_get_width () |
| void | putpixel (int64_t x, int64_t y, uint32_t rgb) |
| uint32_t | getpixel (int64_t x, int64_t y) |
| uint64_t | framebuffer_address () |
| uint64_t | pixel_address (int64_t x, int64_t y) |
| uint64_t | get_text_width () |
| uint64_t | get_text_height () |
| void | gotoxy (uint64_t x, uint64_t y) |
| void | get_text_position (uint64_t *x, uint64_t *y) |
Variables | |
| console * | current_console |
| #define COLOUR_BLACK 0 |
| #define COLOUR_DARKBLUE 1 |
| #define COLOUR_DARKCYAN 3 |
| #define COLOUR_DARKGREEN 2 |
| #define COLOUR_DARKMAGENTA 5 |
| #define COLOUR_DARKRED 4 |
| #define COLOUR_GREY 8 |
| #define COLOUR_LIGHTBLUE 9 |
| #define COLOUR_LIGHTCYAN 11 |
| #define COLOUR_LIGHTGREEN 10 |
| #define COLOUR_LIGHTMAGENTA 13 |
| #define COLOUR_LIGHTRED 12 |
| #define COLOUR_LIGHTWHITE 15 |
| #define COLOUR_LIGHTYELLOW 14 |
| #define COLOUR_ORANGE 6 |
| #define COLOUR_WHITE 7 |
| #define DEFAULT_COLOUR COLOUR_WHITE |
| void clearscreen | ( | console * | c | ) |
| void dput | ( | const char | n | ) |
| void dputstring | ( | const char * | message | ) |
| uint64_t framebuffer_address | ( | ) |
| uint64_t get_text_height | ( | ) |
| void get_text_position | ( | uint64_t * | x, |
| uint64_t * | y | ||
| ) |
| uint64_t get_text_width | ( | ) |
| uint32_t getpixel | ( | int64_t | x, |
| int64_t | y | ||
| ) |
| void gotoxy | ( | uint64_t | x, |
| uint64_t | y | ||
| ) |
| void init_console | ( | ) |
| uint64_t pixel_address | ( | int64_t | x, |
| int64_t | y | ||
| ) |
| void put | ( | console * | c, |
| const char | n | ||
| ) |
| void putpixel | ( | int64_t | x, |
| int64_t | y, | ||
| uint32_t | rgb | ||
| ) |
| void putstring | ( | console * | c, |
| const char * | message | ||
| ) |
| int16_t screen_get_height | ( | ) |
| int16_t screen_get_width | ( | ) |
| void setbackground | ( | console * | c, |
| unsigned char | background | ||
| ) |
| void setcursor | ( | console * | c | ) |
| void setforeground | ( | console * | c, |
| unsigned char | foreground | ||
| ) |
|
extern |