TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Eddy Thilleman
from: Denis Tonn
date: 1999-01-21 19:37:14
subject: Dumping DOS-think

Original from  Eddy Thilleman  to Denis Tonn on 01-06-1999
Original Subject: Dumping DOS-think

                         ---------------------------------------

 DT> DOSCALL.DLL is not a file, it is strictly an "alais" mapping
 DT> of the kernel. 
 
ET> I guess DOSCALL.DLL refers to the DOSCALL1.DLL file?

 No, it is an "alias" reference to kernel API's. Most (all?) of the 
DOSCALL references end up mapping to callgates into the kernel. It is 
mostly used when building 16 bit apps. 32 bit apps will call DOSCALL1
(which in turn may go through a callgate also mapped into the DOSCALL
alias). 

ET> Why is this?

 Needed to build applications that call kernel entry points. It allows
the loader to map an "entry point" in the EXE header to a callgate 
selector in the code. The linker must have some way of "signalling" 
the loader that the fixup is for a callgate address. The DOSCALL
aliasing allows the linker to build the proper header entries. 


   Denis       

 All opinions are my very own, IBM has no claim upon them
. 
. 
.
 

 



--- Maximus/2 3.01
* Origin: T-Board - (604) 277-4574 (1:153/908)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 153/908 8086 800 140/1 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.