FreeNOS
Functions | Variables
Terminal.cpp File Reference
#include <Types.h>
#include <Macros.h>
#include <VGA.h>
#include <Runtime.h>
#include "Terminal.h"
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>

Go to the source code of this file.

Functions

void bell (Terminal *term)
 Makes a sound (bell). More...
 
void putchar (Terminal *term, const teken_pos_t *pos, teken_char_t ch, const teken_attr_t *attr)
 Output a new character. More...
 
void cursor (Terminal *term, const teken_pos_t *pos)
 Sets the Terminal cursor. More...
 
void fill (Terminal *term, const teken_rect_t *rect, teken_char_t ch, const teken_attr_t *attr)
 Fills the Terminal buffer with a character. More...
 
void copy (Terminal *term, const teken_rect_t *rect, const teken_pos_t *pos)
 Copy bytes to the terminal. More...
 
void param (Terminal *term, int key, int value)
 Set terminal parameters. More...
 
void respond (Terminal *ctx, const void *buf, size_t size)
 Unused. More...
 

Variables

u8 tekenToVGA []
 

Variable Documentation

◆ tekenToVGA

u8 tekenToVGA[]
Initial value:

Definition at line 29 of file Terminal.cpp.

Referenced by fill(), and putchar().

LIGHTGREY
@ LIGHTGREY
Definition: VGA.h:73
LIGHTBROWN
@ LIGHTBROWN
Definition: VGA.h:80
LIGHTMAGENTA
@ LIGHTMAGENTA
Definition: VGA.h:79
LIGHTCYAN
@ LIGHTCYAN
Definition: VGA.h:77
LIGHTGREEN
@ LIGHTGREEN
Definition: VGA.h:76
RED
@ RED
Definition: VGA.h:70
LIGHTBLUE
@ LIGHTBLUE
Definition: VGA.h:75
BLACK
@ BLACK
Definition: VGA.h:66