delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/08/15:16:19

From: Bill Currie <bcurrie AT tssc DOT co DOT nz>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: _bios_disk() inefficiency
Date: Mon, 09 Mar 1998 08:18:46 +1300
Organization: Telecommunication Systems Support Centre
Lines: 20
Message-ID: <3502EF16.432A@tssc.co.nz>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980308162836 DOT 23333A-100000 AT is>
NNTP-Posting-Host: node106.tssc.co.nz
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii wrote:
[bios disk]
> Even so, reading several 64b-long buffers one after the other will be
> faster with floppies, since you don't need to wait till the motor spins
> up.

Still can't do that even.  biosdisk (and any related names) are limited
to 18 sectors (9k).  For floppies, that will be (almost) the maximum
speed up possible, and for hard disks, it's as good as you're going to
get.  Doing this made one of my programs about 4 times faster.

> Anyway, all of this is academic, since the original message didn't even
> tell that a floppy was being read (as opposed to a hard disk).

Doesn't really matter, reading as much as possible at a time is still
your best bet.

Bill
-- 
Leave others their otherness

- Raw text -


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