delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/30/01:33:33

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: screen
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <t7g5es43lfovclglmfrljlevquvc2193dt@4ax.com>
References: <MDvE4.9514$K9 DOT 87177 AT typhoon DOT nyroc DOT rr DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 18
X-Trace: /wLwTbZFPK5ih+ZzleyMQIUk6YSQw3KfwAxuSlqOKL7nDo7bh7kTlglTZ+3dSjmfZj8svZl/eSlm!JBBOj/Gf05cLF4jAJMzAtod7RzChMVO7qifumJfw7/zYdv1nosv60GlnvjavswSso7i61KB2wqny!EkfuwKw=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 30 Mar 2000 02:52:30 GMT
Distribution: world
Date: Thu, 30 Mar 2000 02:52:30 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 29 Mar 2000 22:40:44 GMT, "John" <fubu36 AT stny DOT rr DOT com> wrote:

>Is there a way to get what ever is printed to the screen at a certain x,y
>position and store it to a variable?

Depends on the screen mode.
In text mode, you can use farptr to get an alias for 32 KB of memory
starting at b8000.
In graphics mode, you can generally blit from the screen, but you
would need to write an OCR engine to make any sense of it.

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019