Run TURBO C in Vista

Posted by Muktendra Gupta

If you are using Windows Vista you will find that Turbo C(version 3.5 or before) is not compatible with Vista.The window of C occupies only half the screen which is very annoying and it seems difficult to work with it.
But here is the solution for running the same version in Vista.

Install the software DOSBox ver 0.72 ( 1.2 MB ) (Freeware) from the link below (Direct Link)

http://prdownloads.sourceforge.net/d...r.exe?download

Before going to the details u have to create a folder (any name will do) in D:(ofcourse you can use any other drive too) .Here I name it as Turbo.

Copy the TC (Turbo C compiler folder) into the new created "Turbo" folder.

Run the DOSBox 0.72 from the icon located on e desktop or from the location of the installation folder

Then u are presented with two screens which look like the command prompt in Windows

Now u are presented with two screens. One with a Z prompt. U can ignore the other screen.

There type the following commands at the command prompt [Z]:

Mount [Type in any alphabet that u wish except z] [Type the source of the turbo C] press enter

{ Demo-
Type in the following commands after the Z prompt:

Z:\>mount p d:\Turbo\
[The folder TC is present inside the created folder "Turbo"]
}

* Now u should get a message which says: Drive P is mounted as a local directory d:\Turbo\ ***

Now type P: (to shift to P: prompt) .

P:\> cd TC [The contents inside the folder Turbo gets mounted as a virtual drive (Here D drive)

P:\TC>cd Bin

P:\TC\BIN>TC or Tc.exe [This presents u the Turbo C++3.0 screen]



Press Alt+Enter to maximize.
The screen will maximize to the full screen.

On the Turbo C++ goto Options>Directories>Change the source of TC to the source directory [P] ( i.e. virtual P: refers to original d:\Turbo\ . So make the path change to something like P:\TC\include and P:\TC\lib respectively ) and use the same letter P (if you used P above) to run the Turco C each time.

Note:
After coding you must first compile the program and then Run(do not directly run the program),otherwise the DOSBOX may crash without warning.

When u exit from the DosBox [precisely when u unmount the virtual drive where Turbo C++ 3.0 has been mounted] all the files u have saved or made changes in Turbo C++ 3.0 will be copied into the source directory(The directory which contains TC folder)

0 comments:

Post a Comment