Date: Tue, 20 Jan 1998 14:45:20 -0800 (PST) Message-Id: <199801202245.OAA11141@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" To: Fabrice ILPONSE , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Vesa and DJGPP Content-Transfer-Encoding: 8bit Precedence: bulk At 02:29 1/20/1998 +0100, Fabrice ILPONSE wrote: >Sérgio Vale e Pace wrote: >> >> Can Somebody out there tell me... >> which is the fastest way to do bank switching under Vesa 1.X >> implementations in protected mode? >> The interrupt call is the easier but in real mode look like direct >> call is faster, but how I can use direct call in protected mode and it's >> still faster? >> >> Sérgio Vale e Pace > >You can't!!! > The problem is that the vesa 1.2 routine returns with a 16:16 return >adress when the djgpp code "segement" is 32bits and the selector 16 bits >so a far ret of 16:32. You could use `__dpmi_simulate_real_mode_procedure_retf' but I suspect it will be slower. Nate Eldredge eldredge AT ap DOT net