From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddy Setyawan" Subject: Re: Dosemu Slower than CMD Date: Fri, 30 May 2008 15:40:31 +0700 Message-ID: <34cfb2e90805300140w5951e192k4880d0ea06e06acf@mail.gmail.com> References: <34cfb2e90803150947l4bf52c93g73289365331ebec1@mail.gmail.com> <47DCF93F.10404@hanzlici.cz> <34cfb2e90805291019r1f2db5dew81fac5e6f6184f76@mail.gmail.com> <483FBA89.5070207@hanzlici.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <483FBA89.5070207@hanzlici.cz> Content-Disposition: inline Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Frantisek Hanzlik Cc: linux-msdos@vger.kernel.org hello Frantistek, Which segment you try ? I mean slow is at menu Master -> Persediaan -> Ubah Harga Jual, while entering this section application cpu usage jump to 100% and waiting to load all data is takes time than CMD does... even at windows i try it with shared drive some alert dialog also eat CPU but after search around i found that clipper function for alert dialog has some bug On Fri, May 30, 2008 at 3:27 PM, Frantisek Hanzlik wrote: > As I wrote in my previous mail, in tested program segment is about > 200000 times called INT0x16 Fn 0x11 : Check_Enhanced_Keystroke. > In corresponding dosemu routines in "base/bios/int16.c" are called > some delay functions - maybe these may add some delay to program > execution. > On my system CLK_TCK=100 (ticks/sec), thus JIFFIE_TIME=10000 and > INT2F_IDLE_USECS=80000 (=> 80msec delay). > But as I wrote, on my faster PC exec time was 3 sec, thus delay > added in INT16 can't be longer. > > Bart Oldeman probably can say more about this. > -- regards, Eddy Setyawan http://eddysetyawan.blogspot.com +6208123049592 -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GB/IT d--()>+ s++:+ a- C+++@ !ULC++>++++ P L+++(++++)@>++++ !E-- W++@? N !o K--? w-- !O !M !V PS PE+@ !Y PGP@>++ t+ 5 X !R tv-(--) b DI D+ G++ e++ h--->---- r+++ z+++ ------END GEEK CODE BLOCK------