CMOS: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
No edit summary
Line 8: Line 8:
Example, showing how to read from the CMOS: (this examples contains intel style asm, not GAS which is used in GCC)
Example, showing how to read from the CMOS: (this examples contains intel style asm, not GAS which is used in GCC)


<pre
<nowiki>
ReadFromCMOS (unsigned char array [])
ReadFromCMOS (unsigned char array [])
{
{
Line 34: Line 34:
}
}
}
}
</nowiki>
</pre>


== Example Writing ==
== Example Writing ==
Example showing how to write:
Example showing how to write:


<nowiki>
<pre>
WriteTOCMOS(unsigned char array[])
WriteTOCMOS(unsigned char array[])
{
{
Line 63: Line 63:
}
}
}
}
</nowiki>
</pre>
== See Also ==
== See Also ==
[http://irb.cs.uni-magdeburg.de/~zbrog/asm/cmos.html CMOS Memory Map]
[http://irb.cs.uni-magdeburg.de/~zbrog/asm/cmos.html CMOS Memory Map]