2 Hi Res Graphics
4am edited this page 2020-07-09 20:14:19 -04:00

Useful functions to make drawing on the hi-res screen much easier.

Compatibility: 64K

Usage: include "inc/hgr.plh"

Values:

Functions:

hgrPlot(x, y)#0
hgrXorPlot(x, y)#0
hgrHLin(x1, x2, y)#0
hgrVLin(x, y1, y2)#0
hgrCopyDst(x, y, w, h)#0
hgrCopySrc(x, y, w, h)#0
hgrOrSrc(x, y, w, h)#0
hgrAndSrc(x, y, w, h)#0
hgrXorySrc(x, y, w, h)#0
hgrBLT(x, y, width, height, src)#0
hgrRect(x, y, tile)#0
hgrMode(mode)#1
hgrShow(page)#1
hgrColor(clr)#0
hgrClear(buff, clr)#0

Source Code: hgrlib.pla

Sample Source: hgrtest.pla