Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!b.gp.cs.cmu.edu!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.sys.ibm.pc Subject: Re: detection of 43/50/... line modes Message-ID: <2610c536@ralf> Date: 28 Mar 90 13:07:50 GMT Sender: ralf@b.gp.cs.cmu.edu Organization: Carnegie Mellon University School of Computer Science Lines: 16 In-Reply-To: <58consult@physc1.byu.edu> In article <58consult@physc1.byu.edu>, consult@physc1.byu.edu wrote: } Is there a standard way to detect the number of lines an EGA or VGA display }adapter is currently using? It seems to me that there should be an address in }the ROM data area that contains this info... Anybody know where? What about If an EGA or higher is present (check with INT 10h/AH=12h/BL=10h), then the byte at 0040h:0084h contains the number of the last row on the screen (total lines less one). -- UUCP: {ucbvax,harvard}!cs.cmu.edu!ralf -=- 412-268-3053 (school) -=- FAX: ask ARPA: ralf@cs.cmu.edu BIT: ralf%cs.cmu.edu@CMUCCVMA FIDO: Ralf Brown 1:129/46 "How to Prove It" by Dana Angluin Disclaimer? I claimed something? 16. proof by cosmology: The negation of the proposition is unimaginable or meaningless. Popular for proofs of the existence of God.