Tuesday, November 12, 2013

Using DOSBox to run TC on Windows 7 and Windows 8

Dear friends,


        Most of the users face difficulty while running Turbo C in Windows 7. As you know, Turbo C is not compatible with Windows 7 and Windows 8. To run Turbo C on Windows 7 and Windows 8 you need a special emulator software DOSBox.  You can download DOSBox from various web sites. But, before proceeding just check it out whether you are using 32-bit Operating System or 64-bit Operating System. As there are different versions of the DOSBox are available for 32 bit OS and 64 bit OS. To do so, Click on Start ->Control Panel and click on System.

DOSBox is mainly used to run dos games and old applications. Download DOSBox 0.74 and install it. DOSBox shortcut appears on your desktop. Right click on it and from the popup menu select Properties.


Properties window appears.

Click on Open File location button. 

Above window appears on the screen. From the window open DOSBox 0.74 Options batch file. The contents of the batch file will appears on the screen.


Note that the default setting of fullscreen and fulldouble option is false. Change both settings to True. Now go to the [autoexec] section of the file and add the five lines as shown below.
Save the file. Enjoy ! Now double click on the DOSBox icon on your desktop and your Turbo C is start automatically.

Now do two more settings. Why ? Don't ask! Just do it. Start DOSBox and quit from the Turbo C. Now our screen looks like as follows (yours may be different.).



Press CTRL+F1. Mapper screen appears. 



Click on ShutDown option from the table and the click on Del option. Now click on Mapper option (just below the ShutDown option) and then click on Del option. Now click on Exit to exit from the mapper. This mapper setting is mandatory as the shortcut key to run program in TC is CTRL+F9 and to exit mapper the same key is used. So, when we press CTRL+F9 in TC to run your program you will automatically exit from the DOSBox. 

Now, why we delete Mapper option. Note that the shortcut key to open mapper is CTRL+F1 and the same key CTRL+F1 in Turbo C is used to take topic help. Understand ?



No comments:

Post a Comment