diff options
author | Simponic <loganthebean222@gmail.com> | 2021-03-01 15:17:24 -0700 |
---|---|---|
committer | Simponic <loganthebean222@gmail.com> | 2021-03-01 15:17:24 -0700 |
commit | c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0 (patch) | |
tree | 9556cbe258bc72d263c33dc4d9876d4fb72402dc /include/print.h | |
parent | 09d1dcf3b115658283cb09a08986271398e8d8f8 (diff) | |
download | simponicOS-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.tar.gz simponicOS-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.zip |
Move to GitHub for flexing
Diffstat (limited to 'include/print.h')
-rw-r--r-- | include/print.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |