-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathEATMEM.PAS
46 lines (41 loc) · 833 Bytes
/
EATMEM.PAS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{$A+,B-,D+,E-,F-,G+,I+,L+,N-,O-,P-,Q-,R-,S+,T-,V+,X+,Y+}
{$M 1024,0,0}
Uses
Crt,
ExeUtil;
Procedure DoIt;
Begin
TextColor(White);
Write ('þ DumpExe API not resident ');
If DumpExeAPIResident Then Begin
TextColor(LightRed);
WriteLn ('FAILED');
TextColor(White);
WriteLn('Error (1) : DumpExe API resident.');
Exit;
End;
WriteLn ('OK');
Write ('þ DumpExe resident ');
If NOT DumpExeResident Then Begin
TextColor(LightRed);
WriteLn ('FAILED');
TextColor(White);
WriteLn('Error (2) : DumpExe not resident.');
Exit;
End;
WriteLn ('OK');
Write ('þ Starting DUMPEXE ');
asm
{int 0fbh}
db 0cdh
db IntFB
end;
WriteLn('OK');
End;
Begin
Clrscr;
WriteTitleText(4);
DoIt;
LastInitText;
NormVideo;
End.