Wednesday, April 22, 2009

Turbo c in linux

turbo c in linux
well i do not recommend you to use Turbo c in linux but if you really want it and can not live with out it ... you will need dosbox.
now you have to make two files ..
1) tc.sh

#!/bin/bash
dosbox "./tc.bat"
#these are contents of tc.sh file

2) tc.bat

cd TC
cd BIN
tc.exe

------------------------
now put these two files in a new folder where a folder of TC is also you have to put in.
if you know a little bit of bat and sh you can modify these two to get your desired result you can even play doom using dosbox.
enjoy ....

5 comments:

  1. I have visited this page to http://www.dosbox.com/download.php?main=1

    to download dos box for running turbo C in linux mint .Now which version should I install.Please tell me the next procedure to install dos box?

    ReplyDelete
  2. you can use any version of dosox .. provided by website (i will prefer the latest stable) if you are using ubuntu
    use this command
    sudo apt-get install dosbox

    ReplyDelete
  3. which one should I select and how to download it (http://www.dosbox.com/download.php?main=1).when I click on any it opens another webpage and I dont know what to do after that?

    DOSBox
    Windows 0.72 Win32 installer
    FreeBSD package 0.72 TBZ
    Fedora Core 0.72 rpm
    Gentoo Linux 0.72 portage
    Source 0.72 Source
    Mac OS X 0.72 dmg (Universal)
    OS/2 0.70 exe (OS2)
    BeOS 0.63 binary (x86)
    Risc OS 0.63 zip
    Old dosbox versions 0.58-0.71 source + binary(x86)

    plz help which one should I select from above list? I am using linux.

    ReplyDelete
  4. using turbo c with dosbox is real fun...
    it works hasselfree
    for more info, u can c

    http://infinitevishal.blogspot.com/2010/08/using-dosbox-to-mount-turbo-c.html

    ReplyDelete
  5. great post dude.. keep posting..
    i also found some intresting stuff @ http://fossbytes.blogspot.com/

    ReplyDelete