Xref: news2.mv.net comp.os.msdos.djgpp:1989 Newsgroups: comp.os.msdos.djgpp From: kunst AT natlab DOT research DOT philips DOT com (Pieter Kunst) Subject: Re: Finding what graphic modes there are Sender: news AT natlab DOT research DOT philips DOT com (USENET News System) Message-ID: Date: Tue, 19 Mar 1996 12:46:27 GMT References: <617A6926E0 AT fs2 DOT mt DOT umist DOT ac DOT uk> Organization: Philips Research Laboratories, Eindhoven, The Netherlands Lines: 11 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <617A6926E0 AT fs2 DOT mt DOT umist DOT ac DOT uk> "A.Appleyard" writes: [stuff deleted] >r.h.bl=intno; r.h.bh=0; r.x.cx=0; r.x.di=(int)&S; >if(intno==0x21 && S.x.ax==0x4b00) {r.x.ax=0xff0a; int86(0x21,&r,&s);} /*child*/ >else {r.x.ax=0x0300; int86(0x31,&r,&s);} >R=S; return R.d.eax;} [more stuff deleted] Perhaps http://reality.sgi.com/csp/ioccc/ is a better platform to post source code like this :-)