6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 5:42 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Apr 17, 2019 6:40 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
I'm wondering if anyone knows of a Commodore DOS-compatible file storage device or server software that runs on a (e.g.) Linux PC which uses (and exposes) sectors larger than 256 bytes.

CBM DOS filesystems are limited to 16MB partitions because of the two bytes used for pointers in the filesystem. However, a 512-byte sector size would allow the partition limit to go to 32MB. A 4096-byte sector would, for example, allow a partition to reach 256MB, and so forth.

Yes, I'm aware that other elements of the filesystem would change as well. E.g., side sectors for REL-files would likely have very different layouts, etc., as would the relationships between super-side sector and regular side sectors. But, on the whole, it seems CBM DOS commands are high-enough level that they should be supportive of larger partition sizes. That said, strict CBM DOS-compatibility is not a hard requirement.

I'm just wondering if there are open source projects along this line which I can study.

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 19, 2019 11:21 pm 
Offline

Joined: Sun Oct 14, 2012 7:30 pm
Posts: 107
Commodore 8 bit used 256 byte sectors. The Amiga used 512 byte sectors.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2019 2:11 am 
Offline

Joined: Mon May 21, 2018 8:09 pm
Posts: 1462
At the relevant time, even a 16MB storage device was out of reach for most people, and making the best use of such a device would have involved partitioning.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2019 6:37 am 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
Chromatix wrote:
At the relevant time, even a 16MB storage device was out of reach for most people, and making the best use of such a device would have involved partitioning.


I had a 10MB hard drive for my Apple II in the early 80's... It looked like 70 or so floppies to the system! catalog,d1 ... catalog,d70 ...

The first Linux PC hard drive I had in about 93 was 280MB.

My current 6502/816 filing system uses variable block sizes from 64 bytes (ram/nvram) to 512 bytes (SD card) but only currently uses a 16-bit block pointer, so max. 32MB per "volume" - which is currently an MBR partition on the SD card, so 4 partitions of 32MB .. out of an 8GB SD card... It's a bit of a waste, but hey ho... I did consider going to 1024 byte blocks to take the capacity of a volume up to 64MB, but at the end of the day, it's an 8/16 bit micro and I didn't think the storage capacity was worth the extra RAM needed for block buffers.

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 14, 2019 1:25 am 
Offline

Joined: Tue May 05, 2009 2:49 pm
Posts: 113
Sorry, late to this reply, but sd2iec source code converts a FAT16/32 512 byte FS to CBM, and in native mode, allows unlimited sizes of FS to be used. (Direct access commands are still limited to 16MB, tho)

Jim


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: