Sender: nate AT cartsys DOT com Message-ID: <357F49A7.32840FE@cartsys.com> Date: Wed, 10 Jun 1998 20:06:15 -0700 From: Nate Eldredge MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: inb/outb Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk The `inb' and `outb' functions are missing their prototypes in . Here is a patch. Btw, is there a problem with doing `#define inb inportb' and similar either in that file or in ? That would allow people using the alternate names to get the inline advantage. *** include/pc.h~ Wed Jun 10 19:55:40 1998 --- include/pc.h Wed Jun 10 20:04:00 1998 *************** *** 25,33 **** --- 25,35 ---- void outportsw(unsigned short _port, unsigned short *_buf, unsigned _len); void outportsl(unsigned short _port, unsigned long *_buf, unsigned _len); + unsigned char inb(unsigned short _port); unsigned char inp(unsigned short _port); unsigned short inpw(unsigned short _port); void outp(unsigned short _port, unsigned char _data); + void outb(unsigned short _port, unsigned char _data); void outpw(unsigned short _port, unsigned short _data); int kbhit(void); int getkey(void); /* ALT's have 0x100 set */ -- Nate Eldredge nate AT cartsys DOT com