[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProDOS Plus



mdj <mdj.mdj@gmail.com> wrote:
>> Sparse files were available already in Apple DOS 3.3 as well as in CP/M-80,
>> both of which predated ProDOS.
> 
> Curious. I never saw one in DOS 3.3, and didn't do a lot with CP/M.

Random-access text files can be sparse.  For example, in the CiderPress
tutorial sample disk image (an 800K disk with a DOS partition), there's a
sparse file called "RANDOM:L128":

 Name                             Type Auxtyp Modified         Format   Length
------------------------------------------------------------------------------
 TestFiles                        DIR  $0000  17-Jan-03 19:27  ProDOS      512
 TestFiles:SPARSE                 NON  $0000  11-Jan-03 16:24  ProDOS 16777215
 TestFiles:EMPTY.SPARSE           NON  $0000  11-Jan-03 15:54  ProDOS    43969
 TestFiles:EMPTY.SPARSE.R         NON+ $0000  11-Jan-03 15:51  ProDOS     6844
[...]
 _DOS001:RANDOM:L128              TXT  $0000  [No Date]        DOS      384030


I hadn't realized that was possible until I had to implement them. :-)

-- 
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/