Mail Archives: djgpp/1998/03/30/23:38:29
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)
- Raw text -