<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=US-ASCII"> <meta name="generator" content="ZealOS V1.00"> <style type="text/css"> body {background-color:#fef1f0;} .cF0{color:#000000;background-color:#fef1f0;} .cF1{color:#0148a4;background-color:#fef1f0;} .cF2{color:#3b7901;background-color:#fef1f0;} .cF3{color:#057c7e;background-color:#fef1f0;} .cF4{color:#bb2020;background-color:#fef1f0;} .cF5{color:#9e42ae;background-color:#fef1f0;} .cF6{color:#b57901;background-color:#fef1f0;} .cF7{color:#b2b6af;background-color:#fef1f0;} .cF8{color:#555753;background-color:#fef1f0;} .cF9{color:#678fbb;background-color:#fef1f0;} .cFA{color:#82bc49;background-color:#fef1f0;} .cFB{color:#0097a2;background-color:#fef1f0;} .cFC{color:#e26a6a;background-color:#fef1f0;} .cFD{color:#c671bc;background-color:#fef1f0;} .cFE{color:#c7ab00;background-color:#fef1f0;} .cFF{color:#fef1f0;background-color:#fef1f0;} </style> </head> <body> <pre style="font-family:monospace;font-size:12pt"> <a name="l1"></a><a href="https://zeal-operating-system.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://zeal-operating-system.github.io/ZealOS/System/Gr/GrBitMap.CC.html#l1194"><span class=cF4>GrPrint</span></a><span class=cF0>() or just </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/StrPrint.CC.html#l1110"><span class=cF4>Print</span></a><span class=cF0>(). The </span><a href="https://zeal-operating-system.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://zeal-operating-system.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://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3619"><span class=cF4>color</span></a><span class=cF0> <a name="l6"></a>Bits 12-15 Background </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l3619"><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://zeal-operating-system.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://zeal-operating-system.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://zeal-operating-system.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://zeal-operating-system.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://zeal-operating-system.github.io/ZealOS/System/Gr/GrScreen.CC.html#l19"><span class=cF4>GrUpdateTaskWin</span></a><span class=cF0>() calls </span><a href="https://zeal-operating-system.github.io/ZealOS/System/DolDoc/DocRecalcLib.CC.html#l223"><span class=cF4>DocUpdateTaskDocs</span></a><span class=cF0>() which calls </span><a href="https://zeal-operating-system.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://zeal-operating-system.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://zeal-operating-system.github.io/ZealOS/System/Gr/GrScreen.CC.html#l197"><span class=cF4>GrUpdateTextBG</span></a><span class=cF0>() and </span><a href="https://zeal-operating-system.github.io/ZealOS/System/Gr/GrScreen.CC.html#l296"><span class=cF4>GrUpdateTextFG</span></a><span class=cF0>() render the </span><a href="https://zeal-operating-system.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://zeal-operating-system.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://zeal-operating-system.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>