VOGONS

Common searches


First post, by held

User metadata
Rank Newbie
Rank
Newbie

May I ask why DOSBox always reports 256mb free and what the Idea behind it is.

Reply 1 of 2, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The default of 256 MB for an hdd is a lot of free space for much of the DOS era, but not so much that it can cause poorly-coded software to have numeric overflows or so when calculating. It's just an amount reported to satisfy typical free space checks, it's not actually tracked (increasing and decreasing as files are added, modified, or deleted) for local folder mounts. However, you can set the amount with the -freesize parameter of the MOUNT command -- see the README about that.

Reply 2 of 2, by held

User metadata
Rank Newbie
Rank
Newbie
ripsaw8080 wrote on 2022-03-20, 17:46:

The default of 256 MB for an hdd is a lot of free space for much of the DOS era, but not so much that it can cause poorly-coded software to have numeric overflows or so when calculating. It's just an amount reported to satisfy typical free space checks, it's not actually tracked (increasing and decreasing as files are added, modified, or deleted) for local folder mounts. However, you can set the amount with the -freesize parameter of the MOUNT command -- see the README about that.

That is a very clear, precise and satisfying answer, thank you.