[uae] Re: Hardfile size limitations

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Tue, 24 Jul 2007 10:45:04 -0400

Hi Toni

On Tuesday 24 July 2007 02:01:38 Toni Wilen wrote:
> There is one non-listed restriction: OS3.1 (not everyone have OS3.5+)
> and older apparently do not like >65535 cylinders.

Yes. Joerg went on to say in that thread:

"I checked the old sources and release notes of FFS and the AmigaOS <= 3.1 
versions had several bugs, for example it's using mulu.w (HighCyl-LowCyl+1), 
SectorsPerCylinder to calculate the number of sectors on a partition, but 
since mulu.w is a 16 * 16 = 32 bit multiplication that can't work ..."

> This is the most common cause for >= 1G non-mounting non-rdb hardfiles
> because 1G = 32 (tracks) * 1 (heads) * 512 (blocksize) * 65536 (cyls)
> (unfortunately we can't change default "geometry" because it would break
> compatibility with old hardfiles..)
>
> btw, I refuse to register or post in "those kinds" of forums. (don't
> really want to say more in public list or it would end in flames..)

Fair enough.

I just pointed out that thread because I wasn't aware of all the various 
limits myself, and I wanted to share that info here.

Cheers,
Rich
-- 
Richard Drummond

Web:  http://www.rcdrummond.net/
Mail: mailto:evilrich@xxxxxxxxxxxxxx

Other related posts: