To use Inp and Out as functions in whatever you may be brewing in purebasic, you will need the following;
The InpOut32.dll from: Here
And the following source code;
Code: Select all
OpenLibrary(0,"InpOut32.dll")
Procedure Inp(Port)
CallFunction(0,"Inp32",Port)
EndProcedure
Procedure Out(Port,Value)
CallFunction(0,"Out32",Port,Value)
EndProcedure