Aura

Mode-X Graphics (modex.asm)

_SetModeX

Sets up the graphics card for Mode-X (320x240x256) graphics.

_SetModeC80

Resets the graphics card to standard text mode (80x25).

_WritePixelX

Assumes that es=_viddescriptor. Plots a pixel on the graphics display.

_ReadPixelX

Assumes that es=_viddescriptor. Gets the color of a pixel on the display.

_FillRectangleX

Assumes that es=_viddescriptor. Fills a rectangle with the specified color on the given page. Optimized for Mode-X planar memory organization.

_ShowPage

Displays the page that starts at StartOffset.

_CopySystemToScreenX

Assumes that es=_viddescriptor. Copies the backbuffer to video memory. Severely optimized for Mode-X architecture.