diff options
author | Nao Pross <naopross@thearcway.org> | 2017-03-23 20:42:26 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-03-23 20:42:26 +0100 |
commit | 70b8b7f2d766f4ca131f9fa299546eb3697db8d4 (patch) | |
tree | 12db7c7402f06409cef1828ee49748c70b8e3325 /res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h | |
parent | hardware nearly finished (diff) | |
download | z80uPC-70b8b7f2d766f4ca131f9fa299546eb3697db8d4.tar.gz z80uPC-70b8b7f2d766f4ca131f9fa299546eb3697db8d4.zip |
changed scheme layout
hw: changed scheme and annotated components
doc: added build script for windows
sw: added res/ folder with blaster and created jedec document for
address decoder pld
Diffstat (limited to '')
-rw-r--r-- | res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h b/res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h new file mode 100644 index 0000000..2fd3bf9 --- /dev/null +++ b/res/ATFBlast_ALL/userport/UserPort/Examples/IOPort.h @@ -0,0 +1,18 @@ +#ifndef IOPORTH +#define IOPORTH + +#ifdef __cplusplus +extern "C" { +#endif + +void outport(UINT portid, UINT value); +void outportb(UINT portid, BYTE value); +BYTE inportb(UINT portid); +UINT inport(UINT portid); +BOOL StartUpIoPorts(UINT PortToAccess, BOOL bShowMessageBox, HWND hParentWnd); + +#ifdef __cplusplus +} +#endif + +#endif |