|
Operating System
|
terminal. More...
#include "../include/utilities.h"#include "../include/mystring.h"#include "../filesystem/API/fsapi.h"#include "../include/stdio.h"#include "../include/graphic.h"Go to the source code of this file.
Macros | |
| #define | BACK_SPACE 8 |
| '' ascii More... | |
| #define | BUFFER_SIZE 64 |
| buffer size for parcing command More... | |
| #define | PROMT "yb@yb-thinkpad-e450:~$ " |
| #define | HELP_MSG |
| #define | LOW_8_MASK (0b11111111) |
| #define | GET_LOW_8BITS(X) (X & LOW_8_MASK) |
| #define | GET_HIGH_8BITS(X) (X >> 8) |
| #define | TERMINAL_STYLE (TO_FN(G_PINKISH)) |
Functions | |
| void | kb_interupt_install () |
| void | kb_interupt_uninstall () |
| void | parseCMD (int) |
| void | resetTerminal () |
| int | terminal () |
Variables | |
| char | CMD_BUFFER [BUFFER_SIZE+10] = {} |
| static FAT_ITEM * | CUR_DIR = 0 |
| current directory pointer More... | |
terminal.
parce user command. load files into memory. run files. do whatever and never really returned
Definition in file terminal.c.
| #define BACK_SPACE 8 |
'' ascii
Definition at line 15 of file terminal.c.
| #define BUFFER_SIZE 64 |
buffer size for parcing command
Definition at line 16 of file terminal.c.
| #define GET_HIGH_8BITS | ( | X | ) | (X >> 8) |
Definition at line 25 of file terminal.c.
| #define GET_LOW_8BITS | ( | X | ) | (X & LOW_8_MASK) |
Definition at line 24 of file terminal.c.
| #define HELP_MSG |
Definition at line 18 of file terminal.c.
| #define LOW_8_MASK (0b11111111) |
Definition at line 23 of file terminal.c.
| #define PROMT "yb@yb-thinkpad-e450:~$ " |
Definition at line 17 of file terminal.c.
Definition at line 28 of file terminal.c.
| void kb_interupt_install | ( | ) |
| void kb_interupt_uninstall | ( | ) |
| void parseCMD | ( | int | CMDindex | ) |
Definition at line 87 of file terminal.c.
| void resetTerminal | ( | ) |
Definition at line 166 of file terminal.c.
| int terminal | ( | ) |
Definition at line 35 of file terminal.c.
| char CMD_BUFFER[BUFFER_SIZE+10] = {} |
Definition at line 31 of file terminal.c.
|
static |
current directory pointer
Definition at line 33 of file terminal.c.
1.8.15