delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/11/12:55:25

Message-ID: <00fa01bddda5$2ae2f060$342124c8@fsantiago.kbtel>
From: "Francisco Santiago V" <fsantiago AT kbtel DOT com>
To: <djgpp AT delorie DOT com>
Subject: help about DPMI, int 31
Date: Fri, 11 Sep 1998 11:56:49 -0500
MIME-Version: 1.0

This is a multi-part message in MIME format.

------=_NextPart_000_00F7_01BDDD7B.41E3B580
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,
=20
We are developing a communication program and we are using DJGPP =
compiler, that software needs to run in DOS so we are using CWSDPMI too.
=20
In the software we need to use enable and disable routines a lot with 31 =
interrupt, so my program run very slowly.=20
=20
I profiled my program with gprof and found that =
__dpmi_get_and_enable_virtual_interrupt_state uses 100% of the time, I =
read the BUGS file about CWSDPMI and found that Int 31 causes poor =
interrupt latency.
=20
How can solve my problem?
=20
P.S. When I run my program under Windows 95 It is very very fast. Are =
there any other DPMI server that could I use?
=20

------=_NextPart_000_00F7_01BDDD7B.41E3B580
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT color=3D#000000 size=3D2>Hello,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>We are developing a communication =
program and we=20
are using DJGPP compiler, that software needs to run in DOS so we are =
using=20
CWSDPMI too.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>In the software we need to use =
enable and=20
disable routines a lot with 31 interrupt, so my program run very slowly. =

</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I profiled my program with gprof and =
found that=20
__dpmi_get_and_enable_virtual_interrupt_state uses 100% of the time, I =
read the=20
BUGS file about CWSDPMI and found that Int 31 causes poor interrupt=20
latency.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>How can solve my problem?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>P.S. When I run my program under Windows 95 It is =
very very=20
fast. Are there any other DPMI server that could I use?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV></DIV></BODY></HTML>

------=_NextPart_000_00F7_01BDDD7B.41E3B580--


- Raw text -


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