VOGONS


First post, by puzdir

User metadata
Rank Newbie
Rank
Newbie

I apologize for my English!

There is a Dos program for work that requires more than 615 kilobytes of memory lower dos + program loads into memory at the same time, more than 130 files.
Question: Does Dosbox simultaneous loading of more than 130 files, ie analog command "files = 140" in the file config.nt

Reply 1 of 5, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

DOSBox is intentionally limited to 127 files. There is no way to raise this except by recompiling DOSBox. This is because very few programs (especially games) actually require that many open files and when they throw such an error message, it's commonly related to something else.

I have made a patched version which allows the files setting to be changed through the config file.

My site: Ramblings on mostly tech stuff.

Reply 2 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

does the application work/hang/crash ?

Water flows down the stream
How to ask questions the smart way!

Reply 3 of 5, by robertmo

User metadata
Rank l33t++
Rank
l33t++
Kippesoep wrote:

I have made a patched version which allows the files setting to be changed through the config file.

you didn't actually said whether your patch allows what he wants or not 😀

Reply 4 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well the files=140 requirement is usually a requirement people think they need because the application hangs,
while in reality something else might be going on. At least I've been able after debugging various of such cases

So if it hangs, there is the possibility something else is going on

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 5, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie
robertmo wrote:
Kippesoep wrote:

I have made a patched version which allows the files setting to be changed through the config file.

you didn't actually said whether your patch allows what he wants or not 😀

True, although I didn't say that it didn't either 😜 So I guess I didn't say anything at all 😁 Anyhow, DOSBox has a static setting of 127, my patch makes it dynamic and accepts any numeric value (although any value lower than 10 is silly, below 1 is stupid and any value above 255 will cause problems and your computer will explode with strawberry jam oozing from the power supply -- or perhaps not).