Xref: news2.mv.net comp.os.msdos.djgpp:3930 From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Hardware switch video modes, in V2? Date: 16 May 1996 05:06:19 GMT Organization: The National Capital FreeNet Lines: 18 Sender: ao950 AT freenet5 DOT carleton DOT ca (Paul Derbyshire) Message-ID: <4ned4b$bsl@freenet-news.carleton.ca> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet5.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I am a V1 user (a satisfied one!) about to upgrade to V2. To ensure I can still work with old programs that used a call to int 10 to change video modes I need to know what DPMI gobbledygook I need to replace this with: void hsetmode (char mode) { union REGS regs; regs.h.ah=0; regs.h.al=mode; int86 (0x10, ®s, ®s); } -- .*. "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 | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca