2018-03-06 12:18:53 +03:00
|
|
|
#pragma once
|
|
|
|
|
2021-06-14 05:11:37 +03:00
|
|
|
extern int txt_debug, x, y, attr;
|
2018-03-06 17:09:06 +03:00
|
|
|
|
2021-06-14 05:11:37 +03:00
|
|
|
void move_cursor(int _x, int _y);
|
|
|
|
void set_attr(int _attr);
|
|
|
|
void print_(char * str);
|
|
|
|
void print_hex_(unsigned int value);
|
2021-10-19 14:29:44 +03:00
|
|
|
void print_int_(unsigned int value);
|
2021-06-14 05:11:37 +03:00
|
|
|
void clear_();
|
2018-03-06 12:18:53 +03:00
|
|
|
|
2021-06-14 05:11:37 +03:00
|
|
|
void print_banner(char * str);
|
2018-03-06 17:09:06 +03:00
|
|
|
|
2018-07-06 17:53:14 +03:00
|
|
|
#define print(s) do {if (txt_debug) {print_(s);}} while(0)
|
|
|
|
#define clear() do {if (txt_debug) {clear_();}} while(0)
|
|
|
|
#define print_hex(d) do {if (txt_debug) {print_hex_(d);}} while(0)
|
2018-03-06 12:18:53 +03:00
|
|
|
|