Inp & Out Functions (XP Friendly and very easy to use)
Posted: Sat Feb 10, 2007 12:28 am
Code updated for 5.20+
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;
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