Upload files to "include"

This commit is contained in:
2025-05-20 20:39:37 -05:00
parent 1736fe6590
commit 4c7550b75b
4 changed files with 78 additions and 0 deletions

16
include/io.h Normal file
View File

@ -0,0 +1,16 @@
/* Defines a abstract base for I/O in the Espresso kernel. */
#ifndef ESPRESSO_IO_H
#define ESPRESSO_IO_H
#include <stdint.h>
#include <text_display.h>
void print(const char* str);
char* input(uint8_t dev=0);
void writefile(uint8_t mode, char* file, char* data);
char* readfile(char* file);
#endif