Xref: news2.mv.net comp.os.msdos.djgpp:2476 From: nicolas AT dsys DOT ceng DOT cea DOT fr (Eric NICOLAS) Newsgroups: comp.os.msdos.djgpp Subject: Re: Graphics Mode Switching Date: 5 Apr 1996 08:15:33 GMT Organization: C.E.A. france Lines: 24 Message-ID: <4k2kr5$5ce@news.cea.fr> References: Reply-To: nicolas AT dsys DOT ceng DOT cea DOT fr NNTP-Posting-Host: hudson.ceng.cea.fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > What is the recommended way to change video modes using djgpp >v2.x? I have tried using the BIOS video interupt 0x10 through the >library function _go32_dpmi_simulate_int (...) and the compiled program >would hang or cause a general protection exception in a DOS-box under >Win95. Is this the only method currently available under djgpp to switch >video modes, or can I opt to using direct port access? Exactly how is >direct port access handle under the djgpp run-time environment anyhow? The problem is to access screen under DPMI. Just download the library grx20 from where you get djgpp v2. With it you will be able to witch to any graphic mode, and to draw in it (pixels, lines, fonts, textures brush....). Hope it helps. -- Eric Nicolas Take a look to the SWORD home page : http://mimine.iut.univ-metz.fr/~borysgr/sword.web/home.html