Test for status of a pixel on DMD terminal.

Kim Chr. Madsen kimcm at olamb.UUCP
Mon Dec 8 19:26:36 AEST 1986


Is there a way of telling whether a pixel is set or not, on the
the AT&T 5620 Terminal (aka DMD & Blit) ?

What I need is something like:

	int pixel(p)
	Point p;

Returning information on the status of the pixel (on/off), I know, I can
get the 32-bit word containing the pixel-bit - but calculating which bit's
the right isn't easy when you don't know the size of the layer running the
application.

BTW:

Is there something wrong with <blitio.h>, since when I include it - my
program won't run and I have to make do without the routines needing the
header file to be included - Making I/O to the UNIX host a pain in the a**!

				Best Regards
				Kim Chr. Madsen



More information about the Comp.sys.att mailing list