00001 /* ndk - [ io.h ] 00002 * 00003 * Basic port IO functions 00004 * 00005 * (c)2004 dcipher / neuraldk 00006 * www.neuraldk.org 00007 */ 00008 00017 #ifndef __ndk_io_h__ 00018 #define __ndk_io_h__ 00019 00020 // TODO: move to "io*" style functions? 00021 00022 unsigned char inportb(unsigned int port); 00023 void outportb(unsigned int port, unsigned char value); 00024 void outportw(unsigned int port, unsigned int value); 00025 00026 #endif 00027