delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/25/07:40:55

Date: Tue, 25 Aug 1998 14:34:46 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Endlisnis <s257m AT unb DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: Can a DOS Console App close its own window?
In-Reply-To: <35E02B0E.483D799C@unb.ca>
Message-ID: <Pine.SUN.3.91.980825143415.7520D-100000@is>
MIME-Version: 1.0

On Sun, 23 Aug 1998, Endlisnis wrote:

>     Is it faster (under Win95) to call 'literal int' than dpmi_int?

The answer (as always with Microsoft) is probably ``it depends''.  It
probably depends on which function of what iterrupt do you invoke like
this.  I could easily imagine that some functions would be faster if
invoked via __dpmi_int, since at least some of the thunking layers
(through which Windows goes while processing real-mode interrupts) are
bypassed.

But I really don't know, since I never tried to time these.
Personally, I usually prefer to call __dpmi_int in all cases, for the
reason that it is safer.

- Raw text -


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