Test for status of a pixel on DMD terminal.

Doug Gwyn gwyn at brl-smoke.ARPA
Wed Dec 17 02:13:27 AEST 1986


In article <182 at olamb.UUCP> kimcm at olamb.UUCP (Kim Chr. Madsen) writes:
>Is there a way of telling whether a pixel is set or not, on the
>the AT&T 5620 Terminal (aka DMD & Blit) ?

There isn't any standard function that I know of,
probably due to this being a fairly rare need.
A simple kludge that will suffice is to clear a
scratch word then bitblt() the point into it,
followed by testing the scratch word for nonzero.

>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**!

<blitio.h> works okay here.  You didn't supply enough
information to permit remote debugging.



More information about the Comp.sys.att mailing list