Mail Archives: djgpp/1999/02/04/23:34:06
Paul Derbyshire wrote:
>
> 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.
Well, coincidentally it lives at:
http://www.delorie.com/djgpp/doc/rbinter/
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -