delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/22/13:14:25

Message-Id: <m0xD6Or-000S1kC@inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp AT delorie DOT com,
spector AT EnchantedLearning DOT com
Date: Mon, 22 Sep 1997 14:37:00 +0000
MIME-Version: 1.0
Subject: Re: DJGPP, interprocess communication, and DPMI

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> On Thu, 18 Sep 1997, Salvador Eduardo Tropea (SET) wrote:
> 
> > At least in my system the Windows clipboard seems to be slower than
> > a virtual disk or even the HD with enough cache.
> > I don't know why but the Win 3.1 clipboard works very slow (I tried coping 
> > 300Kb from write).
> 
> How slow?  Can you post some numbers (e.g., a comparison between
> `memcpy' of 100KB and `dosmemput' 100KB into the clipboard?
> 
> Most of the clipboard access is just copying data from protected-mode
> memory to conventional memory.  If you use `movedata' or `dosmemput',
> it shouldn't be slower than any other block move.
I never timed it, but I CAN see the time. The slow part isn't the call to copy 
but the call to the routine that meassures the length of the chunk.
It takes much more than a memcpy (I can see the time of the memcpy while 
debugging, it seems to be instantaneouslly to the human eyes, but the time 
needed to report the length of a 350Kb clipboard by the WindOldApp routine is 
very high because I can see the delay. I saw what function is debugging, the 
step in the interrupt call for this services isn't fast at all.

> > I think one solution could be a real mode TSR loaded before windows.
> 
> This might or might not work with Windows 95, because it catches
> real-mode interrupts on different levels and not always lets them go
> all the way down to your TSR.

Are you sure that Win95 will interfer a TSR loaded before the GUI and that only 
uses the multiplex?, I don't thing so. If Lose '95 makes that it breaks a lot 
of TSRs. 
But the only way to know is just try.

SET 
 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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