Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!noose.ecn.purdue.edu!mentor.cc.purdue.edu!j.cc.purdue.edu!brazil.psych.purdue.edu!zhou From: zhou@brazil.psych.purdue.edu (Albert Zhou) Newsgroups: comp.lang.pascal Subject: Re: Graphic-screen to disk Message-ID: <11492@j.cc.purdue.edu> Date: 16 Nov 90 23:18:32 GMT References: <25017@adm.brl.mil> Sender: news@j.cc.purdue.edu Reply-To: zhou@brazil.psych.purdue.edu (Albert Zhou) Organization: Purdue University Lines: 16 Here is my diagnosis: (1) If it is for CGA, the address is obviously wrong. CGA start from $BA00:0. (2) If it is for EGA or VGA, 64K is far from enough. The best solution is use GetImage, then TP will handle things about image buffer size and address, and your program will be independent of which kind of graphics driver your are using. The limitation of this solution is that if the size of image buffer is over 64K, you have to divide the screen into serveral pieces so that each piece is under 64K. If you know the cocrrect address and and size of the video buffer, you can use Block write, which is probably the fastest.