Serial Ports: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Line 226:
</pre>
Notice that the initialization code above writes to [PORT + 1] twice with different values. This is once to write to the Divisor register along with [PORT + 0] and once to write to the Interrupt register as detailed in the previous section. The second write to the Line Control register [PORT + 3] clears the DLAB again as well as setting various other bits.
===Receiving data===
|