libmsx
C library for MSX
|
Teletype/console device interface. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | TTY_Device |
Teletype/console device interface for hardware / screen mode abstraction. More... | |
Macros | |
#define | TTY_H_ |
Functions | |
void | TTY_locate (uint8_t x, uint8_t y) |
MSX Set cursor position. | |
void | TTY_linefeed (void) |
MSX Line feed. | |
void | TTY_cls (void) |
MSX Clear the screen and move the cursor to the top left corner. | |
void | TTY_put (uint8_t c) |
MSX Send a byte to the TTY device. | |
void | TTY_set_fg_color (uint8_t fg) |
MSX Set foreground color. | |
void | TTY_set_bg_color (uint8_t bg) |
MSX Set background color. | |
void | TTY_set_border_color (uint8_t border) |
MSX Set border color of the screen. | |
void | TTY_set_text_color (uint8_t fg, uint8_t bg) |
MSX Set foreground and background color. | |
void | TTY_set_color (uint8_t fg, uint8_t bg, uint8_t border) |
MSX Set foreground, background, and border color. | |
Variables | |
const struct TTY_Device * | TTY_device |
Teletype/console device interface.
Definition in file tty.h.