LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to permanantly install or mount the turboc from Dosbox in ubuntu (https://www.linuxquestions.org/questions/linux-software-2/how-to-permanantly-install-or-mount-the-turboc-from-dosbox-in-ubuntu-812073/)

amritpalpathak 06-04-2010 12:15 AM

How to permanantly install or mount the turboc from Dosbox in ubuntu
 
I have mount the turboc in ubuntu ,as following..

1)Make a new folder named c in home directory

2)Then i copy the turboc's folder in c folder (Home directory)

3)Go to dosbox and typed followings

a) mount c c
b)c:
c)cd turboc
d)tc

4)Now the turboc starts

But when exit from the turboc ,i have to again mount the turboc and have to follow again the above procedure.'

Can i mount the turboc permanantly throught dosbox, that means whenever i clicked dosbox,turboc starts automatically

Awaiting for help;



Believe in yourself

paulsm4 06-04-2010 12:42 AM

Forget DOS, forget Turbo C. The 80's are over :)

Just learn gcc on Ubuntu. Or g++. Or Python, Perl, Java or Lua.

*Anything* but DOS/C.

IMHO .. PSM

jefro 06-04-2010 03:31 PM

Make a simple script that mounts it.


Otherwise might have to look into dosbox settings as to why it isn't working like I think it should but who knows. It might be working correctly.

paulsm4 06-04-2010 05:13 PM

Hi, again -

My earlier advice still stands: if you're trying to use this as a "learning experience" - then don't. Dosbox and TurboC won't teach you anything useful about programming any modern OS - trust me ;)

Nevertheless, jefro is absolutely correct.

The DOS script "autoexec.bat" is a good place to add your command. For example:
Quote:

echo mount c /home/MYHOME/dosprog >> autoexec.bat
<= this command uses ">>" (DOS file redirection)
to add the line "mount c /home/MYHOME/dosprog" to the bottom of "autoexec.bat".

Substitute your actual directory path for "/home/MYHOME", of course :)

'Hope that helps .. PSM


All times are GMT -5. The time now is 04:45 PM.