From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d1b37af34f7d1666 X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Connecting To Interrupts Using Protected Procedures Date: 1999/02/18 Message-ID: <7ag0p8$ae3$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 445551789 References: <36CB42FA.FDD195CF@pwfl.com> X-Http-Proxy: 1.0 x4.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Feb 18 03:18:07 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-02-18T00:00:00+00:00 List-Id: In article <36CB42FA.FDD195CF@pwfl.com>, diespammer@pwfl.com wrote: > Now Ada95 allows this as per ARM J.7.1 etc. but given > that it is considered obsolete, I'd like to do it by the > preferred method. Please, obsolescent, not obsolete. The rules in Annex J are just as normative as anything else in the RM. They simply represent the design team's opinion of features they would have preferred not to support, if they had had a choice. I think the likelyhood of ANY of the annex J features ever being removed fr om the language is zero. Why on earth cause significant back compatibility problems for no good reason? In this particular case, I actually prefer the Ada 83 style of interrupts. I think it is a much cleaner interface from a conceptual point of view, and it allows the program counter to be used to encode the state of the interrupt handler process. As far as hardware goes, machine interrupt structure exists that reflects both models. All ia32 (x86) machines for example support a hardware model of interrupts essentially identical to the J.7.1 method. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own