mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-29 00:36:32 +00:00
46 lines
4.6 KiB
HTML
Executable file
46 lines
4.6 KiB
HTML
Executable file
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
|
|
<meta name="generator" content="ZealOS V0.10">
|
|
<style type="text/css">
|
|
body {background-color:#000000;}
|
|
.cF0{color:#ffffff;background-color:#000000;}
|
|
.cF1{color:#3465a4;background-color:#000000;}
|
|
.cF2{color:#4e9a06;background-color:#000000;}
|
|
.cF3{color:#06989a;background-color:#000000;}
|
|
.cF4{color:#a24444;background-color:#000000;}
|
|
.cF5{color:#75507b;background-color:#000000;}
|
|
.cF6{color:#ce982f;background-color:#000000;}
|
|
.cF7{color:#bcc0b9;background-color:#000000;}
|
|
.cF8{color:#555753;background-color:#000000;}
|
|
.cF9{color:#729fcf;background-color:#000000;}
|
|
.cFA{color:#82bc49;background-color:#000000;}
|
|
.cFB{color:#34e2e2;background-color:#000000;}
|
|
.cFC{color:#ac3535;background-color:#000000;}
|
|
.cFD{color:#ad7fa8;background-color:#000000;}
|
|
.cFE{color:#fce94f;background-color:#000000;}
|
|
.cFF{color:#000000;background-color:#000000;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<pre style="font-family:monospace;font-size:12pt">
|
|
<a name="l1"></a><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.text_base</span></a><span class=cF0> must be updated 60fps in your Fs->draw_it() callback. You probably want </span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrBitMap.CC.html#l1194"><span class=cF4>GrPrint</span></a><span class=cF0>() or just </span><a href="https://tomawezome.github.io/ZealOS/Kernel/StrPrint.CC.html#l1110"><span class=cF4>Print</span></a><span class=cF0>(). The </span><a href="https://tomawezome.github.io/ZealOS/Doc/DolDocOverview.DD.html#l1"><span class=cF4>DolDoc</span></a><span class=cF0>
|
|
<a name="l2"></a>code takes care of plotting text to </span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.text_base</span></a><span class=cF0>.
|
|
<a name="l3"></a>
|
|
<a name="l4"></a>Bits 0-7 8-Bit ASCII Screen Code
|
|
<a name="l5"></a>Bits 8-11 Foreground </span><a href="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l3580"><span class=cF4>color</span></a><span class=cF0>
|
|
<a name="l6"></a>Bits 12-15 Background </span><a href="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l3580"><span class=cF4>color</span></a><span class=cF0>
|
|
<a name="l7"></a>Bits 16-20 Signed X pos shift val
|
|
<a name="l8"></a>Bits 21-25 Signed Y pos shift val
|
|
<a name="l9"></a>Bit 28 </span><a href="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1030"><span class=cF4>Blink</span></a><span class=cF0>
|
|
<a name="l10"></a>Bit 29 </span><a href="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1031"><span class=cF4>Invert</span></a><span class=cF0>ed (Swap foreground and background)
|
|
<a name="l11"></a>Bit 30 </span><a href="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1032"><span class=cF4>Sel</span></a><span class=cF0> (XOR colors with FF)
|
|
<a name="l12"></a>Bit 31 </span><a href="https://tomawezome.github.io/ZealOS/Kernel/KernelA.HH.html#l1033"><span class=cF4>Underline</span></a><span class=cF0>
|
|
<a name="l13"></a></span><span class=cF4>
|
|
<a name="l14"></a></span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrScreen.CC.html#l19"><span class=cF4>GrUpdateTaskWin</span></a><span class=cF0>() calls </span><a href="https://tomawezome.github.io/ZealOS/System/DolDoc/DocRecalcLib.CC.html#l213"><span class=cF4>DocUpdateTaskDocs</span></a><span class=cF0>() which calls </span><a href="https://tomawezome.github.io/ZealOS/System/DolDoc/DocRecalc.CC.html#l305"><span class=cF4>DocRecalc</span></a><span class=cF0>() where the document text is plotted into </span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.text_base</span></a><span class=cF0>. Th
|
|
<a name="l15"></a>en, </span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrScreen.CC.html#l197"><span class=cF4>GrUpdateTextBG</span></a><span class=cF0>() and </span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrScreen.CC.html#l296"><span class=cF4>GrUpdateTextFG</span></a><span class=cF0>() render the </span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.text_base</span></a><span class=cF0> onto </span><a href="https://tomawezome.github.io/ZealOS/System/Gr/GrGlobals.CC.html#l3"><span class=cF4>gr.dc2</span></a><span class=cF0>, a raw graphic bitmap.
|
|
<a name="l16"></a>
|
|
<a name="l17"></a>See </span><a href="https://tomawezome.github.io/ZealOS/Demo/Games/Maze.CC.html#l1"><span class=cF4>::/Demo/Games/Maze.CC</span></a><span class=cF0>.
|
|
</span></pre></body>
|
|
</html>
|