32-bit sector-numbers are easier to manage, as a simple LD HL,(address) and LD DE,(address+2) would be the only two instructions to continue (lot more fun calculating with 32-bits, but who cares these days :) GreeTz, BiFi Patriek Lesparre <[EMAIL PROTECTED]> schreef in nieuwsbericht <[EMAIL PROTECTED]>:���^���^���^p��^`��^0��^. .. > Hi all, > > I'm following this DOS3/>32MB/FAT16 discussion very closely, but I have to > say 32 bit sectornumbers are a little too big. I agree with Egor that 24 > bit is better. A little calculation: > > 2^32 x 512 bytes/sector = 2199023256000 bytes = 2 TB > > Who in the world would want a 2 TERABYTE partition!? > Even with 24 bit sectornumbers you can have HUGE partitions: > > 2^24 x 512 bytes/sector = 8589934592 bytes = 8 GB > > Even on my PC, where I have 14.8 GB storage capacity, I use 2 GB partitions > (except for one, which is 4.8 GB). That's 6 partitions... > > Personally, I'd never use 8 GB partitions, because it would just become a > big mess. I use partitioning to sort stuff. I have a Win95 partition, a > mp3-partition, a warez-partition, etc... > > In FAT12, you'd have 2 MEGABYTE PER CLUSTER for a 8 GB drive. As far as I > know, in Win95/MS-DOS the max. clustersize is 32kB just as in MSX and in > WinNT it's 64kB. > Imagine a batchfile taking up 64kB... Think of how slow it'll become. > > Even when using FAT16, (and keeping the 32kB clusterlimit) that's a 2GB > max. per partition, still 4 times lower than the theoretical amount of 8GB > with 24 bit sectors. > > If you want that kind of size, use FAT32... But FAT32 has the disadvantage > that it's so much slower too handle... > > Anyway, just keep the sectornumbers within reasonable size. 24 bit is good > enough and takes less memory... You'd still have to use 2 16 bit registers > to pass it, but you can use the highest byte for something useful! > > Greetz, > > Patriek > > [EMAIL PROTECTED] ,-. ,----. ,-. TNI on the web: > | '-.| ,-. \ '-' http://www.xs4all.nl/~newimage/ > Member of | ,-'| | | | ,-. > The New Image | '--' | | '-' | Check out "MSX Banzai!" at: > since 1991 `------' '-----' http://www.xs4all.nl/~newimage/MSXBanzai!/ > > **** > MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put > in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the > quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/) > **** > > **** MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet ****
