Turbo C++ for Windows 7/Vista In FullScreen 64 bit - All DOS Programs & Games Supported - Dosbox



Even though Turbo C was required for me during this semester studies. I didnt use this Turboc instead I was using Visual studio 2010 for programming . Even though Visual studio is better than turboc, still many like turboc because of simplicity.
So in this post just thought of saying about installing Turboc in windows 7 in full screen 64 bit machine.


Follow these STEPS 

1) Create a directory and name it "DOSFOLDER" preferably in the root/c: or any other. This folder will be mounted as C: in DOSBox, you will learn later in this post.

2) Copy all DOS applications & games (eg dev) to this directory. For example if you want to run Turbo C++ IDE, copy TC folder or extract from TC installer to this directory.

3) Download & Install the DOSBox for Windows 7/Vista & MacOS from the link provided at the end of the post.

4) Run DOSBox, go to start> all programs/programs> DOSBox0.74(or similar)> DOSBox 
or from the desktop. The DOS Emulator will open. On the title bar you can see the clock speed.


5) You are prompt to Z:\>
You need to mount the folder you had created in step 1, if you skipped it, do it now. Here you will store all dos programs & games.

6) I am considering the path to folder/directory "DOSFOLDER" you recently created is C:\DOSFOLDER (for simplicity root directory was used)

write the following lines of codes in dos emulator:

Z:\> mount c c:\DOSFOLDER

you would get a message Drive C is mounted as local directory C:\DOSFOLDER. You can use any drive letter instead of C eg H, I, J etc. Which is actually the virtual drive you have created in DOS emulator DOSBox. now type:

C:
C:\>

If you remember or used DOS previously it's simple dos command. For example if you have saved all the files & folders of Turbo C++ IDE ie folder "TC" inside folder "DOSFOLDER" then type

C:\> CD TC/BIN
C:\TC\BIN>TC

The TC.exe file is located in Bin directory of TC. In the same way you can locate the other dos programs and games. If you don't remember the names then us dir command to list the files inside any directory. The above line will open Turbo C++ IDE.

Configure DOSBox to Auto Mount & Auto Execute

1) If you want to save some time from typing these codes every time you start DOSBox. 
Go to "C:\Program Files\DOSBox-0.74" where DOSBox is installed using windows explorer.

2) Now run a batch file "DOSBox 0.74 Options.bat" which is present in the folder. A "dosbox-0.74.conf" file will open in notepad. Scroll to bottom, you will find [autoexec].

Just below [autoexec] write the following lines of commands

mount c c:\DOSFOLDER
C:

And save the file. The above code will be automatically executed when you start DosBox. It will mount the folder DOSFOLDER and create a virtual drive. Now you can type the name of programs to run.

3) If you want to use only one program eg Turbo C/C++ IDE or DEV ..
Then after [autoexec] write the following lines of commands

mount C C:\DOSFOLDER
C:
CD TC/BIN
TC

Above code will directly open Turbo C/C++ when you run dosbox.

OFFCIAL WEBSITE OF DOSBOX - www.dosbox.com




Share your views...

0 Respones to "Turbo C++ for Windows 7/Vista In FullScreen 64 bit - All DOS Programs & Games Supported - Dosbox"

Post a Comment

 

© 2010 Computer Tricks

Visit our latest blog TecheSound for latest tech updates.