<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: sys/video.c File Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('d7/d45/video_8c.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">video.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../dc/dac/io_8h_source.html">sys/io.h</a>></code><br /> <code>#include <<a class="el" href="../../dd/d78/video_8h_source.html">sys/video.h</a>></code><br /> <code>#include <<a class="el" href="../../df/d63/spinlock_8h_source.html">ubixos/spinlock.h</a>></code><br /> <code>#include <<a class="el" href="../../dd/d71/tty_8h_source.html">ubixos/tty.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for video.c:</div> <div class="dyncontent"> <div class="center"><img src="../../d7/d6c/video_8c__incl.png" border="0" usemap="#sys_2video_8c" alt=""/></div> <map name="sys_2video_8c" id="sys_2video_8c"> <area shape="rect" title=" " alt="" coords="161,5,248,32"/> <area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="5,80,73,107"/> <area shape="rect" href="../../dd/d78/video_8h.html" title=" " alt="" coords="97,80,184,107"/> <area shape="rect" href="../../df/d63/spinlock_8h.html" title=" " alt="" coords="209,80,331,107"/> <area shape="rect" href="../../dd/d71/tty_8h.html" title=" " alt="" coords="355,80,446,107"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="225,155,315,181"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="416,379,513,405"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="354,229,447,256"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="292,304,381,331"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="405,304,524,331"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="548,304,653,331"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="677,304,777,331"/> </map> </div> </div> <p><a href="../../d7/d45/video_8c_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a05d079fd6b2d61320ad423e5c918903c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d45/video_8c.html#a05d079fd6b2d61320ad423e5c918903c">backSpace</a> ()</td></tr> <tr class="separator:a05d079fd6b2d61320ad423e5c918903c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9d7e8af417b6d543da691e9c0e2f6f9f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d45/video_8c.html#a9d7e8af417b6d543da691e9c0e2f6f9f">clearScreen</a> ()</td></tr> <tr class="separator:a9d7e8af417b6d543da691e9c0e2f6f9f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5429378b96a24fadfd2d1f8d777eb95a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d45/video_8c.html#a5429378b96a24fadfd2d1f8d777eb95a">kprint</a> (char *string)</td></tr> <tr class="separator:a5429378b96a24fadfd2d1f8d777eb95a"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:aa6d08b2dd961295607e6a5d52f1d471e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d45/video_8c.html#aa6d08b2dd961295607e6a5d52f1d471e">printColor</a> = <a class="el" href="../../dd/d78/video_8h.html#a2984c3db0ad3a4a571a8ee0b4d2fe90b">defaultColor</a></td></tr> <tr class="separator:aa6d08b2dd961295607e6a5d52f1d471e"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a05d079fd6b2d61320ad423e5c918903c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a05d079fd6b2d61320ad423e5c918903c">◆ </a></span>backSpace()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void backSpace </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d7/d45/video_8c_source.html#l00037">37</a> of file <a class="el" href="../../d7/d45/video_8c_source.html">video.c</a>.</p> <p class="reference">References <a class="el" href="../../df/d0a/io_8c_source.html#l00038">inportByte()</a>, and <a class="el" href="../../df/d0a/io_8c_source.html#l00072">outportByte()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d7/d45/video_8c_a05d079fd6b2d61320ad423e5c918903c_cgraph.png" border="0" usemap="#d7/d45/video_8c_a05d079fd6b2d61320ad423e5c918903c_cgraph" alt=""/></div> <map name="d7/d45/video_8c_a05d079fd6b2d61320ad423e5c918903c_cgraph" id="d7/d45/video_8c_a05d079fd6b2d61320ad423e5c918903c_cgraph"> <area shape="rect" title=" " alt="" coords="5,31,92,57"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="144,5,225,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="140,56,229,83"/> </map> </div> </div> </div> <a id="a9d7e8af417b6d543da691e9c0e2f6f9f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9d7e8af417b6d543da691e9c0e2f6f9f">◆ </a></span>clearScreen()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void clearScreen </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d7/d45/video_8c_source.html#l00109">109</a> of file <a class="el" href="../../d7/d45/video_8c_source.html">video.c</a>.</p> </div> </div> <a id="a5429378b96a24fadfd2d1f8d777eb95a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5429378b96a24fadfd2d1f8d777eb95a">◆ </a></span>kprint()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void kprint </td> <td>(</td> <td class="paramtype">char * </td> <td class="paramname"><em>string</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d7/d45/video_8c_source.html#l00058">58</a> of file <a class="el" href="../../d7/d45/video_8c_source.html">video.c</a>.</p> <p class="reference">References <a class="el" href="../../df/d0a/io_8c_source.html#l00038">inportByte()</a>, <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="../../df/d0a/io_8c_source.html#l00072">outportByte()</a>, <a class="el" href="../../dc/d03/tty_8c_source.html#l00167">tty_find()</a>, <a class="el" href="../../dc/d03/tty_8c_source.html#l00038">tty_foreground</a>, and <a class="el" href="../../dc/d03/tty_8c_source.html#l00115">tty_print()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d7/d45/video_8c_a5429378b96a24fadfd2d1f8d777eb95a_cgraph.png" border="0" usemap="#d7/d45/video_8c_a5429378b96a24fadfd2d1f8d777eb95a_cgraph" alt=""/></div> <map name="d7/d45/video_8c_a5429378b96a24fadfd2d1f8d777eb95a_cgraph" id="d7/d45/video_8c_a5429378b96a24fadfd2d1f8d777eb95a_cgraph"> <area shape="rect" title=" " alt="" coords="5,81,60,108"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="112,5,193,32"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="108,56,197,83"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="121,107,185,133"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="118,157,187,184"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="245,157,320,184"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="369,132,459,159"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="368,183,460,209"/> </map> </div> </div> </div> <h2 class="groupheader">Variable Documentation</h2> <a id="aa6d08b2dd961295607e6a5d52f1d471e"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa6d08b2dd961295607e6a5d52f1d471e">◆ </a></span>printColor</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int printColor = <a class="el" href="../../dd/d78/video_8h.html#a2984c3db0ad3a4a571a8ee0b4d2fe90b">defaultColor</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d7/d45/video_8c_source.html#l00035">35</a> of file <a class="el" href="../../d7/d45/video_8c_source.html">video.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d7/d42/vfs__calls_8c_source.html#l00291">sys_write()</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_a408b6d3a4a484720bc3ecfeac8947e3.html">sys</a></li><li class="navelem"><a class="el" href="../../d7/d45/video_8c.html">video.c</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>