home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 26
/
CD_ASCQ_26_1295.iso
/
voxrom
/
textes
/
repwin08
/
annexes
/
squirrel
/
mem2
/
memtest3.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-10-01
|
684b
|
27 lines
{ Exemple portant sur la HMA }
Uses memory, crt;
Var h : word;
e : exmm;
BEGIN
If isXms then begin
Writeln ('Xms version ', HI(Xms_Ver), '.', LO(Xms_Ver),
' [révision ', HI(xms_rev), '.', LO(xms_rev), ']');
if Xms_GetHMA
then Writeln ('HMA libre')
else Writeln ('HMA occupée ou non gérée');
if Xms_A20unlocked
then Writeln ('Ligne A20 libre')
else Writeln ('Ligne A20 verrouillée');
{ Si la HMA est libre, il est facile de se l'approprier.
Si la ligne A20 est libre, les lectures du type
MEMx[$FFFF:xxxx] sont autorisées ! }
end else writeln ('Pas d''xms !! Chargez HIMEM.SYS !!');
END.