some DOS compatible applications don't run in DOS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AmberJain
    Recognized Expert Contributor
    • Jan 2008
    • 922

    some DOS compatible applications don't run in DOS

    Well, I'm using FreeDOS and I'm a C programmer.
    I'm using Turbo C++ 3.0 compiler provided by Borland. The problem is that Turbo C++ is a 16 bit compiler (with it's main program called TC.exe which is primarily an Integrated Development Environment for C) which runs under DOS mode in windows XP successfully. But when I try to run the same program in FreeDOS, the application doesn't runs at all. I'm using the latest FREEDOS version.
    When I type tc.exe on FreeDOS command prompt, nothing happens. I just see the command prompt again with no error message.

    And I want to run TC.exe under FreeDOS as my Windows XP crashes so frequently (as I continuosly like to play with XP). So please someone help me in this matter.


    THANKS TO EVERYONE IN ADVANCE........ .....

    ============
    AmbrNewlearner
    ============
  • questionit
    Contributor
    • Feb 2007
    • 553

    #2
    Originally posted by ambrnewlearner
    Well, I'm using FreeDOS and I'm a C programmer.
    I'm using Turbo C++ 3.0 compiler provided by Borland. The problem is that Turbo C++ is a 16 bit compiler (with it's main program called TC.exe which is primarily an Integrated Development Environment for C) which runs under DOS mode in windows XP successfully. But when I try to run the same program in FreeDOS, the application doesn't runs at all. I'm using the latest FREEDOS version.
    When I type tc.exe on FreeDOS command prompt, nothing happens. I just see the command prompt again with no error message.

    And I want to run TC.exe under FreeDOS as my Windows XP crashes so frequently (as I continuosly like to play with XP). So please someone help me in this matter.


    THANKS TO EVERYONE IN ADVANCE........ .....

    ============
    AmbrNewlearner
    ============

    Not too sure if it owuld make much difference but you can try

    1)right cliking on TC.EXE while holding down shift key.
    2) Click on 'Open with'
    3) browse/choose FreeDos exe program
    4) click ok

    see if it runs now.

    Btw, Turbo C gives problem in other DOS Programs as well sometimes, even on Windows DOS (Virtual DOS Machine). You might want to switch to Borland C or VC++ or VC++. NET?

    Qi

    Comment

    • AmberJain
      Recognized Expert Contributor
      • Jan 2008
      • 922

      #3
      Originally posted by questionit
      Not too sure if it owuld make much difference but you can try

      1)right cliking on TC.EXE while holding down shift key.
      2) Click on 'Open with'
      3) browse/choose FreeDos exe program
      4) click ok

      see if it runs now.

      Btw, Turbo C gives problem in other DOS Programs as well sometimes, even on Windows DOS (Virtual DOS Machine). You might want to switch to Borland C or VC++ or VC++. NET?

      Qi
      Thanks questionit for your REPLY.......... .....BUT ,HUh........
      I think you are mistaken somewhere in above reply.......

      Actually freeDOS is an free DOS based Operating System (googling will give you more information) which is installed on my multiboot PC (which also has OSes-WinXP, Red hat linux, OpenBSD installed on it).
      So no right clicking and choosing "open with" will solve my problem because I wished to access TC.exe from FREEDOS operating system.


      YES....I "wished" to access Tc.exe from freedos and that wish of mine is fulfilled now. I just replaced KERNEL.SYS (available with FREEDOS) with another version of kernel.sys available online and now everything works fine now.

      So my problem is solved......... ...........

      _______________ _______________ _______________ _______________ _____
      NOTE : If anyone in the future visits this thread and wishes to replace his original kernel.sys with another one which allows user to run Turbo C++ IDE 3.0 in freedos, then just drop a message in this thread. I will then reply with the complete solution to this problem
      _______________ _______________ _______________ _______________ _____



      ============
      AmbrNewlearner
      ============

      Comment

      • questionit
        Contributor
        • Feb 2007
        • 553

        #4
        Originally posted by ambrnewlearner
        Thanks questionit for your REPLY.......... .....BUT ,HUh........
        I think you are mistaken somewhere in above reply.......

        Actually freeDOS is an free DOS based Operating System (googling will give you more information) which is installed on my multiboot PC (which also has OSes-WinXP, Red hat linux, OpenBSD installed on it).
        So no right clicking and choosing "open with" will solve my problem because I wished to access TC.exe from FREEDOS operating system.


        YES....I "wished" to access Tc.exe from freedos and that wish of mine is fulfilled now. I just replaced KERNEL.SYS (available with FREEDOS) with another version of kernel.sys available online and now everything works fine now.

        So my problem is solved......... ...........

        _______________ _______________ _______________ _______________ _____
        NOTE : If anyone in the future visits this thread and wishes to replace his original kernel.sys with another one which allows user to run Turbo C++ IDE 3.0 in freedos, then just drop a message in this thread. I will then reply with the complete solution to this problem
        _______________ _______________ _______________ _______________ _____



        ============
        AmbrNewlearner
        ============
        Would you like to tell me which site you download kernel.sys from?

        Qi

        Comment

        • AmberJain
          Recognized Expert Contributor
          • Jan 2008
          • 922

          #5
          Originally posted by questionit
          Would you like to tell me which site you download kernel.sys from?

          Qi
          Why not? It would be my pleasure to tell the name of the site :

          The link is below :
          Link to kernel.sys

          On that page, look for "misc. FreeDOS kernels". In the list that follows, latest version (PROBABLY) is "ke2007sep15.zi p". Download it's binary (+source , if you wish). Decompress the zip file and in the decompressed files folder you will find files such as --------->
          KWC8616.sys, KWC8632.sys, KWC38616.sys, KWC38632.sys

          ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| |||
          __NOTE__ If I Remember Correctly, xx16.sys ist for FAT16 while xx32.sys has support for FAT16 and FAT32. Also, the numbers xxx86xx.sys or xxx386xx.sys stand for 8086 or 386 architectures.
          ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| ||||||||||||||| |||

          Then I renamed KWC38632.sys to kernel.sys and put that in C:\... there was also a sys.com in the downloaded zip file, so I pasted that in C:\FDOS\BIN.

          Turbo C++ 3.0 IDE loads up now :).

          _______________ _______________ _______________ _______________ _____
          HOPE THIS HELPS.......... .....


          =============
          =ambrnewlearner =
          =============

          Comment

          Working...