diff --git a/deps/inpout1.5.0.1/InstallDriver.exe b/deps/inpout1.5.0.1/InstallDriver.exe new file mode 100644 index 0000000000000000000000000000000000000000..b7ae820bce9eb0f82fb90e66be4bb126ffe1c8f1 Binary files /dev/null and b/deps/inpout1.5.0.1/InstallDriver.exe differ diff --git a/deps/inpout1.5.0.1/inpout32.dll b/deps/inpout1.5.0.1/inpout32.dll new file mode 100644 index 0000000000000000000000000000000000000000..8889280046028c78b7a379a7e284399b6e1ab0c4 Binary files /dev/null and b/deps/inpout1.5.0.1/inpout32.dll differ diff --git a/deps/inpout1.5.0.1/inpout32.h b/deps/inpout1.5.0.1/inpout32.h new file mode 100644 index 0000000000000000000000000000000000000000..65df09699edf4a4a92cd3fe0ba1cf3d3cd607ddf --- /dev/null +++ b/deps/inpout1.5.0.1/inpout32.h @@ -0,0 +1,32 @@ +#pragma once + +//Functions exported from DLL. +//For easy inclusion is user projects. +//Original InpOut32 function support +void _stdcall Out32(short PortAddress, short data); +short _stdcall Inp32(short PortAddress); + +//My extra functions for making life easy +BOOL _stdcall IsInpOutDriverOpen(); //Returns TRUE if the InpOut driver was opened successfully +BOOL _stdcall IsXP64Bit(); //Returns TRUE if the OS is 64bit (x64) Windows. + +//DLLPortIO function support +UCHAR _stdcall DlPortReadPortUchar (USHORT port); +void _stdcall DlPortWritePortUchar(USHORT port, UCHAR Value); + +USHORT _stdcall DlPortReadPortUshort (USHORT port); +void _stdcall DlPortWritePortUshort(USHORT port, USHORT Value); + +ULONG _stdcall DlPortReadPortUlong(ULONG port); +void _stdcall DlPortWritePortUlong(ULONG port, ULONG Value); + +//WinIO function support (Untested and probably does NOT work - esp. on x64!) +PBYTE _stdcall MapPhysToLin(PBYTE pbPhysAddr, DWORD dwPhysSize, HANDLE *pPhysicalMemoryHandle); +BOOL _stdcall UnmapPhysicalMemory(HANDLE PhysicalMemoryHandle, PBYTE pbLinAddr); +BOOL _stdcall GetPhysLong(PBYTE pbPhysAddr, PDWORD pdwPhysVal); +BOOL _stdcall SetPhysLong(PBYTE pbPhysAddr, DWORD dwPhysVal); + + + + + diff --git a/deps/inpout1.5.0.1/inpout32.lib b/deps/inpout1.5.0.1/inpout32.lib new file mode 100644 index 0000000000000000000000000000000000000000..25b70560268da06204a21da1375a4db7f866ba12 Binary files /dev/null and b/deps/inpout1.5.0.1/inpout32.lib differ