CMOS: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Combuster (talk | contribs)
m Reverted edits by Imate900 (Talk); changed back to last version by Jnc100
reorganized sections for examples, sorry about last edit
Line 5:
To access CMOS RAM, the index address (0 to 7F hex) is output to port 70h, and the data is then read or written at port 71h.
 
== Example ReadingExamples ==
Example,All showing how to read from the CMOS: (thisthese examples contains inteluse Intel-style [[assembly]], not [[GAS]] which is used in [[GCC]]).
=== Reading from the CMOS ===
 
<pre>
ReadFromCMOS (unsigned char array [])
Line 35:
}
</pre>
=== Writing to the CMOS ===
 
== Example Writing ==
Example showing how to write:
 
<pre>
WriteTOCMOS(unsigned char array[])