Mail Archives: djgpp/1993/01/12/12:57:46
Steve writes:
>
> I'm porting a routine from BC that traps the com interupt to store incoming
> characters in a buffer.
If you unzip 'aeasy101.zip' you'll find the routines you need.
(DJ also has his own version of an ASYNC driver, the one I use).
> In BC the declaration is void interrupt int_read(void);
> gcc does not understand the interrupt keyword, is there an equivalent that
> will save/restore registers, return via iret, etc?
DJGPP is very useful for porting UNIX software to the PC,
but less suited to port MSC or Borland C programs...
I suggest to use the ASYNC driver from DJ or AE.
--
Pieter Kunst (kunst AT prl DOT philips DOT nl)
- Raw text -