Aura
Mode-X Graphics (modex.asm)
_SetModeX
- Inputs: None
- Outputs: None
Sets up the graphics card for Mode-X (320x240x256) graphics.
_SetModeC80
- Inputs: None
- Outputs: None
Resets the graphics card to standard text mode (80x25).
_WritePixelX
- Inputs: (X,Y)=location of pixel to plot; PageBase=video page to plot the
point in; Color=0-255 palette index
- Outputs: None
Assumes that es=_viddescriptor.
Plots a pixel on the graphics display.
_ReadPixelX
- Inputs: (X,Y)=location of pixel to read; PageBase=video page to get the
point from
- Outputs: AL=pixel color
Assumes that es=_viddescriptor. Gets the color of a pixel on the display.
_FillRectangleX
- Inputs: (StartX,StartY)-(EndX,EndY)=Rectangle to fill; PageBase=video
page to draw the rectangle in; Color=color to fill the rectangle with
- Outputs: None
Assumes that es=_viddescriptor.
Fills a rectangle with the specified color on the given page. Optimized for
Mode-X planar memory organization.
_ShowPage
- Inputs: StartOffset=offset of page to display
- Outputs: None
Displays the page that starts at StartOffset.
_CopySystemToScreenX
- Inputs: PageBase=page to copy to; *SourcePtr=offset in SourceSeg to
copy screen from
- Outputs: None
Assumes that es=_viddescriptor.
Copies the backbuffer to video memory. Severely optimized for Mode-X architecture.