ArvernOS
Loading...
Searching...
No Matches
vga_text.h File Reference
#include <sys/types.h>
Include dependency graph for vga_text.h:

Macros

#define VIDEO_ADDRESS   0xB8000
 The address of the frame buffer.
 

Functions

void vga_text_init ()
 
void vga_text_write_at (char c, uint8_t scheme, uint8_t x, uint8_t y)
 
void vga_text_move_cursor (uint8_t x, uint8_t y)
 
void vga_text_disable_cursor ()
 

Detailed Description

Function Documentation

◆ vga_text_disable_cursor()

void vga_text_disable_cursor ( )

Disables the cursor.

◆ vga_text_init()

void vga_text_init ( )

Initializes the VGA text mode driver.

◆ vga_text_move_cursor()

void vga_text_move_cursor ( uint8_t x,
uint8_t y )

Moves the cursor at (x, y).

Parameters
xthe X position on the screen
ythe Y position on the screen

◆ vga_text_write_at()

void vga_text_write_at ( char c,
uint8_t scheme,
uint8_t x,
uint8_t y )

Writes a character to the screen at (x, y).

Parameters
cthe character to write to the screen
schemethe color scheme
xthe X position on the screen
ythe Y position on the screen