Int 10H [CGA] [PCjr] [EGA] [MCGA] [VGA] Function 0CH (12) Write graphics pixel

Draws a point on the display at the specified graphics coordinates.

Call with:

AH = 0CH

AL = pixel value

BH = page

CX = column (graphics x coordinate)

DX = row (graphics y coordinate)

Returns:

Nothing

Notes:

The range of valid pixel values and (x,y) coordinates depends on the current video mode.

If bit 7 of AL is set, the new pixel value will be exclusive-OR'd (XOR) with the current contents of the pixel.

Register BH is ignored for display modes that support only one page.