Search code examples
cvirtualboxdos

C compiler for MS-DOS


I have installed MS-DOS 6.22 on a VirtualBox virtual machine, everything is working well, the purpose of doing that is to compile a program written in the C language that displays and edits bits in the (virtual) RAM. However, I need a way to install a C compiler on the virtual MS-DOS operating system.


Solution

  • I have installed the compiler and it worked successfully, if you want the ova here is the link MS-DOS ova with C compiler

    To open the compiler:

    cd TC
    
    TC
    

    and that's it! You can write C and compile. The best part is that you can deal with registers and memory without any restriction.