Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ucbvax.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!mhuxn!houxm!ihnp4!ucbvax!dillon
From: dillon@ucbvax.ARPA (The Sherif "Matt D.")
Newsgroups: net.micro.cbm
Subject: Re: A 1541 DOS question
Message-ID: <3617@ucbvax.ARPA>
Date: Mon, 3-Dec-84 16:11:35 EST
Article-I.D.: ucbvax.3617
Posted: Mon Dec  3 16:11:35 1984
Date-Received: Tue, 4-Dec-84 08:42:17 EST
References: <1052@drufl.UUCP> <16800017@uiucdcsb.UUCP>
Organization: University of California at Berkeley
Lines: 16

> To answer your question on the c64 1541 files:
> The directory contains the # of sectors used in the file.  Each sector contains
> 256 bytes.  The first two are used as a chain to the next sector in the file
> (leaving 254 for data) *except* in the last sector, where the # of bytes in
> that final sector is stored.
> 
> A. Ray Miller
> Univ Illinois

I believe the sector entry for the last block is an index to the last byte, not
the number of bytes remaining.  I.e., it must skip over the first two bytes
which are the track(0) and index.  I don't have the specs in front of me,
so I forgot whether the pointer is to the LAST byte, or one past the last
byte.
						Matthew Dillon