mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 20:29:23 +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}
|
{$endif FPC_HAS_FEATURE_COMMANDARGS}
|
||||||
end;
|
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}
|
{$else}
|
||||||
|
|
||||||
{$ifdef CPUI8086}
|
{$ifdef CPUI8086}
|
||||||
|
Loading…
Reference in New Issue
Block a user