Aura
VESA Graphics (vesa.asm)
_CheckVESA
- Inputs: None
- Outputs: AL=1 if VESA mode not available
Checks to see if VESA is available, and if so, if a proper 32-bit mode is
available.
_SetVESA
- Inputs: None
- Outputs: es=VESA_Selector, AL=1 if unable to get memory mappings
Puts the graphics card into the detected VESA mode. Assumes that _CheckVESA
has been called to determine VESA availability. Performs the necessary
memory mappings to access video graphics RAM directly.
_UnsetVESA
- Inputs: None
- Outputs: es invalid if still set to VESA_Selector
Goes into the most basic VESA mode.
_WritePixelVESA
- Inputs: (X,Y)=location of pixel to plot; Color=32-bit xRGB color
- Outputs: None
Assumes that es=VESA_Selector.
Plots a pixel on the graphics display.
_ReadPixelVESA
- Inputs: (X,Y)=location of pixel to read
- Outputs: EAX=pixel color
Assumes that es=VESA_Selector. Gets the color of a pixel on the display.
_FillRectangleVESA
- Inputs: (StartX,StartY)-(EndX,EndY)=Rectangle to fill; Color=color to
fill the rectangle with
- Outputs: None
Assumes that es=VESA_Selector.
Fills a rectangle with the specified color on the given page.