Date: Thu, 1 Feb 2001 11:10:05 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: DJGPP timer slowdown In-Reply-To: <95a7as$aie$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 31 Jan 2001 dcasale AT my-deja DOT com wrote: > First of all, I wrote a compression program using DJGPP to store all of > the files and file information (including long filenames, file > attributes, etc.) in one big file. To access the file information not > available through straight DOS -- since that's what I'm running under -- > I use direct disk access (INT13h, AH=042h, as well as other disk > access calls) to get at the info (for example, long filenames). Int 13h, AH=42h is an EBIOS call. AFAIK, EBIOS is part of the IDE controller, not of the system BIOS. As such, it is much less standard, and might do all kinds of tricks that never show in normal DOS/Windows operation, because AFAIK most programs don't call these functions directly. In other words, you are well advised to avoid using them. (I don't even understand why did you need to go to low-level disk I/O functions instead of using normal file I/O.)