delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:4091 |
From: | Arash <ei39594 AT ios DOT chalmers DOT se> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Hardware switch video modes, in V2? |
Date: | 20 May 1996 14:43:07 GMT |
Organization: | Chalmers University of Technology |
Lines: | 29 |
Message-ID: | <4nq0dr$2a2@nyheter.chalmers.se> |
References: | <4ned4b$bsl AT freenet-news DOT carleton DOT ca> |
NNTP-Posting-Host: | sv31977.ios.chalmers.se |
Mime-Version: | 1.0 |
To: | ao950 AT FreeNet DOT Carleton DOT CA |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
-- ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) wrote: > > >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: Try this: void hsetmode (char mode) { __dpmi_regs regs; regs.x.ax=mode; __dpmi_int(0x10, ®s); } Easy, right?? --Arash _____ |\/\/\/| / \ ____________ | | _______________ \/\/ | | net sux... \ | | | way too much | | (c)(c) | he he cool..| | (o)(o) | MTV dad! | C .---_) | __________/ S _) \ ____________| | |.___| / / | ,___| __/ / | \__/ <__/ | / <____/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |