From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frantisek Hanzlik Subject: Re: Dosemu Slower than CMD Date: Fri, 30 May 2008 10:27:53 +0200 Message-ID: <483FBA89.5070207@hanzlici.cz> References: <34cfb2e90803150947l4bf52c93g73289365331ebec1@mail.gmail.com> <47DCF93F.10404@hanzlici.cz> <34cfb2e90805291019r1f2db5dew81fac5e6f6184f76@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <34cfb2e90805291019r1f2db5dew81fac5e6f6184f76@mail.gmail.com> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Eddy Setyawan Cc: linux-msdos@vger.kernel.org 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.