delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/04/03:11:07

Message-Id: <3.0.6.32.19990204030207.008e0780@pop.netaddress.com>
X-Sender: pderbysh AT pop DOT netaddress DOT com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Thu, 04 Feb 1999 03:02:07 -0500
To: djgpp AT delorie DOT com
From: Paul Derbyshire <pderbysh AT usa DOT net>
Subject: Re: Q: Forcing mode CO80
In-Reply-To: <36B7A2EF.D1D49DE0@cartsys.com>
References: <3 DOT 0 DOT 6 DOT 32 DOT 19990202110837 DOT 008059f0 AT pop DOT netaddress DOT com>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

At 05:14 PM 2/2/99 -0800, you wrote:
>#include <dpmi.h>
>
>void set_mode(int m)
>{
>  __dpmi_regs r;
>  r.h.ah = 0;
>  r.h.al = m;
>  __dpmi_int(0x10, &r);
>}
>
>int get_mode(void)
>{
>  __dpmi_regs r;
>  r.h.ah = 0x0f;
>  __dpmi_int(0x10, &r);
>  return r.h.al;
>}

Thanks.

Could you give me a URL to read that interrupt list online though? And
possibly download as HTML? I prefer that to info files and to messing with
ftp. FTP is a fine and reliable protocol, but nearly all ftp sites I've run
across are unreliable... it seems the *server code* for ftp is notoriously
unreliable, it's always a real hassle getting things by ftp.


-- 
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."    -------------------------------------------------
        -- B. Mandelbrot  |http://surf.to/pgd.net
_____________________ ____|________     Paul Derbyshire     pderbysh AT usa DOT net
Programmer & Humanist|ICQ: 10423848|

- Raw text -


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