From c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0 Mon Sep 17 00:00:00 2001 From: Simponic Date: Mon, 1 Mar 2021 15:17:24 -0700 Subject: Move to GitHub for flexing --- include/print.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/print.h') diff --git a/include/print.h b/include/print.h index c46843c..421b1f0 100644 --- a/include/print.h +++ b/include/print.h @@ -11,9 +11,14 @@ typedef struct TextOutput { uint16_t* vid_mem; }__attribute__((packed)) TextOutput; +TextOutput monitor; + TextOutput createOutput(const int max_row, const int max_column, uint16_t* vid_mem); void scrollText(TextOutput* textOutput); void putChar(uint8_t character, uint8_t background, uint8_t foreground, TextOutput* textOutput); void print(char* string, uint8_t background, uint8_t foreground, TextOutput* textOutput); +char* itoa(int value, char* buffer, int base); +void printToMonitor(char* string); +void printIntToMonitor(int num, int base); #endif // PRINT_H -- cgit v1.2.3-70-g09d2