Direct memory access ?

        Hi ! I need a direct access to the BIOS area of RAM under Windows 3.1
A can allocate memory but as soon as I try to get the value. Can anyone help me?

Program Lecture;
Uses Win31,WinProcs,WinCrt;
Var
   Sel : Word;
   Sg,Off : Word;
   P : Pointer;
Begin
     Sel:=AllocSelector(DSeg);
     SetSelectorBase(Sel,$000FFFFF);{F000:FFFF}
     SetSelectorLimit(Sel,0);
     Writeln(Byte(Ptr(Sel,$FFFF)^));
     P:=MAKELP(Sel,$FFFF); {or P:=Ptr(Sel,$FFFF); or P:=Ptr($F000,FFF5)}
{the ABSOLUTE keyword doesn't work either}
End.