Newsgroups: comp.sys.apple2
Path: utzoo!utgpu!cunews!micor!taob
From: taob@micor.ocunix.on.ca (Brian Tao)
Subject: Re: Disk Reading
Organization: M.B. Cormier INC.
Date: Mon, 17 Jun 91 08:01:27 EDT
Message-ID: <5wPo41w162w@micor.ocunix.on.ca>
References: <1991Jun15.140311.5186@cs.uow.edu.au>
Sender: view@micor.ocunix.on.ca (View)

u9050728@cs.uow.edu.au (Shane Kelvin Richards) writes:

> 
> 	Hello. I was wondering if anyone knows the "theory" behind how FTA
> and others have been able to write really fast disk readers (be it for
> copying or demos). Are they talking "directly" to the IWM? Why is it so
> much faster than the standard read?

    The FTA demos have all their code arranged so that you can simply do a 
sequential block read from the disk, and it will all magically fall into 
place in memory.  Normal file operations (like under GS/OS) obviously cannot 
assume this, so when a group of files is read from disk, the OS has to check 
various other tags on the disk (directory entry, block pointers, etc.)  You 
can't get the Apple 3.5" drive to read any faster than about 32K/sec or so. 
The specs say 64K/sec, but I have never seen it go _that_ fast (no matter 
what interleave or computer I use it on...)
