VOGONS


First post, by pluc

User metadata
Rank Newbie
Rank
Newbie

Hi all, we have an old but important dos application (written in clipper) that currently we run on windows 2000/XP in a ntvdm box and eats so much system resources.
I tried it out on doxbox and the resources used are much lower, but the application is not fully functional:
the app loads correctly but after few operations hangs saying that config.sys is not correct.
The app, also in dos/windows, needs these lines in config.sys:
files=199
buffers=40
DOS=HIGH,UMB
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=039,850,C:\WINDOWS\COMMAND\country.sys

and in autoexec:
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb it,,C:\WINDOWS\COMMAND\keyboard.sys
doskey

when I launch DosBox there are two errors:
Illegal command: DOSKEY
Illegal command: DOS

how can I corrrectly set those two instructions? is there an alternative syntax or command?
thanks,
Luca.

Reply 1 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

does it actually say that or does it simply hang ?

doskey is not needed in dosbox. does remembers the commandlines itself already.
the country and display commands in config.sys shouldn't matter.
You could try creating a fake (which is not used by dosbox) config.sys on the mounted c:\ drive. Maybe the application is happy then

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

Reply 2 of 5, by pluc

User metadata
Rank Newbie
Rank
Newbie

It says that the config.sys is not set up correctly.
I already created a fake autoexec & config.sys in the mounted C, but app was not happy, so I tried to insert files= & buffers= lines in dosbox configuration file, but those are not accepted by dosbox...

Reply 3 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

clipper programs tend to hang, but that is for a different cause.
however DOSBox has FILES=127 and BUFFERS=50 by default.
They can be changed by changing the dosbox sourcecode, however the hang is probably caused by other problems, (the FILES=199 might still be needed though for proper operation)

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

Reply 4 of 5, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Try setting the following variable prior to launching the program:

SET CLIPPER=F120

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 5 of 5, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

<shameless_plug>
You can check out whether the files= setting is really needed by using my custom build for this purpose.

Find it here
</shameless_plug>