Newer
Older
ubixos / doc / xml / video_8h.xml
<?xml version='1.0' encoding='iso-8859-1' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.4.7">
  <compounddef id="video_8h" kind="file">
    <compoundname>video.h</compoundname>
    <includes refid="types_8h" local="no">ubixos/types.h</includes>
    <includedby refid="main_8c" local="no">src/sys/init/main.c</includedby>
    <includedby refid="atkbd_8c" local="no">src/sys/isa/atkbd.c</includedby>
    <includedby refid="fdc_8c" local="no">src/sys/isa/fdc.c</includedby>
    <includedby refid="bioscall_8c" local="no">src/sys/kernel/bioscall.c</includedby>
    <includedby refid="syscall_8c" local="no">src/sys/kernel/syscall.c</includedby>
    <includedby refid="kprintf_8c" local="no">src/sys/lib/kprintf.c</includedby>
    <includedby refid="libcpp_8cc" local="no">src/sys/lib/libcpp.cc</includedby>
    <includedby refid="hd_8c" local="no">src/sys/pci/hd.c</includedby>
    <includedby refid="lnc_8c" local="no">src/sys/pci/lnc.c</includedby>
    <includedby refid="video_8c" local="no">src/sys/sys/video.c</includedby>
    <incdepgraph>
      <node id="4065">
        <label>ubixos/types.h</label>
        <link refid="types_8h"/>
        <childnode refid="4066" relation="include">
        </childnode>
      </node>
      <node id="4066">
        <label>sys/_types.h</label>
        <link refid="__types_8h"/>
      </node>
      <node id="4064">
        <label>src/sys/include/sys/video.h</label>
        <link refid="video.h"/>
        <childnode refid="4065" relation="include">
        </childnode>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="4076">
        <label>src/sys/pci/lnc.c</label>
        <link refid="lnc_8c"/>
      </node>
      <node id="4073">
        <label>src/sys/lib/kprintf.c</label>
        <link refid="kprintf_8c"/>
      </node>
      <node id="4075">
        <label>src/sys/pci/hd.c</label>
        <link refid="hd_8c"/>
      </node>
      <node id="4067">
        <label>src/sys/include/sys/video.h</label>
        <link refid="video.h"/>
        <childnode refid="4068" relation="include">
        </childnode>
        <childnode refid="4069" relation="include">
        </childnode>
        <childnode refid="4070" relation="include">
        </childnode>
        <childnode refid="4071" relation="include">
        </childnode>
        <childnode refid="4072" relation="include">
        </childnode>
        <childnode refid="4073" relation="include">
        </childnode>
        <childnode refid="4074" relation="include">
        </childnode>
        <childnode refid="4075" relation="include">
        </childnode>
        <childnode refid="4076" relation="include">
        </childnode>
        <childnode refid="4077" relation="include">
        </childnode>
      </node>
      <node id="4077">
        <label>src/sys/sys/video.c</label>
        <link refid="video_8c"/>
      </node>
      <node id="4068">
        <label>src/sys/init/main.c</label>
        <link refid="main_8c"/>
      </node>
      <node id="4071">
        <label>src/sys/kernel/bioscall.c</label>
        <link refid="bioscall_8c"/>
      </node>
      <node id="4072">
        <label>src/sys/kernel/syscall.c</label>
        <link refid="syscall_8c"/>
      </node>
      <node id="4069">
        <label>src/sys/isa/atkbd.c</label>
        <link refid="atkbd_8c"/>
      </node>
      <node id="4074">
        <label>src/sys/lib/libcpp.cc</label>
        <link refid="libcpp_8cc"/>
      </node>
      <node id="4070">
        <label>src/sys/isa/fdc.c</label>
        <link refid="fdc_8c"/>
      </node>
    </invincdepgraph>
      <sectiondef kind="define">
      <memberdef kind="define" id="video_8h_12984c3db0ad3a4a571a8ee0b4d2fe90b" prot="public" static="no">
        <name>defaultColor</name>
        <initializer>0x0F</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/video.h" line="35" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/include/sys/video.h" bodystart="35" bodyend="-1"/>
        <referencedby refid="video_8c_19d7e8af417b6d543da691e9c0e2f6f9f" compoundref="video_8c" startline="115" endline="126">clearScreen</referencedby>
      </memberdef>
      </sectiondef>
      <sectiondef kind="func">
      <memberdef kind="function" id="video_8h_105d079fd6b2d61320ad423e5c918903c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void backSpace</definition>
        <argsstring>()</argsstring>
        <name>backSpace</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/video.h" line="41" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/sys/video.c" bodystart="40" bodyend="59"/>
        <references refid="io_8h_177b934268de1b3ecdcf3f275413b3108" compoundref="io_8c" startline="39" endline="47">inportByte</references>
        <references refid="io_8h_18acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="73" endline="79">outportByte</references>
        <references refid="video_8h_1a6d08b2dd961295607e6a5d52f1d471e" compoundref="video_8c" startline="37">printColor</references>
        <references refid="tty_8h_1afbb5679104334c34d7691b2de7d7a86" compoundref="tty_8c" startline="39">tty_foreground</references>
        <references refid="structtty__termNode_1b4da0597e471d572404510d113cf91a9" compoundref="tty_8h" startline="41">tty_termNode::tty_x</references>
        <references refid="structtty__termNode_16c5b9052e1368205622f7dad04ab815b" compoundref="tty_8h" startline="42">tty_termNode::tty_y</references>
        <references refid="systemtask_8c_147ec71507e9b790e7dfdd9e641c4541f" compoundref="systemtask_8c" startline="45">videoBuffer</references>
        <referencedby refid="atkbd_8c_10a638d89ef3b126799ec1503c743a723" compoundref="atkbd_8c" startline="216" endline="319">keyboardHandler</referencedby>
      </memberdef>
      <memberdef kind="function" id="video_8h_19d7e8af417b6d543da691e9c0e2f6f9f" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void clearScreen</definition>
        <argsstring>()</argsstring>
        <name>clearScreen</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/video.h" line="39" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/sys/video.c" bodystart="115" bodyend="126"/>
        <references refid="video_8h_12984c3db0ad3a4a571a8ee0b4d2fe90b" compoundref="video_8h" startline="35">defaultColor</references>
        <references refid="io_8h_18acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="73" endline="79">outportByte</references>
        <references refid="systemtask_8c_147ec71507e9b790e7dfdd9e641c4541f" compoundref="systemtask_8c" startline="45">videoBuffer</references>
        <references refid="start_8S_162df326d54f8b2ece412319c4360ef3e" compoundref="start_8S" startline="51">x20</references>
        <referencedby refid="main_8c_1a099bb67b4698f94150184a0ee8ccffb" compoundref="main_8c" startline="97" endline="152">kmain</referencedby>
      </memberdef>
      <memberdef kind="function" id="video_8h_15429378b96a24fadfd2d1f8d777eb95a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void kprint</definition>
        <argsstring>(char *string)</argsstring>
        <name>kprint</name>
        <param>
          <type>char *</type>
          <declname>string</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/video.h" line="40" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/sys/video.c" bodystart="62" bodyend="112"/>
        <references refid="io_8h_177b934268de1b3ecdcf3f275413b3108" compoundref="io_8c" startline="39" endline="47">inportByte</references>
        <references refid="types_8h_1070d2ce7b6bb7e5c05602aa8c308d0c4" compoundref="types_8h" startline="36">NULL</references>
        <references refid="io_8h_18acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="73" endline="79">outportByte</references>
        <references refid="video_8h_1a6d08b2dd961295607e6a5d52f1d471e" compoundref="video_8c" startline="37">printColor</references>
        <references refid="tty_8h_14f96ccac7e60296ef496008d8cbed0ff" compoundref="tty_8c" startline="170" endline="172">tty_find</references>
        <references refid="tty_8h_1afbb5679104334c34d7691b2de7d7a86" compoundref="tty_8c" startline="39">tty_foreground</references>
        <references refid="tty_8h_1d96f57a7c113d3cfa76ee5fed6de33c0" compoundref="tty_8c" startline="118" endline="168">tty_print</references>
        <references refid="systemtask_8c_147ec71507e9b790e7dfdd9e641c4541f" compoundref="systemtask_8c" startline="45">videoBuffer</references>
        <references refid="start_8S_162df326d54f8b2ece412319c4360ef3e" compoundref="start_8S" startline="51">x20</references>
        <referencedby refid="fdc_8c_19d92103f483df5da1a07402347739e44" compoundref="fdc_8c" startline="129" endline="199">fdcRw</referencedby>
        <referencedby refid="main_8c_1a099bb67b4698f94150184a0ee8ccffb" compoundref="main_8c" startline="97" endline="152">kmain</referencedby>
        <referencedby refid="kprintf_8c_1b2761bdf0cca73ad0fb5880895210cd8" compoundref="kprintf_8c" startline="38" endline="49">kprintf</referencedby>
      </memberdef>
      </sectiondef>
      <sectiondef kind="var">
      <memberdef kind="variable" id="video_8h_1a6d08b2dd961295607e6a5d52f1d471e" prot="public" static="no" mutable="no">
        <type>int</type>
        <definition>int printColor</definition>
        <argsstring></argsstring>
        <name>printColor</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/video.h" line="37" bodyfile="/usr/home/reddawg/source/ubix2/src/sys/sys/video.c" bodystart="37" bodyend="-1"/>
        <referencedby refid="video_8c_105d079fd6b2d61320ad423e5c918903c" compoundref="video_8c" startline="40" endline="59">backSpace</referencedby>
        <referencedby refid="video_8c_15429378b96a24fadfd2d1f8d777eb95a" compoundref="video_8c" startline="62" endline="112">kprint</referencedby>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*****************************************************************************************</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>Copyright<sp/>(c)<sp/>2002-2004<sp/>The<sp/>UbixOS<sp/>Project</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>All<sp/>rights<sp/>reserved.</highlight></codeline>
<codeline lineno="4"><highlight class="comment"></highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline>
<codeline lineno="7"><highlight class="comment"></highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.<sp/><sp/>Redistributions<sp/>in<sp/>binary</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of<sp/>conditions,<sp/>the<sp/>following</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or<sp/>other<sp/>materials<sp/>provided</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>with<sp/>the<sp/>distribution.<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline>
<codeline lineno="15"><highlight class="comment"></highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>COPYRIGHT<sp/>HOLDERS<sp/>AND<sp/>CONTRIBUTORS<sp/>&quot;AS<sp/>IS&quot;<sp/>AND<sp/>ANY</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>EXPRESS<sp/>OR<sp/>IMPLIED<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL</highlight></codeline>
<codeline lineno="19"><highlight class="comment"><sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,</highlight></codeline>
<codeline lineno="20"><highlight class="comment"><sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR</highlight></codeline>
<codeline lineno="23"><highlight class="comment"><sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS</highlight></codeline>
<codeline lineno="24"><highlight class="comment"><sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline>
<codeline lineno="25"><highlight class="comment"></highlight></codeline>
<codeline lineno="26"><highlight class="comment"><sp/>$Id: video_8h.xml 88 2016-01-12 00:11:29Z reddawg $</highlight></codeline>
<codeline lineno="27"><highlight class="comment"></highlight></codeline>
<codeline lineno="28"><highlight class="comment">*****************************************************************************************/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight></codeline>
<codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_VIDEO_H</highlight></codeline>
<codeline lineno="31"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>_VIDEO_H</highlight></codeline>
<codeline lineno="32"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="types_8h" kindref="compound">ubixos/types.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight></codeline>
<codeline lineno="35" refid="video_8h_12984c3db0ad3a4a571a8ee0b4d2fe90b" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>defaultColor<sp/>0x0F</highlight></codeline>
<codeline lineno="36"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="video_8h_1a6d08b2dd961295607e6a5d52f1d471e" kindref="member">printColor</ref>;</highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="video_8h_19d7e8af417b6d543da691e9c0e2f6f9f" kindref="member">clearScreen</ref>();</highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="video_8h_15429378b96a24fadfd2d1f8d777eb95a" kindref="member">kprint</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*string);</highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="video_8h_105d079fd6b2d61320ad423e5c918903c" kindref="member">backSpace</ref>();</highlight></codeline>
<codeline lineno="42"><highlight class="normal"></highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="44"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline>
<codeline lineno="46"><highlight class="comment"><sp/>$Log: video_8h.xml,v $
<codeline lineno="46"><highlight class="comment"><sp/>Revision 1.6  2006/12/19 14:12:54  reddawg
<codeline lineno="46"><highlight class="comment"><sp/>rtld-elf almost workign
<codeline lineno="46"><highlight class="comment"><sp/></highlight></codeline>
<codeline lineno="47"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2006/06/01<sp/>12:46:15<sp/><sp/>reddawg</highlight></codeline>
<codeline lineno="48"><highlight class="comment"><sp/>ubix2</highlight></codeline>
<codeline lineno="49"><highlight class="comment"></highlight></codeline>
<codeline lineno="50"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2005/10/12<sp/>00:13:37<sp/><sp/>reddawg</highlight></codeline>
<codeline lineno="51"><highlight class="comment"><sp/>Removed</highlight></codeline>
<codeline lineno="52"><highlight class="comment"></highlight></codeline>
<codeline lineno="53"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2005/09/26<sp/>17:23:53<sp/><sp/>reddawg</highlight></codeline>
<codeline lineno="54"><highlight class="comment"><sp/>no<sp/>message</highlight></codeline>
<codeline lineno="55"><highlight class="comment"></highlight></codeline>
<codeline lineno="56"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2004/05/21<sp/>15:12:17<sp/><sp/>reddawg</highlight></codeline>
<codeline lineno="57"><highlight class="comment"><sp/>Cleaned<sp/>up</highlight></codeline>
<codeline lineno="58"><highlight class="comment"></highlight></codeline>
<codeline lineno="59"><highlight class="comment"></highlight></codeline>
<codeline lineno="60"><highlight class="comment"><sp/>END</highlight></codeline>
<codeline lineno="61"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline>
    </programlisting>
    <location file="/usr/home/reddawg/source/ubix2/src/sys/include/sys/video.h"/>
  </compounddef>
</doxygen>