Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242286

Re: Offtopic: Transfer a programm from DOS to Linux

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: Offtopic: Transfer a programm from DOS to Linux
Date 2021-11-21 13:50 +0100
Message-ID <DlUs9-2Ak-7@gated-at.bofh.it> (permalink)
References <DlTFM-25e-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Hard to say without seeing code and build system.

Did you already consider to install a free DOS system to a virtual machine
and to run the application there ?


> 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.
I would expect that the C code can be compiled on GNU/Linux. The adventure
is likely to begin when the linker shall put together the compiled code
and the libraries from where this code wants to use functions.


> This application gets its signal then from the if-module via the souzndcard

Access to hardware imposes additional adventure. It is likely that this
part of the application has to be adapted or even re-written to what
you get offered by Linux for accessing this hardware.

(What is an "if-module", btw ?
Google does not give me proposals which look like radio enthusiasm.)


Have a nice day :)

Thomas

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Offtopic: Transfer a programm from DOS to Linux Hans <hans.ullrich@loop.de> - 2021-11-21 13:00 +0100
  Re: Offtopic: Transfer a programm from DOS to Linux Richard Owlett <rowlett@cloud85.net> - 2021-11-21 13:30 +0100
  Re: Offtopic: Transfer a programm from DOS to Linux Nate Bargmann <n0nb@n0nb.us> - 2021-11-21 13:40 +0100
    Re: Offtopic: Transfer a programm from DOS to Linux Hans <hans.ullrich@loop.de> - 2021-11-21 13:50 +0100
  Re: Offtopic: Transfer a programm from DOS to Linux "Thomas Schmitt" <scdbackup@gmx.net> - 2021-11-21 13:50 +0100
    Re: Offtopic: Transfer a programm from DOS to Linux Richard Owlett <rowlett@cloud85.net> - 2021-11-21 14:10 +0100
      Re: Offtopic: Transfer a programm from DOS to Linux Hans <hans.ullrich@loop.de> - 2021-11-21 14:20 +0100
    Re: Offtopic: Transfer a programm from DOS to Linux Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-11-21 15:00 +0100
      Re: Offtopic: Transfer a programm from DOS to Linux Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-11-21 15:00 +0100
        Re: Offtopic: Transfer a programm from DOS to Linux Håkon Alstadheim <hakon@alstadheim.priv.no> - 2021-11-21 15:40 +0100
        Re: Offtopic: Transfer a programm from DOS to Linux Håkon Alstadheim <hakon@alstadheim.priv.no> - 2021-11-21 15:40 +0100
  Re: Offtopic: Transfer a programm from DOS to Linux Fabio Martins <fm+deb+user@phosphorusnetworks.com> - 2021-11-21 14:10 +0100
    Re: Offtopic: Transfer a programm from DOS to Linux Hans <hans.ullrich@loop.de> - 2021-11-21 14:20 +0100
  Re: Offtopic: Transfer a programm from DOS to Linux Nate Bargmann <n0nb@n0nb.us> - 2021-11-21 19:30 +0100
    Re: Offtopic: Transfer a programm from DOS to Linux Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-11-22 16:40 +0100
  Re: Offtopic: Transfer a programm from DOS to Linux Georgi Naplatanov <gosho@oles.biz> - 2021-11-21 21:30 +0100
    Re: Offtopic: Transfer a programm from DOS to Linux Hans <hans.ullrich@loop.de> - 2021-11-21 23:50 +0100
      Re: Offtopic: Transfer a programm from DOS to Linux Nate Bargmann <n0nb@n0nb.us> - 2021-11-22 00:30 +0100
        Re: Offtopic: Transfer a programm from DOS to Linux Nate Bargmann <n0nb@n0nb.us> - 2021-11-23 19:50 +0100
      Re: Offtopic: Transfer a programm from DOS to Linux Daniel Haude <dhaude@posteo.de> - 2021-11-22 16:30 +0100
      Re: Offtopic: Transfer a programm from DOS to Linux Georgi Naplatanov <gosho@oles.biz> - 2021-11-22 18:20 +0100

csiph-web