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).
 
void putchar (Terminal *term, const teken_pos_t *pos, teken_char_t ch, const teken_attr_t *attr)
 Output a new character.
 
void cursor (Terminal *term, const teken_pos_t *pos)
 Sets the Terminal cursor.
 
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.
 
void copy (Terminal *term, const teken_rect_t *rect, const teken_pos_t *pos)
 Copy bytes to the terminal.
 
void param (Terminal *term, int key, int value)
 Set terminal parameters.
 
void respond (Terminal *ctx, const void *buf, size_t size)
 Unused.
 

Variables

u8 tekenToVGA []
 

Variable Documentation

◆ tekenToVGA

u8 tekenToVGA[]
Initial value:
=
{
RED,
}
#define BLACK
#define RED
@ LIGHTGREY
Definition VGA.h:73
@ LIGHTGREEN
Definition VGA.h:76
@ LIGHTBLUE
Definition VGA.h:75
@ LIGHTBROWN
Definition VGA.h:80
@ LIGHTCYAN
Definition VGA.h:77
@ LIGHTMAGENTA
Definition VGA.h:79

Definition at line 29 of file Terminal.cpp.

Referenced by fill(), and putchar().