
ManualNumber:00650-148-1Page 2
PCI-ICOM485/4Manual
ACCES95 and
ACCESNT Thesetwodriversarementionedforusersmigratingfromolderversionsof
ACCES Tools. The functionality of ACCES95 and ACCESNT has been
combinedintoACCES32.DLL,whichisdescribedbelow.
InordertomodifyyoursoftwaretousethenewACCES32.DLLinsteadof
theoldercode,changethefileyoulinktofromACCES95orACCESNTto
ACCES32. No other changes are necessary.
ToavoidrecompilingsoftwarethatwaswrittenforACCES95orACCESNT,
rename ACCES32.DLL to the appropriate name (95 or NT specific).
ACCES32 This directory contains the Windows 95/98/NT driver used to provide
access to the hardware registers when writing 32-bit Windows software.
Severalsamplesareprovidedinavarietyoflanguagestodemonstratehow
to use this driver. The DLL provides four functions (InPortB, OutPortB,
InPort, and OutPort) to access the hardware.
This directory also contains the device driver and install program for NT.
This device driver provides register-level hardware access from Windows
NT, normally called through ACCES32.DLL. Two methods of using the
driver are provided, the ACCES32.DLL (recommended) and the
DeviceIOControl handles direct to the SYS file (slightly faster)
ACCESNT.EXE RunthisprogramonWindowsNTtoprepareACCES32.DLLforuse. This
istheinstallprogramfortheSYSfileitself. TheACCESNT.SYSfilemust
reside in the same directory as this executable, and is copied to the drivers
directory of NT. The driver is then dynamically started, and can be used
immediately. ACCESNT.EXEneedberunonlyoncepercomputer. Once
the driver is started, the registry entries tell WindowsNT to load the driver
on each boot-up.
No installation is necessary for Windows 95/98.
DLL SamplesforusingACCES32.DLLareprovidedinthisdirectory. Usingthis
DLLnotonlymakesthehardwareprogrammingeasier(MUCHeasier),but
alsoonesourcefilecanbeusedforbothWindows95/98andWindowsNT.
One executable can run under both operating systems and still have full
access to the hardware registers. The DLL is used exactly like any other
DLL, so it is compatible with any language capable of using 32-bit DLLs.
Consultthemanualsprovidedwithyourlanguage’scompilerforinformation
on using DLLs in your specific environment.
SYS The samples in this directory are provided ONLY for WindowsNT. The
DeviceIOControl based interaction with the register-level driver is only
availablein NT. Ifyourcode iswrittento usethismethod,it willnotwork
with Windows 95 or Windows 98.
TheSYSfileistheactualworkhorsebehindhardwareaccessinWindowsNT.
It is installed by ACCESNT.EXE and utilizes the DeviceIOControl API
functionforinteractionwithusercode. Samplesareprovideddemonstrating
thisAPIcall,butitisstronglyrecommendedthattheDLLinterfacebeused.
The DLL described above encapsulates the SYS file and performs the
DeviceIOControlcallsata small penalty in speed (a call through the DLL
interface).