Mail Archives: djgpp/1999/02/04/03:11:07
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 -