/* @(#)bbcplot.h	1.4 (mg@ukc) 23/1/86 */
#define	MOVE	0
#define DRAWF	1	/* Draw line on foreground colour */
#define DRAWI	2	/* Invert line */
#define DRAWB	3	/* Draw line in background colour */

#define REL	0	/* Relative motion */
#define ABS	4	/* Absolute motion */

#define NOEND	8
#define DOTTED	16
/* 32-63 reserved for graphics extension ROM */
#define POINT	64
#define	FILL	72 /* Manual says "72-79 reserved" */
#define TRIANGLE 80
#define BLANK	88 /* Manual says "88-255 reserved" */

/*
#define BLACK	0
#define RED	1
#define GREEN	2
#define YELLOW	3
#define BLUE	4
#define MAGENTA	5
#define CYAN	6
#define WHITE	7
#define FLASH	8
#define BACKGROUND 128

#define PLOT	0
#define BBCOR	1
#define BBCAND	2
#define XOR	3
#define INV	4
*/

#define BBCWIDTH	1280
#define BBCHEIGHT	1024
#define BBCCPL		80	/* chars per line */
#define BBCLPP		32	/* lines per page */
#define HOR		2	/* number of coordinates per real pixel */
#define VERT		4

typedef char grid[8];
