lucicos/kernel/screen/include/cursor.h

29 lines
525 B
C

#ifndef CURSOR_H_
#define CURSOR_H_
#include "stdint.h"
/* Cursor I/O ports. */
#define CURSOR_COMMAND_PORT 0x3D4
#define CURSOR_DATA_PORT 0x3D5
/* Cursor I/O port commands. */
#define CURSOR_HIGH_BYTE_COMMAND 0X0E
#define CURSOR_LOW_BYTE_COMMAND 0x0F
/*
* _screen_move_cursor:
* Moves the cursor of the framebuffer to a give position calculated using
* @x and @y coordinates.
*
* @param x - horizontal position
* @param y - vertical position
*
*/
void _screen_move_cursor(uint8_t x, uint8_t y);
#endif