Skip to content

Double Lo Res Graphics

4am edited this page Jul 10, 2020 · 7 revisions

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

Compatibility: 128K //e, //c

Usage: include "inc/dgr.plh"

Values:

word[] dgrbuff

Functions:

dgrPlot(buff, x, y)#0
dgrHLin(buff, x1, x2, y)#0
dgrVLin(buff, x, y1, y2)#0
dgrBLT(buff, x, y, width, height, src)#0
dgrTile(buff, x, y, src)#0
dgrTileStr(buff, x, y, tilestr, strlen, tilebuff)#0
dgrFill(buff, x, y, tile)#0
dgrMode(mode)#1
dgrShow(page)#1
dgrColor(clr)#0
dgrLine(buff, x1, y1, x2, y2)#0
dgrClear(buff, clr)#0

Source Code: dgrlib.pla

Sample Source: dgrtest.pla