MicrOS
mode_07h.h File Reference
#include "stdint.h"

Go to the source code of this file.

Macros

#define MODE07H_WIDTH   80
 
#define MODE07H_HEIGHT   25
 

Functions

int8_t mode07h_set_mode ()
 
int8_t mode07h_turn_on_buffer ()
 
int8_t mode07h_turn_off_buffer ()
 
uint8_t mode07h_is_buffer_on ()
 
int8_t mode07h_swap_buffers ()
 
int8_t mode07h_print_char (char character)
 Print character on screen for mode 07h. More...
 
int8_t mode07h_print_char_color (char character, uint8_t color)
 Print character on screen for mode 07h. More...
 
int8_t mode07h_print_string (const char *string)
 Print string on screen for mode 07h. More...
 
int8_t mode07h_print_string_color (const char *string, uint8_t color)
 Print string on screen for mode 07h. More...
 
int8_t mode07h_set_char (uint16_t x, uint16_t y, char character)
 Set character on given point on screen for mode 07h. More...
 
int8_t mode07h_get_char (uint16_t x, uint16_t y, char *character)
 Get character from given point on screen for mode 07h. More...
 
int8_t mode07h_set_color (uint16_t x, uint16_t y, uint8_t color)
 Set character color on given point on screen for mode 07h. More...
 
int8_t mode07h_get_color (uint16_t x, uint16_t y, uint8_t *color)
 Get character color from given point on screen for mode 07h. More...
 
int8_t mode07h_set_char_and_color (uint16_t x, uint16_t y, char character, uint8_t color)
 Set character and character color on given point on screen for mode 07h. More...
 
int8_t mode07h_get_char_and_color (uint16_t x, uint16_t y, char *character, uint8_t *color)
 Get character and character color color from given point on screen for mode 07h. More...
 
int8_t mode07h_set_cursor_pos (uint16_t x, uint16_t y)
 Set cursor position for mode 07h. More...
 
int8_t mode07h_get_cursor_pos (uint16_t *x, uint16_t *y)
 Get cursor position for mode 07h. More...
 
int8_t mode07h_turn_cursor_on ()
 Turn on cursor for mode 07h. More...
 
int8_t mode07h_turn_cursor_off ()
 Turn off cursor for mode 07h. More...
 
int8_t mode07h_draw_pixel (uint8_t color, uint16_t x, uint16_t y)
 
int8_t mode07h_draw_line (uint8_t color, uint16_t ax, uint16_t ay, uint16_t bx, uint16_t by)
 
int8_t mode07h_draw_circle (uint8_t color, uint16_t x, uint16_t y, uint16_t radius)
 
int8_t mode07h_draw_rectangle (uint8_t color, uint16_t ax, uint16_t ay, uint16_t bx, uint16_t by)
 
int8_t mode07h_clear_screen ()
 
int8_t mode07h_print_char_buffered (char character)
 Print character on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_print_char_color_buffered (char character, uint8_t color)
 Print character on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_print_string_buffered (const char *string)
 Print string on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_print_string_color_buffered (const char *string, uint8_t color)
 Print string on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_set_char_buffered (uint16_t x, uint16_t y, char character)
 Set character on given point on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_get_char_buffered (uint16_t x, uint16_t y, char *character)
 Get character from given point on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_set_color_buffered (uint16_t x, uint16_t y, uint8_t color)
 Set character color on given point on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_get_color_buffered (uint16_t x, uint16_t y, uint8_t *color)
 Get character color from given point on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_set_char_and_color_buffered (uint16_t x, uint16_t y, char character, uint8_t color)
 Set character and character color on given point on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_get_char_and_color_buffered (uint16_t x, uint16_t y, char *character, uint8_t *color)
 Get character and character color color from given point on screen for mode 07h to internal buffer. More...
 
int8_t mode07h_set_cursor_pos_buffered (uint16_t x, uint16_t y)
 Set cursor position for mode 07h to internal buffer. More...
 
int8_t mode07h_get_cursor_pos_buffered (uint16_t *x, uint16_t *y)
 Get cursor position for mode 07h to internal buffer. More...
 
int8_t mode07h_draw_pixel_buffered (uint8_t color, uint16_t x, uint16_t y)
 
int8_t mode07h_draw_line_buffered (uint8_t color, uint16_t ax, uint16_t ay, uint16_t bx, uint16_t by)
 
int8_t mode07h_draw_circle_buffered (uint8_t color, uint16_t x, uint16_t y, uint16_t radius)
 
int8_t mode07h_draw_rectangle_buffered (uint8_t color, uint16_t ax, uint16_t ay, uint16_t bx, uint16_t by)
 
int8_t mode07h_clear_screen_buffered ()
 
int8_t mode07h_print_char_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y, char character)
 Print character on screen for mode 07h to external buffer. More...
 
int8_t mode07h_print_char_color_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y, char character, uint8_t color)
 Print character on screen for mode 07h to external buffer. More...
 
int8_t mode07h_print_string_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y, const char *string)
 Print string on screen for mode 07h to external buffer. More...
 
int8_t mode07h_print_string_color_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y, const char *string, uint8_t color)
 Print string on screen for mode 07h to external buffer. More...
 
int8_t mode07h_set_char_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t x, uint16_t y, char character)
 Set character on given point on screen for mode 07h to external buffer. More...
 
int8_t mode07h_get_char_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t x, uint16_t y, char *character)
 Get character from given point on screen for mode 07h to external buffer. More...
 
int8_t mode07h_set_color_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t x, uint16_t y, uint8_t color)
 Set character color on given point on screen for mode 07h to external buffer. More...
 
int8_t mode07h_get_color_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t x, uint16_t y, uint8_t *color)
 Get character color from given point on screen for mode 07h to external buffer. More...
 
int8_t mode07h_set_char_and_color_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t x, uint16_t y, char character, uint8_t color)
 Set character and character color on given point on screen for mode 07h to external buffer. More...
 
int8_t mode07h_get_char_and_color_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t x, uint16_t y, char *character, uint8_t *color)
 Get character and character color color from given point on screen for mode 07h to external buffer. More...
 
int8_t mode07h_draw_pixel_external_buffer (uint8_t *buffer, uint16_t mode, int8_t color, uint16_t x, uint16_t y)
 
int8_t mode07h_draw_line_external_buffer (uint8_t *buffer, uint16_t mode, uint8_t color, uint16_t ax, uint16_t ay, uint16_t bx, uint16_t by)
 
int8_t mode07h_draw_circle_external_buffer (uint8_t *buffer, uint16_t mode, uint8_t color, uint16_t x, uint16_t y, uint16_t radius)
 
int8_t mode07h_draw_rectangle_external_buffer (uint8_t *buffer, uint16_t mode, uint8_t color, uint16_t ax, uint16_t ay, uint16_t bx, uint16_t by)
 
int8_t mode07h_clear_screen_external_buffer (uint8_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y)
 
int8_t mode07h_swap_external_buffer (uint8_t *buffer, uint16_t mode)
 
uint8_t * mode07h_create_external_buffer (uint16_t mode)
 
int8_t __mode07h_print_char_buffer (uint16_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y, char character)
 Helper function to print character on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_print_char_color_buffer (uint16_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y, char character, uint8_t color)
 Helper function to print character on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_print_string_buffer (uint16_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y, const char *string)
 Helper function to print string on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_print_string_color_buffer (uint16_t *buffer, uint16_t mode, uint16_t *x, uint16_t *y, const char *string, uint8_t color)
 Helper function to print string on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_set_char_buffer (uint16_t *buffer, uint16_t mode, uint16_t x, uint16_t y, char character)
 Helper function to s character on given point on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_get_char_buffer (uint16_t *buffer, uint16_t mode, uint16_t x, uint16_t y, char *character)
 Helper function to get character from given point on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_set_color_buffer (uint16_t *buffer, uint16_t mode, uint16_t x, uint16_t y, uint8_t color)
 Helper function to set character color on given point on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_get_color_buffer (uint16_t *buffer, uint16_t mode, uint16_t x, uint16_t y, uint8_t *color)
 Helper function to get character color from given point on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_set_char_and_color_buffer (uint16_t *buffer, uint16_t mode, uint16_t x, uint16_t y, char character, uint8_t color)
 Helper function to set character and character color on given point on screen for mode 07h on given buffer. More...
 
int8_t __mode07h_get_char_and_color_buffer (uint16_t *buffer, uint16_t mode, uint16_t x, uint16_t y, char *character, uint8_t *color)
 Helper function to get character and character color color from given point on screen for mode 07h on given buffer. More...
 
void __mode07h_newline (uint16_t *buffer, uint16_t *x, uint16_t *y)
 Print new line. More...
 
uint16_t __mode07h_calcualte_position (uint16_t x, uint16_t y)
 Calculate position. More...
 

Macro Definition Documentation

◆ MODE07H_HEIGHT

#define MODE07H_HEIGHT   25

◆ MODE07H_WIDTH

#define MODE07H_WIDTH   80

Function Documentation

◆ __mode07h_calcualte_position()

uint16_t __mode07h_calcualte_position ( uint16_t  x,
uint16_t  y 
)

Calculate position.

Calculate position on screen. Function return value that added to base address will give you position of current character on screen.

Parameters
xx coordinate.
yy coordinate.
Returns
Calculated position on screen.

◆ __mode07h_get_char_and_color_buffer()

int8_t __mode07h_get_char_and_color_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
char *  character,
uint8_t *  color 
)

Helper function to get character and character color color from given point on screen for mode 07h on given buffer.

Get character and character color color on given point on screen. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xx coordinate.
characterReturn haracter.
colorReturn character color.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_get_char_buffer()

int8_t __mode07h_get_char_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
char *  character 
)

Helper function to get character from given point on screen for mode 07h on given buffer.

Get character on given point on screen. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xx coordinate.
yy coordinate.
characterReturn character.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_get_color_buffer()

int8_t __mode07h_get_color_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
uint8_t *  color 
)

Helper function to get character color from given point on screen for mode 07h on given buffer.

Get character color on given point on screen. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xx coordinate.
yy coordinate.
colorReturn color.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_newline()

void __mode07h_newline ( uint16_t *  buffer,
uint16_t *  x,
uint16_t *  y 
)

Print new line.

Parameters
bufferPointer to screen buffer.
xPointer to x coordinate of screen cursor.
yPointer to y coordinate of screen cursor.

◆ __mode07h_print_char_buffer()

int8_t __mode07h_print_char_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y,
char  character 
)

Helper function to print character on screen for mode 07h on given buffer.

Print character on screen without changing color of character and background. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xX coordinate of screen cursor also returns new position of cursor.
yY coordinate of screen cursor also returns new position of cursor.
characterCharacter.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_print_char_color_buffer()

int8_t __mode07h_print_char_color_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y,
char  character,
uint8_t  color 
)

Helper function to print character on screen for mode 07h on given buffer.

Print character on screen with given color of character and background. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xX coordinate of screen cursor also returns new position of cursor.
yY coordinate of screen cursor also returns new position of cursor.
characterCharacter.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_print_string_buffer()

int8_t __mode07h_print_string_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y,
const char *  string 
)

Helper function to print string on screen for mode 07h on given buffer.

Print string on screen without changing color of characters and background. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xX coordinate of screen cursor also returns new position of cursor.
yY coordinate of screen cursor also returns new position of cursor.
stringString.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_print_string_color_buffer()

int8_t __mode07h_print_string_color_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y,
const char *  string,
uint8_t  color 
)

Helper function to print string on screen for mode 07h on given buffer.

Print string on screen with given color of characters and background. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xX coordinate of screen cursor also returns new position of cursor.
yY coordinate of screen cursor also returns new position of cursor.
stringString.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_set_char_and_color_buffer()

int8_t __mode07h_set_char_and_color_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
char  character,
uint8_t  color 
)

Helper function to set character and character color on given point on screen for mode 07h on given buffer.

Set character and character color on given point on screen. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xx coordinate.
yy coordinate.
characterCharacter.
colorCharacter color.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_set_char_buffer()

int8_t __mode07h_set_char_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
char  character 
)

Helper function to s character on given point on screen for mode 07h on given buffer.

Set character on given point on screen without changing color of character and background. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xx coordinate.
yy coordinate.
characterCharacter.
Returns
0 if success, -1 if not implemented.

◆ __mode07h_set_color_buffer()

int8_t __mode07h_set_color_buffer ( uint16_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
uint8_t  color 
)

Helper function to set character color on given point on screen for mode 07h on given buffer.

Set character color on given point on screen without changing letter. This function works on given buffer.

Parameters
bufferScreen buffer.
modeMode (only when writes to external buffer).
xx coordinate.
yy coordinate.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_clear_screen()

int8_t mode07h_clear_screen ( )

◆ mode07h_clear_screen_buffered()

int8_t mode07h_clear_screen_buffered ( )

◆ mode07h_clear_screen_external_buffer()

int8_t mode07h_clear_screen_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y 
)

◆ mode07h_create_external_buffer()

uint8_t* mode07h_create_external_buffer ( uint16_t  mode)

◆ mode07h_draw_circle()

int8_t mode07h_draw_circle ( uint8_t  color,
uint16_t  x,
uint16_t  y,
uint16_t  radius 
)

◆ mode07h_draw_circle_buffered()

int8_t mode07h_draw_circle_buffered ( uint8_t  color,
uint16_t  x,
uint16_t  y,
uint16_t  radius 
)

◆ mode07h_draw_circle_external_buffer()

int8_t mode07h_draw_circle_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint8_t  color,
uint16_t  x,
uint16_t  y,
uint16_t  radius 
)

◆ mode07h_draw_line()

int8_t mode07h_draw_line ( uint8_t  color,
uint16_t  ax,
uint16_t  ay,
uint16_t  bx,
uint16_t  by 
)

◆ mode07h_draw_line_buffered()

int8_t mode07h_draw_line_buffered ( uint8_t  color,
uint16_t  ax,
uint16_t  ay,
uint16_t  bx,
uint16_t  by 
)

◆ mode07h_draw_line_external_buffer()

int8_t mode07h_draw_line_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint8_t  color,
uint16_t  ax,
uint16_t  ay,
uint16_t  bx,
uint16_t  by 
)

◆ mode07h_draw_pixel()

int8_t mode07h_draw_pixel ( uint8_t  color,
uint16_t  x,
uint16_t  y 
)

◆ mode07h_draw_pixel_buffered()

int8_t mode07h_draw_pixel_buffered ( uint8_t  color,
uint16_t  x,
uint16_t  y 
)

◆ mode07h_draw_pixel_external_buffer()

int8_t mode07h_draw_pixel_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
int8_t  color,
uint16_t  x,
uint16_t  y 
)

◆ mode07h_draw_rectangle()

int8_t mode07h_draw_rectangle ( uint8_t  color,
uint16_t  ax,
uint16_t  ay,
uint16_t  bx,
uint16_t  by 
)

◆ mode07h_draw_rectangle_buffered()

int8_t mode07h_draw_rectangle_buffered ( uint8_t  color,
uint16_t  ax,
uint16_t  ay,
uint16_t  bx,
uint16_t  by 
)

◆ mode07h_draw_rectangle_external_buffer()

int8_t mode07h_draw_rectangle_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint8_t  color,
uint16_t  ax,
uint16_t  ay,
uint16_t  bx,
uint16_t  by 
)

◆ mode07h_get_char()

int8_t mode07h_get_char ( uint16_t  x,
uint16_t  y,
char *  character 
)

Get character from given point on screen for mode 07h.

Get character on given point on screen.

Parameters
xx coordinate.
yy coordinate.
characterReturn character.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_char_and_color()

int8_t mode07h_get_char_and_color ( uint16_t  x,
uint16_t  y,
char *  character,
uint8_t *  color 
)

Get character and character color color from given point on screen for mode 07h.

Get character and character color color on given point on screen.

Parameters
xx coordinate.
characterReturn haracter.
colorReturn character color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_char_and_color_buffered()

int8_t mode07h_get_char_and_color_buffered ( uint16_t  x,
uint16_t  y,
char *  character,
uint8_t *  color 
)

Get character and character color color from given point on screen for mode 07h to internal buffer.

Get character and character color color on given point on screen. This function works on internal buffer.

Parameters
xx coordinate.
characterReturn haracter.
colorReturn character color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_char_and_color_external_buffer()

int8_t mode07h_get_char_and_color_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
char *  character,
uint8_t *  color 
)

Get character and character color color from given point on screen for mode 07h to external buffer.

Get character and character color color on given point on screen. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xx coordinate.
characterReturn haracter.
colorReturn character color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_char_buffered()

int8_t mode07h_get_char_buffered ( uint16_t  x,
uint16_t  y,
char *  character 
)

Get character from given point on screen for mode 07h to internal buffer.

Get character on given point on screen. This function works on internal buffer.

Parameters
xx coordinate.
yy coordinate.
characterReturn character.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_char_external_buffer()

int8_t mode07h_get_char_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
char *  character 
)

Get character from given point on screen for mode 07h to external buffer.

Get character on given point on screen. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xx coordinate.
yy coordinate.
characterReturn character.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_color()

int8_t mode07h_get_color ( uint16_t  x,
uint16_t  y,
uint8_t *  color 
)

Get character color from given point on screen for mode 07h.

Get character color on given point on screen.

Parameters
xx coordinate.
yy coordinate.
colorReturn color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_color_buffered()

int8_t mode07h_get_color_buffered ( uint16_t  x,
uint16_t  y,
uint8_t *  color 
)

Get character color from given point on screen for mode 07h to internal buffer.

Get character color on given point on screen. This function works on internal buffer.

Parameters
xx coordinate.
yy coordinate.
colorReturn color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_color_external_buffer()

int8_t mode07h_get_color_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
uint8_t *  color 
)

Get character color from given point on screen for mode 07h to external buffer.

Get character color on given point on screen. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xx coordinate.
yy coordinate.
colorReturn color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_cursor_pos()

int8_t mode07h_get_cursor_pos ( uint16_t *  x,
uint16_t *  y 
)

Get cursor position for mode 07h.

Get cursor position on screen.

Parameters
xReturn x coordinate.
yReturn y coordinate.
Returns
0 if success, -1 if not implemented.

◆ mode07h_get_cursor_pos_buffered()

int8_t mode07h_get_cursor_pos_buffered ( uint16_t *  x,
uint16_t *  y 
)

Get cursor position for mode 07h to internal buffer.

Get cursor position on screen. This function works on internal buffer.

Parameters
xReturn x coordinate.
yReturn y coordinate.
Returns
0 if success, -1 if not implemented.

◆ mode07h_is_buffer_on()

uint8_t mode07h_is_buffer_on ( )

◆ mode07h_print_char()

int8_t mode07h_print_char ( char  character)

Print character on screen for mode 07h.

Print character on screen without changing color of character and background.

Parameters
characterCharacter.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_char_buffered()

int8_t mode07h_print_char_buffered ( char  character)

Print character on screen for mode 07h to internal buffer.

Print character on screen without changing color of character and background. This function works on internal buffer.

Parameters
characterCharacter.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_char_color()

int8_t mode07h_print_char_color ( char  character,
uint8_t  color 
)

Print character on screen for mode 07h.

Print character on screen with given color of character and background.

Parameters
characterCharacter.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_char_color_buffered()

int8_t mode07h_print_char_color_buffered ( char  character,
uint8_t  color 
)

Print character on screen for mode 07h to internal buffer.

Print character on screen with given color of character and background. This function works on internal buffer.

Parameters
characterCharacter.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_char_color_external_buffer()

int8_t mode07h_print_char_color_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y,
char  character,
uint8_t  color 
)

Print character on screen for mode 07h to external buffer.

Print character on screen with given color of character and background. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xX coordinate of screen cursor also returns new position of cursor.
yY coordinate of screen cursor also returns new position of cursor.
characterCharacter.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_char_external_buffer()

int8_t mode07h_print_char_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y,
char  character 
)

Print character on screen for mode 07h to external buffer.

Print character on screen without changing color of character and background. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xX coordinate of screen cursor also returns new position of cursor.
yY coordinate of screen cursor also returns new position of cursor.
characterCharacter.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_string()

int8_t mode07h_print_string ( const char *  string)

Print string on screen for mode 07h.

Print string on screen without changing color of characters and background.

Parameters
stringString.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_string_buffered()

int8_t mode07h_print_string_buffered ( const char *  string)

Print string on screen for mode 07h to internal buffer.

Print string on screen without changing color of characters and background. This function works on internal buffer.

Parameters
stringString.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_string_color()

int8_t mode07h_print_string_color ( const char *  string,
uint8_t  color 
)

Print string on screen for mode 07h.

Print string on screen with given color of characters and background.

Parameters
stringString.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_string_color_buffered()

int8_t mode07h_print_string_color_buffered ( const char *  string,
uint8_t  color 
)

Print string on screen for mode 07h to internal buffer.

Print string on screen with given color of characters and background. This function works on internal buffer.

Parameters
stringString.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_string_color_external_buffer()

int8_t mode07h_print_string_color_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y,
const char *  string,
uint8_t  color 
)

Print string on screen for mode 07h to external buffer.

Print string on screen with given color of characters and background. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xX coordinate of screen cursor also returns new position of cursor.
yY coordinate of screen cursor also returns new position of cursor.
stringString.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_print_string_external_buffer()

int8_t mode07h_print_string_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t *  x,
uint16_t *  y,
const char *  string 
)

Print string on screen for mode 07h to external buffer.

Print string on screen without changing color of characters and background. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xX coordinate of screen cursor also returns new position of cursor.
yY coordinate of screen cursor also returns new position of cursor.
stringString.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_char()

int8_t mode07h_set_char ( uint16_t  x,
uint16_t  y,
char  character 
)

Set character on given point on screen for mode 07h.

Set character on given point on screen without changing color of character and background.

Parameters
xx coordinate.
yy coordinate.
characterCharacter.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_char_and_color()

int8_t mode07h_set_char_and_color ( uint16_t  x,
uint16_t  y,
char  character,
uint8_t  color 
)

Set character and character color on given point on screen for mode 07h.

Set character and character color on given point on screen.

Parameters
xx coordinate.
yy coordinate.
characterCharacter.
colorCharacter color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_char_and_color_buffered()

int8_t mode07h_set_char_and_color_buffered ( uint16_t  x,
uint16_t  y,
char  character,
uint8_t  color 
)

Set character and character color on given point on screen for mode 07h to internal buffer.

Set character and character color on given point on screen. This function works on internal buffer.

Parameters
xx coordinate.
yy coordinate.
characterCharacter.
colorCharacter color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_char_and_color_external_buffer()

int8_t mode07h_set_char_and_color_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
char  character,
uint8_t  color 
)

Set character and character color on given point on screen for mode 07h to external buffer.

Set character and character color on given point on screen. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xx coordinate.
yy coordinate.
characterCharacter.
colorCharacter color.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_char_buffered()

int8_t mode07h_set_char_buffered ( uint16_t  x,
uint16_t  y,
char  character 
)

Set character on given point on screen for mode 07h to internal buffer.

Set character on given point on screen without changing color of character and background. This function works on internal buffer.

Parameters
xx coordinate.
yy coordinate.
characterCharacter.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_char_external_buffer()

int8_t mode07h_set_char_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
char  character 
)

Set character on given point on screen for mode 07h to external buffer.

Set character on given point on screen without changing color of character and background. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xx coordinate.
yy coordinate.
characterCharacter.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_color()

int8_t mode07h_set_color ( uint16_t  x,
uint16_t  y,
uint8_t  color 
)

Set character color on given point on screen for mode 07h.

Set character color on given point on screen without changing letter.

Parameters
xx coordinate.
yy coordinate.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_color_buffered()

int8_t mode07h_set_color_buffered ( uint16_t  x,
uint16_t  y,
uint8_t  color 
)

Set character color on given point on screen for mode 07h to internal buffer.

Set character color on given point on screen without changing letter. This function works on internal buffer.

Parameters
xx coordinate.
yy coordinate.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_color_external_buffer()

int8_t mode07h_set_color_external_buffer ( uint8_t *  buffer,
uint16_t  mode,
uint16_t  x,
uint16_t  y,
uint8_t  color 
)

Set character color on given point on screen for mode 07h to external buffer.

Set character color on given point on screen without changing letter. This function works on external buffer.

Parameters
bufferScreen buffer.
modeMode.
xx coordinate.
yy coordinate.
colorColor.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_cursor_pos()

int8_t mode07h_set_cursor_pos ( uint16_t  x,
uint16_t  y 
)

Set cursor position for mode 07h.

Set cursor position on screen.

Parameters
xx coordinate.
yy coordinate.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_cursor_pos_buffered()

int8_t mode07h_set_cursor_pos_buffered ( uint16_t  x,
uint16_t  y 
)

Set cursor position for mode 07h to internal buffer.

Set cursor position on screen. This function works on internal buffer.

Parameters
xx coordinate.
yy coordinate.
Returns
0 if success, -1 if not implemented.

◆ mode07h_set_mode()

int8_t mode07h_set_mode ( )

◆ mode07h_swap_buffers()

int8_t mode07h_swap_buffers ( )

◆ mode07h_swap_external_buffer()

int8_t mode07h_swap_external_buffer ( uint8_t *  buffer,
uint16_t  mode 
)

◆ mode07h_turn_cursor_off()

int8_t mode07h_turn_cursor_off ( )

Turn off cursor for mode 07h.

Returns
0 if success, -1 if not implemented.

◆ mode07h_turn_cursor_on()

int8_t mode07h_turn_cursor_on ( )

Turn on cursor for mode 07h.

Turn on cursor with default size and position. Copy screen from one to another.

Returns
0 if success, -1 if not implemented.

◆ mode07h_turn_off_buffer()

int8_t mode07h_turn_off_buffer ( )

◆ mode07h_turn_on_buffer()

int8_t mode07h_turn_on_buffer ( )