Previous Next Contents

3. Console generalities

Conversely, when you output something to the console, it first undergoes the standard tty processing, and then is fed to the console driver. The console driver emulates a VT100, and parses the input in order to recognize VT100 escape sequences (for cursor movement, clear screen, etc.). The characters that are not part of an escape sequence are transformed using a mapping table, and the transformed bytes are written in video memory, where they cause the display of character shapes found in the video card's character ROM. One can load one's own fonts into character ROM using setfont, and load the user mapping table using mapscrn. More details will be given below.


Previous Next Contents