Date: Wed, 3 Feb 1999 13:32:05 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Paul Derbyshire cc: djgpp AT delorie DOT com Subject: Re: Q: Forcing mode CO80 In-Reply-To: <3.0.6.32.19990202110837.008059f0@pop.netaddress.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 2 Feb 1999, Paul Derbyshire wrote: > Can anyone exhibit for me a snippet of code that retrieves the current > video mode code number and one that sets an arbitrary video mode by number? For getting the mode, either call function 0Fh of interrupt 10h, or look at _farpeekb(_dos_ds, 0x449). For setting the mode, call function 0 of interrupt 10h.