Re: Porting MSDOS TurboVision application to Linux.
Brought to you by:
set
|
From: Ivan B. <ib...@ad...> - 2014-08-20 13:49:15
|
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello!<br>
<br>
<br>
<div class="moz-cite-prefix">El 19/08/14 22:11, Lisias escribió:<br>
</div>
<blockquote cite="mid:53F...@un..."
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">My Gosh,<br>
<br>
I completely forgot about this list! :-)<br>
<br>
It's something like... 20 years? since I signed to it.<br>
<br>
</div>
</blockquote>
Yeah! Amazing isn't it? IT'S ALIVE IT'S ALIVE!!!! :-)<br>
<br>
<br>
<blockquote cite="mid:53F...@un..."
type="cite">
<div class="moz-cite-prefix"> On 14.08.19 15:35, steve dyson
wrote:<br>
</div>
<blockquote
cite="mid:CAG...@ma..."
type="cite">
<div dir="ltr"><span
style="font-family:arial,sans-serif;font-size:13px">I need
to port a CPP TurboVision business application from MS-DOS
to Linux as it is becoming harder an harder to configure the
newer versions of windows to provide a correct environment
for the program to run in (and I cannot guarantee even newer
versions of Windows will support legacy code).</span>
<div> <font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">The application originally
ran in a pure MS-DOS environment using a LittleBigLan
network. I have ported it to run under Windows 98 and then
under Windows XP using a Linux based file server.<br>
</font></div>
</div>
</blockquote>
On the short run, did you tried DOSBOX or, better yet, Virtual
BOX? The former is faster, but the latter is far more accurate
(but somewhat resource hogger, you will need a virtualization
enabled processor, as i3).<br>
<br>
</blockquote>
Yeah, trying emulation/virtualization first seems like the right
thing to do, much less work than porting it.<br>
I recommend trying this things in this order until one works:<br>
- DOSEmu + FreeDOS.<br>
- DOSBOX (does it come with FreeDOS? I guess so...).<br>
- Virt-Manager + FreeDOS (uses libvirt with QEMU-KVM or you can use
QEMU without KVM acceleration too).<br>
- VirtualBox + FreeDOS.<br>
<br>
<br>
<br>
<blockquote cite="mid:53F...@un..."
type="cite">
<blockquote
cite="mid:CAG...@ma..."
type="cite">
<div dir="ltr">
<div><font face="arial, sans-serif"> </font>
<div><span
style="font-family:arial,sans-serif;font-size:13px">Is
there a preferred flavour of Linux (Debian/Red Hat/etc)
that I should choose and which port of TV would be most
stable? Should I use 32 bit or 64 bit target (and is
there much difference in the performance)? Is there a
lists of Gotchas or potential problems that I should be
mindful off?</span>
<div> <span
style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>
</div>
</div>
</div>
</blockquote>
A Linux Distro is almost as a religion - you will need to live it
in order to taste it. My personal distro of choice is OpenSUSE. I
like it very much, YAST2 saves a huge amount of time while
administering the box.<br>
<br>
</blockquote>
Oh no! Don't listen to this guy, Debian is the best of course!!!
(now waiting for the Red Hat fanatic....).<br>
You may find precompiled Debian packages though, or compile ones
your self, but its been a long time since I last tested them; I saw
Salvador touching the scripts a bit so maybe he adapted them to
current Debian stable (Wheezy).<br>
<br>
TVision and SETEdit work equally well in 32 and 64 bits, but you
may find that porting your application to 32bits is easier as a
first step...<br>
If you are doing heavy math, then the 64 bits results could be a
bit different to the 32 or 16 bits ones because SSE instructions
doesn't have excess precision or something like that... so thats
something to have in mind too.<br>
You can tell the compiler to use SSE in 32 bits easily after you
ported the application to see the differences in the results before
porting to 64 bits.<br>
<br>
<br>
Hope this helps, bye!<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Ivan Baldo - <a class="moz-txt-link-abbreviated" href="mailto:ib...@ad...">ib...@ad...</a> - <a class="moz-txt-link-freetext" href="http://ibaldo.codigolibre.net/">http://ibaldo.codigolibre.net/</a>
>From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: <a class="moz-txt-link-abbreviated" href="mailto:ib...@co...">ib...@co...</a> - <a class="moz-txt-link-freetext" href="http://go.to/ibaldo">http://go.to/ibaldo</a>
</pre>
</body>
</html>
|