From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Re: code for changing monitor refresh rate Date: 21 May 1999 16:37:58 GMT Organization: The South African Internet Exchange Lines: 32 Message-ID: <01bea15c$aadfa800$LocalHost@default> References: <199905171023 DOT MAA02459 AT acp3bf DOT physik DOT rwth-aachen DOT de> NNTP-Posting-Host: pc36-01-p51.nt.saix.net X-Trace: news3.saix.net 927304678 7145 155.239.194.51 (21 May 1999 16:37:58 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 21 May 1999 16:37:58 GMT X-Newsreader: Microsoft Internet News 4.70.1155 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote in article <199905171023 DOT MAA02459 AT acp3bf DOT physik DOT rwth-aachen DOT de>... > In article <373DA671 DOT 1B605C61 AT unb DOT ca> you wrote: > > Mark Elliott wrote: > > > > Does anyone know of a source for (C or ASM) code with which I can set a > > > custom monitor refresh rate in MSDOS. > > > I've been looking for this for a while as well. I haven't found > 2) There cannot possibly be a general method to do this. The basic > thing is that the graphic card hardware has to be set up differently, > and this means if the card vendor doesn't support you, you're most > likely stuck. At the very least, you'ld have to write your own 100% > hardware-specific, and *very* low-level kind of code, here. Think in > terms of timing-critical, probably 100% undocumented port writes, or > worse. I agree - some modex code for real mode I tried in DJGPP just would not work - the NASM code seemed to resolve into other opcodes and stuff that didn't want to interface with my Trident like the real mode program the original TASM assembly came from... -- Spawned By Rylan Rylan AT intekom DOT co DOT za http://home.intekom.com/rylan/ Power Overwhelming