www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/28/14:48:37

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <199807281847.UAA20756@father.ludd.luth.se>
Subject: Re: info core dumps
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Tue, 28 Jul 1998 20:47:30 +0200 (MET DST)
Cc: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
In-Reply-To: <Pine.SUN.3.91.980726120022.26387F-100000@is> from Eli Zaretskii at "Jul 26, 98 12:00:46 pm"
MIME-Version: 1.0

According to Eli Zaretskii:
> Could you please use your test program to see what is the seg:off
> address of the font in those cases which work (including QEMM and
> DISPLAY.SYS) and in those where it breaks.
> 
> One solution is obviously to tell people to unload EMM386, or replace
> it with QEMM, or not load DISPLAY.SYS.  But I would like to find a
> solution even with both of them loaded, since somebody might need
> that.

Ok, here are the results. All configurations except the last work.

The program was compiled using DJGPP v201.

es and bp is the seg:off you asked for, font_seg is probably not
interesting and src and dest is calculated from seg:off respectively
font_seg: 
src =  ( ( (unsigned)regs.x.es ) << 4 ) + regs.x.bp;
dest = ( (unsigned)font_seg ) << 4;

QEMM, QDPMI, DJGPP v201: works fine:
es = 0xffff; bp = 0xb4f2; font_seg = 0x2cee; src = 0x10b4e2; dest = 0x2cee0.

QEMM, QDPMI, DJGPP v202: works fine:
es = 0xffff; bp = 0xb4f2; font_seg = 0x2cf8; src = 0x10b4e2; dest = 0x2cf80.

QEMM, CWSDPMI, DJGPP v202: works fine:
es = 0xffff; bp = 0xb4f2; font_seg = 0x2634; src = 0x10b4e2; dest = 0x26340.

EMM386, No DISPLAY.SYS, DJGPP v202: works fine:
es = 0xc000; bp = 0x4ab0; font_seg = 0x2a34; src = 0xc4ab0; dest = 0x2a340.

No EMM386, DISPLAY.SYS, DJGPP v202: works fine:
es = 0xffff; bp = 0xbf32; font_seg = 0x5634; src = 0x10bf22; dest = 0x56340.


EMM386, DISPLAY.SYS, DJGPP v202: crashes:
es = 0xffff; bp = 0xbf32; font_seg = 0x2e34; src = 0x10bf22; dest = 0x2e340.
Exiting due to signal SIGSEGV
Page fault at eip=00001e67, error=0005
eax=0010c000 ebx=0002e455 ecx=00000006 edx=00000000 esi=0010c001
edi=0000001b
ebp=0004dcc0 esp=0004dc58 program=c4.exe
cs: sel=00e7  base=100a0000  limit=0005ffff
ds: sel=00ef  base=100a0000  limit=0005ffff
es: sel=00ef  base=100a0000  limit=0005ffff
fs: sel=00ff  base=00000000  limit=ffffffff
gs: sel=00ff  base=00000000  limit=ffffffff
ss: sel=00ef  base=100a0000  limit=0005ffff

Call frame traceback EIPs:
  0x00001e67
  0x00001e98
  0x00002cd2


Silence,

							MartinS

- Raw text -


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