mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 05:59:30 +02:00
+ i8086-msdos implementation of exeinfo.GetModuleByAddr
git-svn-id: trunk@39068 -
This commit is contained in:
parent
1d3ad2b078
commit
2955ee2dc4
@ -121,6 +121,14 @@ uses
|
||||
{$endif FPC_HAS_FEATURE_COMMANDARGS}
|
||||
end;
|
||||
|
||||
{$elseif defined(msdos)}
|
||||
|
||||
procedure GetModuleByAddr(addr: farpointer; var baseaddr: farpointer; var filename: string);
|
||||
begin
|
||||
baseaddr:=Ptr(PrefixSeg+16,0);
|
||||
filename:=ParamStr(0);
|
||||
end;
|
||||
|
||||
{$else}
|
||||
|
||||
{$ifdef CPUI8086}
|
||||
|
Loading…
Reference in New Issue
Block a user