Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

VgaPrintString

NullException edited this page Aug 6, 2020 · 2 revisions

VgaPrintString fucntion

Description

Prints string at current cursor position

Syntax

void VgaPrintString(char* string, 
                    char character_attributes
);

Parameters

character

Pointer to a null-terminated string


character_attributes

Character attribute byte to use

Return Value

N/A

Notes

If a character is printed off screen, it will write to invalid memory, possibly corrupting kernel code. This can be done accidentally by not terminating the string. Line Feed and Carrige Return characters are not printed but interpreted for their specific function

Clone this wiki locally