-
Notifications
You must be signed in to change notification settings - Fork 12
Text Output Functions
All the text output functions have two forms, one where
you directly specifying the video memory address, and another
one where you specify x/y coordinates (in character unit).
The second form is a bit slower but more user-friendly.
void put_digit(char digit, int vaddr); |
---|
void put_digit(char digit, char x, char y); |
|
void put_char(char c, int vaddr); |
---|
void put_char(char c, char x, char y); |
Output an ASCII character. |
void put_raw(int bat_val, int vaddr); |
---|
void put_raw(int bat_val, char x, char y); |
Output a raw bat-value. |
void put_number(int number, char width, int vaddr); |
---|
void put_number(int number, char width, char x, char y); |
|
void put_hex(int number, char width, int vaddr); |
---|
void put_hex(int number, char width, char x, char y); |
Output an hexadecimal number. |
void put_string(char *string, int vaddr); |
---|
void put_string(char *string, char x, char y); |
Output a null terminated ASCII string. |