From: rjvdboon AT cs DOT vu DOT nl Newsgroups: comp.os.msdos.djgpp Subject: Re: problem with returning to mode 3 Date: 3 Sep 1998 11:56:04 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 26 Message-ID: <6sm04k$aia$1@star.cs.vu.nl> References: <6sl05n$e8h$1 AT supernews DOT com> <6sltiu$t82$1 AT hyperion DOT nitco DOT com> NNTP-Posting-Host: sloep24.cs.vu.nl User-Agent: tin/pre-1.4-980730 (UNIX) (SunOS/5.5.1 (sun4u)) Originator: rjvdboon AT sloep24 DOT cs DOT vu DOT nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Nick wrote: > I think that you are supposed to pass it like this: 0x03 Nope, 0x03==3, so that doesn't matter (Or am I getting crazy??) > Nick Maxwell > dotproduct AT usa DOT net > Spectrum Innovations > http://www.itv.se/~a1066/spectrum > > 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 = 3; > __dpmi_int(0x10, &r); > } What's the error? hth, Robert. -- rjvdboon AT cs DOT vu DOT nl | "En dat is niet waar!" sprak ex-Staatsecretaris- www.cs.vu.nl/~rjvdboon | van-onderwijs Netelenbos fel.