initial commit
This commit is contained in:
15
include/os.h
Normal file
15
include/os.h
Normal 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
|
||||
Reference in New Issue
Block a user