<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to I$Attach</title><link>https://sourceforge.net/p/nitros9/wiki/I%2524Attach/</link><description>Recent changes to I$Attach</description><atom:link href="https://sourceforge.net/p/nitros9/wiki/I$Attach/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 27 Jun 2014 23:20:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nitros9/wiki/I$Attach/feed" rel="self" type="application/rss+xml"/><item><title>I$Attach modified by Lothan</title><link>https://sourceforge.net/p/nitros9/wiki/I%2524Attach/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Attach Device&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Attaches a device to the system or verifies device attachment.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OS9 I$Attach 103F 80&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Entry Conditions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A &lt;em&gt;access mode&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;X &lt;em&gt;address of the device name string&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Exit Conditions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;X &lt;em&gt;updated past device name&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;U &lt;em&gt;address of the device table entry&lt;/em&gt;&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;Attach does not reserve the device. It only prepares the device for later use by any process. &lt;/li&gt;
&lt;li&gt;NitrOS-9 installs most devices automatically on startup. Therefore, you need to use Attach only when installing a device dynamically or when verifying the existence of a device. You need not use the Attach system call to perform routing I/O. &lt;/li&gt;
&lt;li&gt;The access mode parameter specifies the read and/or write operations to be allowed. These are: &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;0 = Use any special device capabilities &lt;/p&gt;
&lt;p&gt;1 = Read only &lt;/p&gt;
&lt;p&gt;2 = Write only &lt;/p&gt;
&lt;p&gt;3 = Update (read and write) &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Attach operates in this sequence: &lt;ol&gt;
&lt;li&gt;NitrOS-9 searches the system module to see if any memory contains a device descriptor that has the same name as the device. &lt;/li&gt;
&lt;li&gt;NitrOS-9’s next operation depends on whether or not the device is already attached. If NitrOS-9 finds the descriptor and if the device is not already attached, NitrOS-9 link the device’s file manager and device driver. It then places the address of the manager and the driver in a new device table entry. NitrOS-9 then allocates any memory needed by the device driver, and calls the driver’s initialization routine, which initializes the hardware. &lt;/li&gt;
&lt;li&gt;If NitrOS-9 finds the descriptor, and if the device is already attached, NitrOS-9 verifies the attachment. &lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&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:32 -0000</pubDate><guid>https://sourceforge.netb4c957bf7d84e8ca6475c752143e8250037b3dc8</guid></item></channel></rss>