[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Offtopic: Transfer a programm from DOS to Linux




Den 21.11.2021 14:55, skrev Nicholas Geovanis:


On Sun, Nov 21, 2021, 7:51 AM Nicholas Geovanis <nickgeovanis@gmail.com> wrote:

    On Sun, Nov 21, 2021, 6:46 AM Thomas Schmitt <scdbackup@gmx.net>
    wrote:

        Hi,

        Hans wrote:
        > As far as I know, this application is written in C, it is
        running in
        > textmode ("ncurses-mode").
        > [...] I wondered, ho
        > difficult for an experienced coder it will be, to get a DOS
        application
        > natively running in linux.


        > Is DOS C and Linux C compatible, so that such thing could be
        easy?

        C is not a typical programming language on DOS. Similar to
        ncurses it
        stems from Unix. But of course there are C compilers and
        *curses versions
        for DOS.


    Didn't Borland open-source or freeware license Turbo C++ ? The
    cheaper Borland C++ ? If I remember that right and you can find
    it, it might be the compiler that was used.

I see "graphics.h" being included in the C-code, which indicates Borland Turbo C (says google). Find Borland Turbo C 2.x and install that under FreeDos, and you should be able to compile. First step for porting to linux would be to get rid of references to the Borland graphics library I guess.



Another possibility is that they used the old Glockenspiel C++. That was absorbed by Computer Assoc who I worked for from 1989 to 1993. It may be freely available. They are called CA for several years now.



        Have a nice day :)

        Thomas



Reply to: