2 * \file devices/terminal.h
4 #ifndef _SYS_DEVICES_TERMINAL_H
5 #define _SYS_DEVICES_TERMINAL_H
9 TERM_IOCTL_MODETYPE = 4,
16 struct sTerm_IOCtl_Mode
18 short ID; //!< Zero Based index of mode
19 short DriverID; //!< Driver's ID number (from ::tVideo_IOCtl_Mode)
20 Uint16 Height; //!< Height
21 Uint16 Width; //!< Width
22 Uint8 Depth; //!< Bits per cell
24 unsigned bText: 1; //!< Text Mode marker
30 * \brief Terminal Modes
32 enum eTplTerminal_Modes {
34 * \brief UTF-8 Text Mode
35 * Any writes to the terminal file are treated as UTF-8 encoded
36 * strings and reads will also return UTF-8 strings.
41 * \brief 32bpp Framebuffer
42 * Writes to the terminal file will write to the framebuffer.
43 * Reads will return UTF-32 characters
49 * Writes to the terminal file will send 3D commands
50 * Reads will return UTF-32 characters
51 * \note May or may not stay in the spec