From: kunst AT prl DOT philips DOT nl (Pieter Kunst) Subject: Re: writing interrupt handlers To: S0R1282 AT tamzeus DOT bitnet Date: Tue, 12 Jan 93 17:41:21 MET Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list) Mailer: Elm [revision: 70.30] 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)