delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/19/14:47:50

From: Jonas Maebe <Jonas DOT Maebe AT rug DOT ac DOT SPAM DOT ME DOT NOT DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: VESA in Dos box under Win95/WinNT
Date: Tue, 19 Oct 1999 16:51:10 +0200
Organization: University of Ghent, Belgium
Lines: 29
Message-ID: <191019991651108668%Jonas.Maebe@rug.ac.SPAM.ME.NOT.be>
NNTP-Posting-Host: jonas.rug.ac.be
Mime-Version: 1.0
Mail-Copies-To: nobody
User-Agent: YA-NewsWatcher/4.2.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

I have a problem with saving/restoring the VESA video state under
Win95/Win98 (in a program using the go32v2 dos extender). The saving
and restoring itself goes fine, but after the restore, WinTop shows the
the thread of the dos box keeps 30% of the processig power of the
system (the same symptom on a K6-2/300 and a 6x86/166).

Also, after the program is run, we loose 216k of XMS in the dos box. It
is not a memory leak in the program though, because running it multiple
times doesn't make you loose extra memory, this only happens after the
first run.

I must be doing something wrong, because running another program that
uses vesa afterwards removes the 30% system usage. No threads or
anything are launched (I couldn't find anything about this on deja.com,
the web nor in Microsoft's knowledge base)

Thanks in advance for any suggestions,


Jonas

PS: if you are interested in the source: it is part of the new graph
unit of the Free Pascal Compiler. To get it, go to
<http://www.freepascal.org>, download the RTL sources from the
development section and have a look at the file vesa.inc in the dir
RTL\GRAPH\INC (procedures SaveStateVesa and RestoreStateVesa).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019