Mail Archives: djgpp/1998/01/20/19:15:23
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 -