forked from ProjectZeroSlackr/ipodloader2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
console.h
29 lines (22 loc) · 769 Bytes
/
console.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef _CONSOLE_H_
#define _CONSOLE_H_
#include "bootloader.h"
extern const uint8 font_large[];
extern const uint8 font_medium[];
extern const uint8 font_small[];
void console_init(uint16 *fb);
void console_putchar(char ch);
void console_puts(volatile char *str);
void console_putsXY(int x,int y,volatile char *str);
void console_printf (const char *format, ...);
void console_setcolor(uint16 fg, uint16 bg, uint8 transparent);
void console_getcolor(uint16 *fg, uint16 *bg, uint8 *transparent);
void console_setfont(const uint8 *font);
const uint8* console_currentfont (void);
void console_home();
void console_clear();
int console_suppress_fbupdate (int modify);
extern int font_width, font_height;
extern int console_printcount;
extern int font_lines;
#endif