VOGONS


XMS numhandles

Topic actions

First post, by sonaj

User metadata
Rank Newbie
Rank
Newbie

My problem.
Using dosbox 0.72
dosbox default xms numhandles 50 and not found parameter (like himem.sys).

himem.sys /numpages=128 work on native msdos

how to increase dosbox numhandles?

I found constant in dosbox source code ,but not compile.

please any body change xms.cpp XMS_HANDLES =50
and compile

thx

Reply 1 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

What game?

Reply 2 of 13, by sonaj

User metadata
Rank Newbie
Rank
Newbie

Not a game.
Special DOS software.
Perfectly work native msdos,
in dosbox sw started, work but calling some function sw halted and display xms handles error.
SOLVE: nativ dos increase himem.sys numhandles parameter.
But dosbox fix 50 handles.

Reply 3 of 13, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

crappy application then if it needs that many handles 😀
As it is special software which is probably used in a commercial environment you might want to try a commercial emulator instead of a free one.

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

Reply 4 of 13, by sonaj

User metadata
Rank Newbie
Rank
Newbie

sw work in ms virtualpc.
but slow.
speed ok in dosbox, and I want to use dosbox screen and video capture features.

I found nuhandles constant in dosbox sourvce, but i'm not a hard C programers.
not using C compiler, not understad makefile.

how to recopile?
what C compiler in windows enviroment?

Reply 5 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

mingw or msvc, see the INSTALL file of the sources.

Now what app is it and what do you want to do with it?

Reply 6 of 13, by sonaj

User metadata
Rank Newbie
Rank
Newbie

I read the file. (install)
This is very complicated for me unfortunately.
I am not skilled C programmer. (and only use visual... 🙁 )

Let somebody be kind, let him translate it for me, eliminates with constant one.

Reply 7 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Now what app is it and what do you want to do with it?

Reply 8 of 13, by sonaj

User metadata
Rank Newbie
Rank
Newbie

Sorry.
This an special not commercial program.
He makes special calculations and data management in industrial production.
He works nice.
But I would love from his function and from his treatment to prepare a documentation.

The screen capture would be needed for this.
Or the user of the program somebody else uses programs that only Windows in environment, works, because of this not good flat msdos machine.

The maker of the program does not know a solution, according to it for the program 100-110 descriptors necessary.
From it that is in a workflow like this.

Reply 9 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

If you're using this commercially, please consider donating some money
to the dosbox project, i'm sure Qbix will arrange something for your program.
If the only problem are the amount of xms handles, it drips down to just
raising their number as you said.

It should be noted that dosbox is intended for gaming ONLY, so you should
test dosbox and the interaction with your program very carefully before
using it.

Reply 10 of 13, by sonaj

User metadata
Rank Newbie
Rank
Newbie

All right.
Is a support with a how large a value necessary to the solution of my problem?

Reply 11 of 13, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Depends on how much it is worth for you, and even if you don't/don't want
to donate it will be changed sooner or later.

If you're good at visual studio, it should not be a big problem to compile
the sources anyways, given that you can compile the dependency libraries.

Reply 12 of 13, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The donation doesn't need to be very big. It's more the act that counts.
I've compiled a 0.72 build for you with the same compiler as 0.72 itself with the handlers raised to 128
send me a pm if you want it.

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

Reply 13 of 13, by sonaj

User metadata
Rank Newbie
Rank
Newbie

Qbix for president!!!

thx