Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thiago Santini
EyeRec
Commits
95e1372c
Commit
95e1372c
authored
May 04, 2016
by
Thiago C. Santini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds inpout32 dependency for parallel port access
parent
f459913b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
0 deletions
+32
-0
deps/inpout1.5.0.1/InstallDriver.exe
deps/inpout1.5.0.1/InstallDriver.exe
+0
-0
deps/inpout1.5.0.1/inpout32.dll
deps/inpout1.5.0.1/inpout32.dll
+0
-0
deps/inpout1.5.0.1/inpout32.h
deps/inpout1.5.0.1/inpout32.h
+32
-0
deps/inpout1.5.0.1/inpout32.lib
deps/inpout1.5.0.1/inpout32.lib
+0
-0
No files found.
deps/inpout1.5.0.1/InstallDriver.exe
0 → 100644
View file @
95e1372c
File added
deps/inpout1.5.0.1/inpout32.dll
0 → 100644
View file @
95e1372c
File added
deps/inpout1.5.0.1/inpout32.h
0 → 100644
View file @
95e1372c
#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
);
deps/inpout1.5.0.1/inpout32.lib
0 → 100644
View file @
95e1372c
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment