Re: Dosemu Slower than CMD

Frantisek Hanzlik
2008-05-30T08:56:28Z

Yes, I tried this section. Times are from pres Enter key at
"Ubah Harga Jual" to obtain some data - these appear as:

Browse Search Edit Add Del Print Restrukturisasi
Melihat data-data dalam bentuk daftar
║A CV. MITRA BANGUNAN 20/03/2008║
┌────────────────────────────── GROUP/ SUB GROUP ──────────────────────────────┐
│ Kode Group : 00001 │
│ Nama : PT NIPSEA PAINT │
│ Kd. Group Induk : ( ) │
│ Jenis Group : F ( Induk ) Level : 1 │
│ Harga Sales : 0 Ubah Harga : 2 Tidak │
│ Harga Toko : 0 │
│ Terakhir Ganti : Oleh : │
│───────────────┬────────────────────────────────────────┬──────────┬──────────│
│Kode Barang │ Nama Barang │ H. Sales │ H. Toko │
│1000001 │KIMEX CAT TEMBOK 5KG BS9102SS WHITE │ 0│ 0│
│1000002 │KIMEX CAT TEMBOK 5KG 680 COTTON WHITE │ 0│ 0│
│1000003 │KIMEX CAT TEMBOK 5KG BS9102 WHITE │ 0│ 0│
│1000004 │KIMEX CAT TEMBOK 5KG 900 EXTRA WHITE │ 0│ 0│
│1000005 │KIMEX CAT TEMBOK 5KG 660SB BRILLIANT WHI│ 0│ 0│
│1000006 │KIMEX CAT TEMBOK 5KG 600 DIVINITY │ 0│ 0│
│1000007 │KIMEX CAT TEMBOK 5KG 604 SPANISH WHITE │ 0│ 0│
│1000008 │KIMEX CAT TEMBOK 5KG 603 SUSU │ 0│ 0│
│1000009 │KIMEX CAT TEMBOK 5KG 607 BROKEN WHITE │ 0│ 0│
│1000010 │KIMEX CAT TEMBOK 5KG 616 CREAM │ 0│ 0│
└──────────────────────────────────────────────────────────────────────────────┘
Esc˙Quit ←→,Enter˙Menu Home˙First PgUp˙Prev PgDn˙Next End˙Last

CPU load I not measure, but as I said, 100% load may be OK.

Note I must set DOS date to March 2008.

Franta

Eddy Setyawan wrote:
> 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<franta@hanzlici.cz> 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.
>>
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html