TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JONATHAN DE BOYNE POLLARD
from: RICHARD HIRNER
date: 1998-04-15 03:19:00
subject: Loading EXEs into RAM

Hallo!
31 Mar 98  14:42:16: Jonathan de Boyne Pollard -> Richard Hirner, "Loading 
EXEs into RAM"
 RH> I don't use any kind of extender, [...]
 JdBP> Then you are making work for yourself unnecessarily.  Unless you are
 JdBP> writing a PC-based embedded system -- and you've stated that your
 JdBP> program will run from DOS, so you obviously aren't --, buy and use a
 JdBP> DOS extender and forget about rolling your own code to switch to
 JdBP> protected mode, load executables from file, and handle DOS API calls. 
 JdBP> The DOS extender will do all of that, and all that you need
 JdBP> concentrate on is creating a 16-bit protected mode program and linking
 JdBP> it into NE format using TLINK.  If DOS/16M from Rational Systems is
 JdBP> still around, it should, I gather, work with Borland C++ 3.1 for DOS,
 JdBP> since it understands the NE format executables that TLINK from BC++DOS
 JdBP> 3.1 will generate. 
I know this. I have access to the Watcom C++ Compiler V?.0 which is able
to handle even 32-bit protected mode at DOS. *BUT* I'm going to write
a very simple operating system (in C++), and there I don't need
extenders but I want to load EXEs generated by TLINK. That's all, and I
think that could not be so difficult; but, considering I got no answer
to this question...
Richard
... Turn your Pentium II into an XT - just add DOS!
--- Blue Wave v2.05 [NR]
---------------
* Origin: Constants aren't (2:310/3)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.