[prev in list] [next in list] [prev in thread] [next in thread]
List: freedos-user
Subject: Re: [Freedos-user] Accessing usb stick from freedos.
From: tom ehlert via Freedos-user <freedos-user () lists ! sourceforge ! net>
Date: 2023-07-24 20:13:21
Message-ID: 1572980709.20230724221321 () drivesnapshot ! de
[Download RAW message or body]
> > The alleged 4 GB file size doesn't work on some OSes (FreeDOS, Windows
> > NT?), only on old Win9x. So you're only guaranteed 2 GB individual
> > file sizes, universally.
> Wrong. You can use files of up to 4GB size on any Windows version that supports \
> FAT32. So does any reasonable version of Linux. Yes, some OS might limit you to \
> 2GB, as they are using a signed 32bit integer, but that is far from being \
> "universally".
the problem here is probably that early OS versions had checks that the file pointer \
was never moved below zero.
i.e.
move to 1.5 GB
read stuff.
move to 3.7 GB (which is 2.2 GB which is negative 1.8 GB)
// what is the OS supposed to do?
the 'solution' was (IIRC) to require applications in the OPEN call to
indicate "yes, I understand 32 bits"
FreeDOS does this by default.
Tom
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic