1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-10-31 16:04:48 +00:00
7 Double Lo Res Graphics
4am edited this page 2020-07-09 20:16:21 -04:00

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