<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to F$IRQ</title><link>https://sourceforge.net/p/nitros9/wiki/F%2524IRQ/</link><description>Recent changes to F$IRQ</description><atom:link href="https://sourceforge.net/p/nitros9/wiki/F$IRQ/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 27 Jun 2014 23:20:33 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nitros9/wiki/F$IRQ/feed" rel="self" type="application/rss+xml"/><item><title>F$IRQ modified by Lothan</title><link>https://sourceforge.net/p/nitros9/wiki/F%2524IRQ/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Set IRQ&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Adds a device to or removes it from the polling table&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OS9 F$IRQ 103F 2A&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Entry Conditions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;D &lt;em&gt;address of the device status register&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;X 0 (to remove a device) or &lt;em&gt;the address of a packet&lt;/em&gt; (to add a device) &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the address at X is the flip byte &lt;/li&gt;
&lt;li&gt;the address at X + 1 is the mask byte &lt;/li&gt;
&lt;li&gt;the address at X + 2 is the priority byte &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Y &lt;em&gt;address of the device IRQ service routine&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;U &lt;em&gt;address of the service routine’s memory area&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Exit Conditions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;None &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error Output&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;CC carry set on error &lt;/p&gt;
&lt;p&gt;B &lt;em&gt;error code&lt;/em&gt;, if any &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Additional Information&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set IRQ is used mainly by device driver routines. (See “Interrupt Processing” in Chapter 2 for a complete discussion of the interrupt polling system.) &lt;/li&gt;
&lt;li&gt;Packet Definitions: &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;The Flip Byte&lt;/strong&gt;. Determines whether the bits in the device status register indicate active when set or active when cleared. If a bit in the flip byte is set, it indicates that the task is active whenever the corresponding bit in the status register is clear (and vice versa). &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Mask Byte&lt;/strong&gt;. Selects one or more bits within the device status register that are interrupt request flag(s). One or more set bits identify which task or device is active. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Priority Byte&lt;/strong&gt;. Contains the device priority number (0 = lowest priority, 255 = highest priority). &lt;/p&gt;
&lt;p&gt;&lt;em&gt;IOMan&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lothan</dc:creator><pubDate>Fri, 27 Jun 2014 23:20:33 -0000</pubDate><guid>https://sourceforge.net610dae8034588d44148b1c530b69205279fc6f39</guid></item></channel></rss>