delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/20/19:15:23

Date: Tue, 20 Jan 1998 14:45:20 -0800 (PST)
Message-Id: <199801202245.OAA11141@adit.ap.net>
Mime-Version: 1.0
To: Fabrice ILPONSE <fabrice AT trash DOT lip6 DOT fr>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Vesa and DJGPP

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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019