From: Fabrice ILPONSE 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 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 | | | -