property PortB[Idx:Integer] : BYTE read GetPortB write SetPortB; property PortW[Idx:Integer] : WORD read GetPortW write SetPortW; property PortD[Idx:Integer] : DWORD read GetPortD write SetPortD; property MSR[Idx:Integer] : Int64 read GetMSR write SetMSR; function OpenPorts(Lo, Hi : Integer) : Boolean; function ClosePorts(Lo, Hi : Integer) : Boolean;
3 Port arrays (one for BYTE, WORD and DWORD access) are for port access. Before performing any port access the port must be opened (though it's really necessary under WinNT only). OpenPort excepts to parameters Lo and Hi that declare a range of ports to be opened.
It is recommmended to close the same ports using ClosePorts before closing the application.
The MSR Array gives access to the Model Specific Registers. The TestRing0 demo application demoinstrates how to use this array to access the Time Stamp Counter (TSC).
TRing0 is shareware. The registration fee is 20USD for private use and 50USD for use in commerical applications. The TRing0 source code is available for 100USD.