delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/20/10:06:58

From: Fabrice ILPONSE <fabrice AT trash DOT lip6 DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Vesa and DJGPP
Date: Tue, 20 Jan 1998 14:29:23 +0100
Organization: Universites Paris VI/Paris VII - France
Lines: 24
Message-ID: <34C4A6B3.6863@trash.lip6.fr>
References: <34C442EE DOT 432CB2A4 AT gold DOT com DOT br>
NNTP-Posting-Host: asim.lip6.fr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

-- 
	^ ^ ^
	| | |
	+-+-+	Fabrice ILPONSE
	  |	<fabrice AT asim DOT lip6 DOT fr>
	  |
	  |
	  -

- Raw text -


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