Lab 5
|
Functions | |
void * | vg_init (unsigned short mode) |
Initializes the video module in graphics mode. More... | |
int | vg_exit (void) |
Returns to default Minix 3 text mode (0x03: 25 x 80, 16 colors) More... | |
Functions for outputing data to screen in graphics mode
int vg_exit | ( | void | ) |
Returns to default Minix 3 text mode (0x03: 25 x 80, 16 colors)
void* vg_init | ( | unsigned short | mode | ) |
Initializes the video module in graphics mode.
Uses the VBE INT 0x10 interface to set the desired graphics mode, maps VRAM to the process' address space and initializes static global variables with the resolution of the screen, and the number of colors
mode | 16-bit VBE mode to set |