VOGONS


Rename z:\ drive

Topic actions

First post, by zugvogel

User metadata
Rank Newbie
Rank
Newbie

I would like to use Dosbox to run older turbopascal-programs for scientific purposes. The problem is that the routines save their data to a folder on z:\

Unfortunately, dosbox uses z for system purposes.

I have read in another thread and the readme that Z:\ cannot be unmounted, but is there another option?

I would either need to rename the system drive (e.g. Y:\), or create a path on the harddisk which can be referred to by Z:\

Thank you for helping!

Reply 1 of 6, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Unless you edit DOSBox sources and recompile it yourself, you are out of luck.

I think it would be easier to modify Turbo Pascal code to store data in a drive other than Z.

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

Reply 2 of 6, by zugvogel

User metadata
Rank Newbie
Rank
Newbie

What a pity, as I unfortunately only have the .exe of the turbopascal application.
Well, I'll try another DOS-emulator for windows then.
Any recommendations? It ought to be speed-adaptable like Dosbox, as the TP routine crashes on newer machines (in that respect, dosbox works quite well, but alas...)

Thank you anyway.

Reply 3 of 6, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Depending on how it was programmed, you might be able to change the
drive in the pascal executable as well using a hexeditor.

Also did you try some of those borland patchers? The problem you
describe is a well-known bug of the crt library and several fixes
are available that work on the .exe only (tppatch iirc)

Reply 4 of 6, by zugvogel

User metadata
Rank Newbie
Rank
Newbie

A collegue of mine programmed the tool many years ago. He has tried to patch it once, but that as well was supposedly years ago (and did not work on really recent systems either).

Reply 6 of 6, by zugvogel

User metadata
Rank Newbie
Rank
Newbie

The hint with the hexeditor worked perfectly, and Dosbox does its job now very well. Thanks again!!