Message-ID: <3520733B.3F25@post.comstar.ru> Date: Tue, 31 Mar 1998 08:38:19 +0400 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: Comstar Ltd. MIME-Version: 1.0 To: Peter Hanzlik CC: DJGPP Mail List Subject: Re: Accessing Serial Ports References: <351F98C2 DOT 445C1A4A AT sbox DOT zu-graz DOT ac DOT at> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Peter Hanzlik wrote: > > I' ve got some C-Sources for accessing the serial ports of a PC, but > there are some gcc - > Problems. > > How to define a far-Pointer ? > the line void interrupt far *int_vector doesn't work. > Where are the library-functions setvect and getvect ?? (not in dos.h > ?) > > Peter Handling interrupts under protected mode is not so easy task as under real mode, so you can't just declare interrupt far *int_vector. For more information about interrupts handling see FAQ, for serial communications get one of the lib - BCSerio, SVAsinc or DZComm. -- ____ ____ | \ / Dim Zegebart ____/____ Moscow Russia WWW - http://www.geocities.com/siliconvalley/pines/7817 DZcomm - comm library for Allegro Palantir - multitasking kernel for Allegro (based on PDMLWP)