Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. 16 bit C Compiler

16 bit C Compiler

Scheduled Pinned Locked Moved C / C++ / MFC
question
10 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    softwaremonkey
    wrote on last edited by
    #1

    Hi, Does anyone know of a compiler that will run under Windows 7 (64 bit) but will compile 16 bit DOS based code? I used to use MSVC 1.52 on XP 32 bit but it will not run on a 64 bit platform. I tried running it under Virtual PC but it is too unstable (it regularly deleted the contents of my source files which is not much fun). Thanks :thumbsup:

    CPalliniC L S 3 Replies Last reply
    0
    • S softwaremonkey

      Hi, Does anyone know of a compiler that will run under Windows 7 (64 bit) but will compile 16 bit DOS based code? I used to use MSVC 1.52 on XP 32 bit but it will not run on a 64 bit platform. I tried running it under Virtual PC but it is too unstable (it regularly deleted the contents of my source files which is not much fun). Thanks :thumbsup:

      CPalliniC Online
      CPalliniC Online
      CPallini
      wrote on last edited by
      #2

      A quick search gives promising results for running Turbo C using DOSBox: I've not tried that, however.

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • S softwaremonkey

        Hi, Does anyone know of a compiler that will run under Windows 7 (64 bit) but will compile 16 bit DOS based code? I used to use MSVC 1.52 on XP 32 bit but it will not run on a 64 bit platform. I tried running it under Virtual PC but it is too unstable (it regularly deleted the contents of my source files which is not much fun). Thanks :thumbsup:

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I don't often use Windows 7 so I might be wrong on this, but as far as I know it comes with a built in 32 bit Windows XP virtual machine? MSVC 1.52 might work in that. Personally I use Microsoft C 6.0 in DosBox[^] and MSVC 1.52 in a Windows 2000 guest OS with VirtualBox[^], both works.

        S 1 Reply Last reply
        0
        • L Lost User

          I don't often use Windows 7 so I might be wrong on this, but as far as I know it comes with a built in 32 bit Windows XP virtual machine? MSVC 1.52 might work in that. Personally I use Microsoft C 6.0 in DosBox[^] and MSVC 1.52 in a Windows 2000 guest OS with VirtualBox[^], both works.

          S Offline
          S Offline
          softwaremonkey
          wrote on last edited by
          #4

          Thanks for the reply. Win 7/64 Pro does come with XP virtual machine but unfortunately I only have the Home edition which does not. I thought about upgrading but its too much hassle re-installing everything. I have a copy of Microsoft C 6.0 somewhere so I think I will give that a go in DosBox. Can you advise how I install it in DosBox please. Thanks for the tip. :thumbsup: :thumbsup:

          L Richard Andrew x64R 2 Replies Last reply
          0
          • S softwaremonkey

            Hi, Does anyone know of a compiler that will run under Windows 7 (64 bit) but will compile 16 bit DOS based code? I used to use MSVC 1.52 on XP 32 bit but it will not run on a 64 bit platform. I tried running it under Virtual PC but it is too unstable (it regularly deleted the contents of my source files which is not much fun). Thanks :thumbsup:

            S Offline
            S Offline
            Software_Developer
            wrote on last edited by
            #5

            Try [Microsoft QuickC 16 Bit] IDE/Compiler for the C programming language. Its main competitor was Turbo C. (Quick C vs Turbo C , get it? :cool: ), Its from the year 1990. [This] link mentions this: Emulation The easiest way to get Turbo C/C++ to run is using DOSBOX which emulates the environment of an old 16bit MsDOS computer. This works very well and will allow you to run most programs (even CGA/VGA/SVGA graphics). If you wish to run Turbo C on Linux there is DOSEMU. Virtualization Another option is to run the programs on a Virtual Machine. Think of this as running a virtual computer on your computer. The VM emulates a PC and you can load an OS like an old copy of windows (if you have old disks laying about) or you can use FreeDOS as an OS.

            S 1 Reply Last reply
            0
            • S softwaremonkey

              Thanks for the reply. Win 7/64 Pro does come with XP virtual machine but unfortunately I only have the Home edition which does not. I thought about upgrading but its too much hassle re-installing everything. I have a copy of Microsoft C 6.0 somewhere so I think I will give that a go in DosBox. Can you advise how I install it in DosBox please. Thanks for the tip. :thumbsup: :thumbsup:

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              You can download the VM from here[^].

              Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

              1 Reply Last reply
              0
              • S softwaremonkey

                Thanks for the reply. Win 7/64 Pro does come with XP virtual machine but unfortunately I only have the Home edition which does not. I thought about upgrading but its too much hassle re-installing everything. I have a copy of Microsoft C 6.0 somewhere so I think I will give that a go in DosBox. Can you advise how I install it in DosBox please. Thanks for the tip. :thumbsup: :thumbsup:

                Richard Andrew x64R Offline
                Richard Andrew x64R Offline
                Richard Andrew x64
                wrote on last edited by
                #7

                softwaremonkey wrote:

                I thought about upgrading but its too much hassle re-installing everything.

                Upgrading from Home 7 to Pro 7 does not require you to reinstall a thing. All it does, essentially, is replace what's in the Windows folder with the upgraded components, and leave the registry and all program files intact.

                The difficult we do right away... ...the impossible takes slightly longer.

                S 1 Reply Last reply
                0
                • Richard Andrew x64R Richard Andrew x64

                  softwaremonkey wrote:

                  I thought about upgrading but its too much hassle re-installing everything.

                  Upgrading from Home 7 to Pro 7 does not require you to reinstall a thing. All it does, essentially, is replace what's in the Windows folder with the upgraded components, and leave the registry and all program files intact.

                  The difficult we do right away... ...the impossible takes slightly longer.

                  S Offline
                  S Offline
                  softwaremonkey
                  wrote on last edited by
                  #8

                  Hi Richard, Thanks for this info. This only applies if you buy the Windows 7 Anytime Upgrade. Even though I have a copy of Windows 7 professional, it will not perform the upgrade - unless anyone knows differently. Thanks again Tony :thumbsup:

                  Richard Andrew x64R 1 Reply Last reply
                  0
                  • S Software_Developer

                    Try [Microsoft QuickC 16 Bit] IDE/Compiler for the C programming language. Its main competitor was Turbo C. (Quick C vs Turbo C , get it? :cool: ), Its from the year 1990. [This] link mentions this: Emulation The easiest way to get Turbo C/C++ to run is using DOSBOX which emulates the environment of an old 16bit MsDOS computer. This works very well and will allow you to run most programs (even CGA/VGA/SVGA graphics). If you wish to run Turbo C on Linux there is DOSEMU. Virtualization Another option is to run the programs on a Virtual Machine. Think of this as running a virtual computer on your computer. The VM emulates a PC and you can load an OS like an old copy of windows (if you have old disks laying about) or you can use FreeDOS as an OS.

                    S Offline
                    S Offline
                    softwaremonkey
                    wrote on last edited by
                    #9

                    Thanks for the reply. As I said earlier, I have used Microsoft Virtual PC and loaded Windows XP 32 bit on it but it was very slow and routinely locked up and lost connection to the host HDD, loosing the contents of any source file I had made changes to :(( Since them I have installed Oracle VM Virtual Box which seems (so far) to be a much better product. Thanks again Tony :thumbsup:

                    1 Reply Last reply
                    0
                    • S softwaremonkey

                      Hi Richard, Thanks for this info. This only applies if you buy the Windows 7 Anytime Upgrade. Even though I have a copy of Windows 7 professional, it will not perform the upgrade - unless anyone knows differently. Thanks again Tony :thumbsup:

                      Richard Andrew x64R Offline
                      Richard Andrew x64R Offline
                      Richard Andrew x64
                      wrote on last edited by
                      #10

                      Your Product key from your boxed Pro 7 will work as an Anytime Upgrade key. I did that myself on a new netbook I had purchased with Win 7 Starter. I chose the Anytime Upgrade, and put in my boxed Win 7 product key, and everything went through. So you're not out of luck. Rich

                      The difficult we do right away... ...the impossible takes slightly longer.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups