delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | "Charles Sandmann" <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Running any of the OpenGUI examples in dos mode crashes... |
Date: | Fri, 7 Dec 2001 9:37:37 |
Organization: | Aspen Technology, Inc. |
Lines: | 18 |
Message-ID: | <3c108de1.sandmann@clio.rice.edu> |
References: | <4e52c237 DOT 0112061151 DOT 5ed1c367 AT posting DOT google DOT com> <3c0f795a DOT sandmann AT clio DOT rice DOT edu> <4e52c237 DOT 0112062115 DOT 7eee80c3 AT posting DOT google DOT com> |
NNTP-Posting-Host: | dcloan.hou.aspentech.com |
X-Trace: | selma.aspentech.com 1007740174 179 10.32.115.107 (7 Dec 2001 15:49:34 GMT) |
X-Complaints-To: | postmaster AT aspentech DOT com |
NNTP-Posting-Date: | 7 Dec 2001 15:49:34 GMT |
X-NewsEditor: | ED-1.5.8 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> I didnt see it print out a traceback dump. :-( That makes it harder - you will either need to try and run it in a debugger to find where it crashes, or add some debugging statements. > Do you think its possible if I could fix this by going back to the src > proggy and CHANGING what the video mode was being changed to? No - the problem happens before the video mode is set - the code has set the ES register to be an invalid value before calling this interrupt. If you put a "push ds; pop es" instruction sequence before the _dpmi_int call (or the assembly call to int 31, whichever was done) it should fix the problem. Since ES is wrong, I suspect some bad assembler? > or should I try an older version of the cwsdpmi? No version of CWSDPMI (or any other DPMI provider) will fix this, it's a program bug.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |