2018-09-28 20:35:51 +02:00
|
|
|
/*******************************************************************************/
|
|
|
|
/* COS2000 - Compatible Operating System - LGPL v3 - Hordé Nicolas */
|
|
|
|
/* */
|
2007-04-02 16:02:21 +02:00
|
|
|
typedef struct console {
|
|
|
|
u8 attrib;
|
|
|
|
s16 cursX;
|
|
|
|
s16 cursY;
|
|
|
|
u8 ansi;
|
|
|
|
u8 param1;
|
|
|
|
u8 param2;
|
|
|
|
u8 param3;
|
|
|
|
u8 page;
|
|
|
|
} console __attribute__ ((packed));
|
|
|
|
|
|
|
|
|
2007-04-02 15:15:18 +02:00
|
|
|
void showhex(u8 src);
|
2007-04-02 15:39:09 +02:00
|
|
|
void putchar(u8 thechar);
|
2018-08-29 10:12:00 +02:00
|
|
|
u32 print(u8* string);
|
|
|
|
u32 printf (const u8 *string, ...);
|
2007-04-02 16:02:21 +02:00
|
|
|
void changevc(u8 vc);
|
2018-09-27 21:01:02 +02:00
|
|
|
u8* itoa(u64 num, u8* str, u8 base, u64 dim, u8 achar);
|
2018-09-28 00:03:45 +02:00
|
|
|
u8* sitoa(u64 num, u8 * str, u64 dim);
|
2018-10-04 21:49:06 +02:00
|
|
|
u8* rtoadouble(double num, u8 * str, u8 precision);
|
|
|
|
u8* rtoasingle(float num, u8 * str, u8 precision);
|