Sender: nate AT cartsys DOT com Message-ID: <36BA7412.E46A7C75@cartsys.com> Date: Thu, 04 Feb 1999 20:31:14 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Q: Forcing mode CO80 References: <3 DOT 0 DOT 6 DOT 32 DOT 19990202110837 DOT 008059f0 AT pop DOT netaddress DOT com> <3 DOT 0 DOT 6 DOT 32 DOT 19990204030207 DOT 008e0780 AT pop DOT netaddress DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Paul Derbyshire wrote: > > At 05:14 PM 2/2/99 -0800, you wrote: > >#include > > > >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. Well, coincidentally it lives at: http://www.delorie.com/djgpp/doc/rbinter/ -- Nate Eldredge nate AT cartsys DOT com