Re: [hatari-devel] ACSI max disk size

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Sat, 21 May 2016 09:59:52 +0200
schrieb Vincent Rivière <vincent.riviere@xxxxxxxxxxx>:

> On 21/05/2016 à 08:14, Thomas Huth wrote:
> > Not sure about Windows, can you specify how your Hatari binary has
> > been built?  
> 
> I always build Hatari with/for Cygwin 32, as it is more convenient
> for me. For the developer and user point of view, Cygwin looks more
> like Linux than Windows. One major difference is that Cygwin uses
> NewLib as standard C library, while Linux uses glibc.

Hmm, I just google a little bit for Cygwin large file support, and it
sounds like it should be in there ... could you please check
sizeof(off_t) there to see whether it is 4 or 8 bytes?

> > By the way, if Hatari has been build without 64-bit off_t, the IDE
> > code likely will also fail as soon as you try to access a sector
> > beyond the 2 GB (or maybe 4 GB?) limit.  
> 
> In this case, the IDE and ACSI behaviour should be consistent.

True. I've now improved the check for HD image sizes a little bit and
also added it to the IDE code.

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/