MicrOS
micros_generic_vga.c File Reference

Functions

void micros_generic_vga_set_video_mode (uint16_t mode)
 Sets VGA video mode. More...
 
bool micros_generic_vga_is_text_mode ()
 Checks if the currently selected VGA mode is text mode. More...
 
uint16_t micros_generic_vga_get_current_video_mode ()
 Returns number of the currently selected VGA mode. More...
 
uint8_t micros_generic_vga_is_vretrace ()
 

Function Documentation

◆ micros_generic_vga_get_current_video_mode()

uint16_t micros_generic_vga_get_current_video_mode ( )

Returns number of the currently selected VGA mode.

Returns number of the currently selected VGA mode.

Returns
VGA mode number.

◆ micros_generic_vga_is_text_mode()

bool micros_generic_vga_is_text_mode ( )

Checks if the currently selected VGA mode is text mode.

Checks if the currently selected VGA mode is text mode.

Returns
True if it's text mode, otherwise false.

◆ micros_generic_vga_is_vretrace()

uint8_t micros_generic_vga_is_vretrace ( )

◆ micros_generic_vga_set_video_mode()

void micros_generic_vga_set_video_mode ( uint16_t  mode)

Sets VGA video mode.

Sets VGA video mode to the specified in the parameter.

Parameters
modeVGA mode.