initial commit

This commit is contained in:
klein panic
2025-02-14 18:02:53 -05:00
commit fecabb81a7
10 changed files with 1729 additions and 0 deletions

15
include/os.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef OS_H
#define OS_H
// Declare the global reload_path so that it can be used in other files.
extern char reload_path[256];
// Declaration for the nested OS shell.
void run_os(void);
// Functions to save and load the OS state (the in-memory file system).
// The state is saved in a custom file type (".osstate").
int save_state(const char *filename);
int load_state(const char *filename);
#endif // OS_H