delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/08/20:23:13

Message-ID: <35034386.52CE@tin.it>
Date: Mon, 09 Mar 1998 02:19:55 +0100
From: Vincenzo Morello <morellov AT tin DOT it>
Reply-To: morellov AT tin DOT it
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
Subject: Re: _bios_disk() inefficiency
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980308133407 DOT 22686H-100000 AT is>

Eli Zaretskii wrote:
> 
> On Wed, 4 Mar 1998, Vincenzo Morello wrote:
> 
> > I get very low performance in a DJGPP V2 program which has to read large
> > disk data in low level mode.
> > I use _bios_disk() to read the disk and the program runs *five times*
> > slower than in Borland real mode.
> 
> You don't tell much about your program, so it's hard to give any smart
> advice.  Theoretically, you could make a DJGPP version 1000 times
> slower if you, for example, called the BIOS for every byte you needed
> to read. 
...

Sorry, there was a problem in my reading loop (polling events under GRX).

Now I get good performance in DJGPP as well as in BC. I only have to reduce
the number of sectors-to-read to 18 (BC allows a maximum of 127).

Everything's Ok however.

Thanks,
Vincenzo

- Raw text -


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