delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: __go32__dpmi ? |
Date: | 19 Jun 2000 11:49:10 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 23 |
Message-ID: | <8il1bm$c5g$1@nets3.rz.RWTH-Aachen.DE> |
References: | <lju25.4987$Xx5 DOT 322217 AT bgtnsc06-news DOT ops DOT worldnet DOT att DOT net> <200006170739 DOT KAA17880 AT alpha DOT netvision DOT net DOT il> <O2T25.7196$C44 DOT 412796 AT bgtnsc05-news DOT ops DOT worldnet DOT att DOT net> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 961415350 12464 137.226.32.75 (19 Jun 2000 11:49:10 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 19 Jun 2000 11:49:10 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
smile773 <smile773 AT bigfoot DOT com> wrote: > Dos realmode apps even in pc dos 2000 set the text and > background, I like consistent user set color. Yes I can > write to int 10h but another app will mess up the screen. > I need a place where I can catch service calls and swap > user defined values, why not dpmi ? Because those calls issued by realmode apps won't be going through DPMI, in the first place. To do what you want, you'll have to hook int 10h in a TSR program and block all calls that would change the text colours. And even then, you'ld still be fooled by programs that directly write to the textmode framebuffer (i.e. all programs using direct lowlevel I/O). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |