[Coco] DriveWire with filesizes not divisible by 256

CoCoList for Color Computer Enthusiasts coco at maltedmedia.com
Sun May 11 18:03:47 EDT 2014


Ok, I think I understand the point Aaron was getting at... Thanks.
I'm used to working at "file level" and was thinking he was implying that it would be writing the '0' padding to disk as well. But I see he means what dw4 will be sending to the 256 byte system buffer (basically), the rest would be sorted out by DECB or OS9 as normal. Basically transparent to even the system. It will always be the same size reads and writes on the DW end.

I got it now (I think) LOL.



@Aaron, would this affect the way the vports send and receive? Or would they remain the same?

 

Bill Pierce
"Today is a good day... I woke up" - Ritchie Havens
 

My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Webmaster of The TRS-80 Color Computer Archive
http://www.colorcomputerarchive.com/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com


 
 
-----Original Message-----
From: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Sun, May 11, 2014 5:26 pm
Subject: Re: [Coco] DriveWire with filesizes not divisible by 256


On May 11, 2014 5:22 PM, "CoCoList for Color Computer Enthusiasts" <
coco at maltedmedia.com> wrote:
>
>
> Aaron, I really don't think it would work without rewriting both DECB and
the OS9 drivers. RSDOS and OS9 fill out the remaining portion (after EOF)
of the last sector(s) differently. RSDOS reservers/writes in "granule" size
chunks (as it's smallest possible file), the minimum of 9 sectors (1 gran=9
sectors). OS9 relies on the setting in the device descriptor for it's
minimum.
>
> What would be the advantages of doing this if it could be done?

Its below the filesystem level, so decb/RBF isn't involved (though of
course they would never create a filesystem where there weren't whole
sectors).

I believe its for loading individual files, not filesystems/disk images.
DW doesn't care really what is in the "sectors", so as long as the client
side can figure it out that's OK

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco

 



More information about the Coco mailing list