|
|
| version 1.1, 2003/12/08 00:55:31 | version 1.3, 2005/03/12 12:32:54 |
|---|---|
| Line 12 | Line 12 |
| * 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the | * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. | * documentation and/or other materials provided with the distribution. |
| * 3. The name of the author may not be used to endorse or promote products | |
| * derived from this software without specific prior written permission. | |
| * | * |
| * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| Line 34 | Line 32 |
| extern "C" { | extern "C" { |
| #endif | #endif |
| BYTE cpu_in(WORD port); | UINT8 cpu_in(UINT port); |
| WORD cpu_in_w(WORD port); | UINT16 cpu_in_w(UINT port); |
| DWORD cpu_in_d(WORD port); | UINT32 cpu_in_d(UINT port); |
| void cpu_out(WORD port, BYTE val); | void cpu_out(UINT port, UINT8 val); |
| void cpu_out_w(WORD port, WORD val); | void cpu_out_w(UINT port, UINT16 val); |
| void cpu_out_d(WORD port, DWORD val); | void cpu_out_d(UINT port, UINT32 val); |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |