Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesPhar Lap's TNT Adds Life to MS-DOS


March 1994 / News & Views / Phar Lap's TNT Adds Life to MS-DOS
Rick Grehan

Every time it looks like MS-DOS has overstayed its welcome and is about to be shouldered out by a bigger and better operating system, something comes along and suddenly, DOS doesn't look so bad. The latest development of this nature is Phar Lap's TNT DOS-Extender, a much-expanded version of that company's

386 | DOS-Extender product. What makes TNT special (and what gives it its name) is that it's a DOS-extender injected with Windows NT's nongraphical goodies. Think of TNT as Windows NT without the Windows part: multiple processes, threads, semaphores, virtual memory, memory-mapped files, and even DLLs. Once compiled with TNT, your program can run unchanged as a DOS, Windows 3.x, or native character-mode NT application. TNT supports a subset of the NT API, so it's compatib le with Microsoft's 32-bit Visual C++ compiler. Microsoft even licensed NT's floating-point emulation library to Phar Lap so that a TNT application you run under DOS will give you identical floating-point results when you run it as a native NT program.

Currently, although TNT is compatible with Microsoft's 32-bit Visual C++, MetaWare's High C/C++, and Watcom's C/C++ 32 (as well as other language compilers such as Lahey FORTRAN), only Visual C++ allows access to the NT components of TNT. You can use the other compilers with TNT to create

386 | DOS-Extender-compatible applications (referred to as DOS-style programs). Look for more compilers to provide the NT support for TNT in the near future.

Microsoft uses TNT as the DOS-extender that drives the DOS command-line versions of its 16-bit and 32-bit Visual C++ compilers. Denis Gilbert, Microsoft's general manager of the Visual C++ business unit, sees TNT as a way for developers to hedge their bets. "Developers can build 32-bit applications that run on DOS and Windows today and will run unchanged in NT tomorrow." Furthermore, Gilbert points out that TNT allows companies to develop NT-style applications that can run on hardware (e.g., 386SX laptops) that may simply be unable to support NT.

The TNT developer's kit is $495--that gets you the extender, assembler, linker, librarian, and two debuggers (including the 32-bit version of Microsoft's CodeView). If you want to distribute your application, however, you've got to purchase the $1995 run-time kit to bind the extender into your executable file. The run-time kit also includes a license for distributing your application's first 1000 copies (Phar Lap Software of Cambridge, Massachusetts, (617) 661-1510, tells me that price is negotiable.)

Of course, it's tempting to wonder about TNT's lifespan. Couldn't the widespread acceptance of NT or the movement of advanced 32-bit features into future versions of DOS simply obviate it? Possibly, but TNT is here now, and the applications you build with it will run in 32-bit glory, immune to the evolution of DOS or NT.


Illustration: Over 1200 applications are built with versions of Phar Lap's extender, ranging from CAD to database to games like Access Software's Links 386 Pro for DOS.

Up to the News & Views section contentsGo to previous article: Why Users Sometimes Fear Upgrades
Go to next article: Alliances Could Mean Better IntegrationSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network