From: "jud" Newsgroups: comp.os.msdos.djgpp Subject: correction to problem Date: Thu, 3 Sep 1998 16:35:07 -0700 Organization: http://www.supernews.com, The World's Usenet: Discussions Start Here Lines: 60 Message-ID: <6sn9ia$jco$1@supernews.com> References: <6sl05n$e8h$1 AT supernews DOT com> NNTP-Posting-Host: 208.145.132.123 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_006E_01BDD758.CF922FC0" To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_006E_01BDD758.CF922FC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable it causes an illigeal operation, not protection fault jud wrote in message <6sl05n$e8h$1 AT supernews DOT com>... I keep getting an error on this function, any ideas?=20 =20 =20 =20 void vganorm() { =20 __dpmi_regs r; =20 r.x.ax =3D 3; =20 __dpmi_int(0x10, &r); =20 } =20 ------=_NextPart_000_006E_01BDD758.CF922FC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
it causes an illigeal operation, not = protection=20 fault
jud wrote in message <6sl05n$e8h$1 AT supernews DOT com= >...

I keep getting an error on this function, any ideas? 

 

void vganorm() {

__dpmi_regs r;

r.x.ax =3D 3;

__dpmi_int(0x10, &r);

}

------=_NextPart_000_006E_01BDD758.CF922FC0--