home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!swrinde!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!ira.uka.de!uka!uka!news
- From: S_JUFFA@iravcl.ira.uka.de (|S| Norbert Juffa)
- Newsgroups: comp.lang.pascal
- Subject: Help with wierd TP 6.0 IDE problem, please!
- Message-ID: <16ttm1INNdgb@iraul1.ira.uka.de>
- Date: 19 Aug 92 16:42:41 GMT
- Organization: University of Karlsruhe (FRG) - Informatik Rechnerabt.
- Lines: 33
- NNTP-Posting-Host: irav1.ira.uka.de
- X-News-Reader: VMS NEWS 1.23
-
- Hi netters!
-
- I am turning to the net for advice on a really wierd problem I am encountering.
- As you may know (or not), I am the author of a fast replacement for the
- Turbo Pascal 6.0 run-time library (available as TPL60N15.ZIP from
- garbo.uwasa.fi for everybody who is interested). I use my library all the
- time and haven't had any serious problems with it. Programs compiled with
- it run just fine from DOS. However, I have now discovered that running a
- program compiled with my library within the TP 6.0 IDE completely hangs
- the system. The wierd thing though is that this happens only if no 386
- memory manager is installed. To make myself clear: If I start up a bare
- bones DOS system (just DOS, not additional device drivers and TSRs), start
- TURBO PASCAL 6.0 by typing TURBO and load some Pascal program into the IDE
- and then have it run, the machine will hang upon termination of the Pascal
- program. The program itself doesn't matter and the machine hangs regardless
- wether the program terminates normally or due to a run-time error. As soon
- as I add a memory manager (EMM386, QEMM) to my bare bones DOS system,
- everything works just fine. The memory managers do not report any kind of
- protection violation. Now I am wondering how running the IDE in virtual
- mode lets programs linked with my library run and how running it in real
- mode lets the same programs crash. Note that the programs always crash
- upon termination. If they terminate due to a run-time error, the error
- message is printed out before the system hangs (only a HW reset brings it
- back to live). As I have the source code to the main procedure I can
- see that the error message is printed directly before the program returns
- via a call to INT 21h, function 4C00h. Does anybody know how programs are
- executed by the IDE? I have tried to run the IDE in a debugger but haven't
- had much luck yet. Any help is appreciated. Thanks in advance!
-
-
- Norbert
- -------------------------------------------------------------------------------
- Norbert Juffa email: S_JUFFA@IRAVCL.IRA.UKA.DE Live and let live!
-