Skip to content

Lo Res Graphics Library

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

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

Compatibility: 64K, ///

Usage: include "inc/gr.plh"

Values:

word[] grbuff

Functions:

grPlot(buff, x, y)#0
grHLin(buff, x1, x2, y)#0
grVLin(buff, x, y1, y2)#0
grBLT(buff, x, y, width, height, src)#0
grTile(buff, x, y, src)#0
grTileStr(buff, x, y, tilestr, strlen, tilebuff)#0
grFill(buff, x, y, tile)#0
grMode(mode)#1
grShow(page)#1
grColor(clr)#0
grLine(buff, x1, y1, x2, y2)#0
grClear(buff, clr)#0

Source Code: grlib.pla

Sample Source: grtest.pla

Clone this wiki locally