From: "cwg" Newsgroups: comp.os.msdos.djgpp References: <3BB5378E DOT 8E596BC8 AT worldnet DOT att DOT net> <3BB56F83 DOT 5DD6EEAB AT yahoo DOT com> <3BB5FAAD DOT AB8B09C1 AT worldnet DOT att DOT net> <3BB63CCF DOT F1B365E7 AT worldnet DOT att DOT net> Subject: Re: what's #include ? Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: X-Complaints-To: abuse AT usenetserver DOT com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Sun, 30 Sep 2001 00:51:59 EDT Organization: Bellsouth.Net Date: Sat, 29 Sep 2001 23:55:10 -0500 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com D! grumble, borland specific stuff. Maybe I'm tackling this wrong by trying to massage it to DJGPP, seeing as I've been given a BC compiler, and that the program was targeted for that environment, I ought to work with it there until I get my C skills back up to able to port it over. Thanks for the HTTP. "Les Cargill" wrote in message news:3BB63CCF DOT F1B365E7 AT worldnet DOT att DOT net... > "interrupt" is, I believe, a Borland specific keyword extension to the 'C' > language. The compiler generated a little bit of extra code to > mask/unmask interrupts and PIC handling. I'd have to look back at > "Advanced MSDOS" to be sure, and that predates DPMI. > > Check the manuals for how to do interrupt handlers in DJGPP. I just got here, > so I don't really know. When I have done interrupt processing in the last > seven years, it was throgh an RTOS, which had it's own paradigm. > > http://www.delorie.com/djgpp/doc/ > and > http://www.ee.nmt.edu/~rison/ee352_spr00/supp/000128/timer_int.html > > I just goodled up "DJGPP interrupt". > > Also, when I did serial port stuff on PeeCees last, it was through the Greenleaf > serial port libraries.