www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/03/06:36:18

Date: Wed, 3 Feb 1999 13:32:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Paul Derbyshire <pderbysh AT usa DOT net>
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: <Pine.SUN.3.91.990203133142.29547Y-100000@is>
MIME-Version: 1.0
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.

- Raw text -


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