Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Eli Zaretskii , djgpp AT delorie DOT com, spector AT EnchantedLearning DOT com Date: Mon, 22 Sep 1997 14:37:00 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: DJGPP, interprocess communication, and DPMI Precedence: bulk Eli Zaretskii 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