#include <cpu/ports.h>
#include <string.h>
|
static char * | screen |
| Pointer to VGA screen memory.
|
|
static int | x =0 |
| Next character offset in VGA sreen memory.
|
|
◆ set_char()
static void set_char |
( |
int |
x, |
|
|
char |
c |
|
) |
| |
|
static |
Set a character on the screen
- Parameters
-
x | The character index to set |
c | The character to write |
◆ vga_init()
void vga_init |
( |
char * |
screen | ) |
|
Initilaze the VGA error writing driver
- Parameters
-
screen | Pointer to VGA screen memory |
◆ vga_write_string()
void vga_write_string |
( |
const char * |
string | ) |
|
Write a string starting at the top line of the VGA display
- Parameters
-
string | The string to write |