GBDK 2020 Docs
API Documentation for GBDK 2020
|
#include <types.h>
Go to the source code of this file.
Functions | |
void | gotoxy (UINT8 x, UINT8 y) |
UINT8 | posx (void) |
UINT8 | posy (void) |
void | setchar (char c) |
void | cls () |
Console functions that work like Turbo C's.
The font is 8x8, making the screen 20x18 characters.
Move the cursor to an absolute position at x, y.
x and y have units of tiles (8 pixels per unit)
void setchar | ( | char | c | ) |
Writes out a single character at the current cursor position.
Does not update the cursor or interpret the character.
void cls | ( | ) |
Clears the screen