Reading screen info from memory address.
I have a very specific question/problem. I am writing a
program that creates a graphic image
that takes up all of the VGA 640 X 480 video mode. I then
print it from the screen using GetPixel to determine if the
pixels are black or not. (Only black pixels are to be
printed). Anyways, my problem is that I don't want to have
to read the pixels directly from the screen.
I know how to use GetImage to save the screen's information,
and also how to save that to disk. Then, I can retrieve
that information into a variable of type
TYPE
ImageType = RECORD
BitMap : POINTER;
Size : WORD;
END;
VAR
Image : ImageType;
Okay, the question is this: Does ANYONE know how I can just
read directly from this variable like I can with GetPixel?
JUST FOR THE INFO: The reason I don't want to read from the
screen is that I want to be able to show a printing progress
box and some program information. If I read directly from
the screen, then these items get printed as well.
Thank you for any advice you can give.
Hugh
P.S. I understand VERY little about Turbo Vision.