DBOS Graphics

In this section:

CLEAR_SCREEN@

Clears the drawing surface.

ü

CLEAR_SCREEN_AREA@

Clears a rectangular area of the drawing surface.

þ

COMBINE_POLYGONS@

Gets the handle for a combination of polygons.

ð

CREATE_POLYGON@

Gets a handle for a specified polygon.

ð

DELETE_POLYGON_DEFINITION@

Deletes a polygon definition.

ð

DRAW_HERSHEY@

Draws an Hershey character.

ð

DRAW_LINE@

Draws a straight line on the drawing surface.

ð

DRAW_TEXT@

Draws text on the drawing surface.

ð

EGA@

Switches to EGA graphics mode.

ELLIPSE@

Draws an ellipse.

ð

FILL_ELLIPSE@

Fills an ellipse.

ð

FILL_POLYGON@

Fills a polygon.

ð

FILL_RECTANGLE@

Fills a rectangle.

ð

GET_ALL_PALETTE_REGS@

Gets all palette registers for colour graphics.

ð

GET_DEVICE_PIXEL@

Gets a pixel colour from a graphics region.

û

GET_GRAPHICS_MODES@

Gets details of all the graphics modes.

GET_GRAPHICS_RESOLUTION@

Gets details of the high resolution graphics mode.

GET_PIXEL@

Gets a pixel colour from the drawing surface.

ð

GET_TEXT_MODES@

Gets information about the available text modes.

û

GET_TEXT_SCREEN_SIZE@

Gets the resolution of the current text mode.

û

GET_VIDEO_DAC_BLOCK@

Gets a block of VGA DAC registers.

ð

GRAPHICS_MODE_SET@

Sets the graphics mode to a given resolution.

ð

GRAPHICS_WRITE_MODE@

Selects replace/XOR mode before writing to the screen, virtual screen or printer.

ü

HERSHEY_PRESENT@

Tests if a character number has a Hershey representation.

ð

HIGH_RESOLUTION_GRAPHICS_MODE@

Switches to high resolution graphics mode.

IS_TEXT_MODE@

Tests if the screen is in text or graphics mode.

û

LOAD_STANDARD_COLOURS@

Loads the standard colours for 256 colour mode.

ü

MOVE_POLYGON@

Moves the position of a polygon.

ð

POLYLINE@

Draws a number of connected straight lines.

ð

RECTANGLE@

Draws a rectangle.

ð

RESTORE_GRAPHICS_BANK@

Restores the graphics bank after a BIOS call.

RESTORE_TEXT_SCREEN@

Restores a text screen saved with SAVE_TEXT_SCREEN@.

û

SAVE_TEXT_SCREEN@

Saves the whole of the text screen.

û

SCREEN_TYPE@

Gets the graphics screen type.

SET_ALL_PALETTE_REGS@

Sets all palette registers for colour graphics.

ð

SET_DEVICE_PIXEL@

Sets a pixel colour on the drawing surface.

þ

SET_PALETTE@

Sets a palette register for colour graphics.

ð

SET_PIXEL@

Sets a pixel colour on the drawing surface.

ð

SET_TEXT_ATTRIBUTE@

Sets the current graphics text attributes.

þ

SET_VIDEO_DAC@

Sets a VGA DAC register.

ð

SET_VIDEO_DAC_BLOCK@

Sets a block of VGA DAC registers.

ð

TEXT_MODE@

Returns to text mode.

TEXT_MODE_SET@

Selects the current text mode.

USE_VESA_INTERFACE@

Forces the VESA interface to be used.

VGA@

Switches to VGA graphics mode.

 

 

Basket
Empty
 
Copyright © 1999-2020 Silverfrost Limited