delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/26/16:12:39

Date: Fri, 26 Mar 1999 15:42:02 -0400 (AST)
From: Endlisnis <s257m AT unb DOT ca>
X-Sender: s257m AT sol DOT sun DOT csd DOT unb DOT ca
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
cc: djgpp AT delorie DOT com
Subject: Re: Setedit v04.23 and v04.24
In-Reply-To: <m10MzGe-000S7AC@inti.gov.ar>
Message-ID: <Pine.GSO.4.05.9903261534440.18236-100000@sol.sun.csd.unb.ca>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 16 Mar 1999, Salvador Eduardo Tropea (SET) wrote:

->>      I'm using SetEdit v0.4.23 on a Intel Celeron 333 with 128Megs of RAM
->> running Win95b.  I get an error "General Protection Exception at 00A7:2686"
->> whenever I exit SetEdit, but only if a screen-saver has been running (even the
->> 'safe' one).
->
->I don't have this problem at home (K6) or here at work (Pentium II), but 
->according to the Endlisnis description it seems to be related to the video 
->stuff.
->I need more information from both of you:
->
->1) Video Board used.
->2) Version of the Video BIOS.
->3) Do you have any VESA TSR loaded?
->4) Version of the Windows video driver.
->5) What video mode are you using? is just 80x25?
->6) Are you running the editor inside a window?
->and similar information.
	OK, i friged around with it and found out what the problem is
(more specifically).  It turned out that it occured regardless of whether
the screen saver was running.  I use a program I wrote to change the text
resolution.  If I remember correctly, there is a bios call to change the
font used, and one of the parameters is the height of the characters and
the number of characters to change and a pointer to the buffer containing
the bitmaps of the characters.  I tell it to use a height different than
16 (the default for 80x25) and I pass it a buffer of Zero characters.  I
usually use 11 pixels high.  This just chops the bottom of the characters
off in DOS and displays about 33 rows or somehting.  In a Win95 box, this
just adds lines to the bottome of the window.  I've used this program for
a while and I've never had any problems with other software, but when
SetEdit tries to re-initiate that mode, it crashes the DOS box, especially
if it was running in 94x34 mode.  If I don't use my program to change the
resolution, then SetEdit never crashes.

	Endlisnis
[I have a pyramid of wingyness]

- Raw text -


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