feat: MontaukOS installer app, toml config, app directory with manifests, and more
This commit is contained in:
@@ -76,4 +76,12 @@ namespace Montauk {
|
||||
static int Sys_FDelete(const char* path) {
|
||||
return Fs::Vfs::VfsDelete(path);
|
||||
}
|
||||
|
||||
static int Sys_FMkdir(const char* path) {
|
||||
return Fs::Vfs::VfsMkdir(path);
|
||||
}
|
||||
|
||||
static int Sys_DriveList(int* outDrives, int maxEntries) {
|
||||
return Fs::Vfs::VfsDriveList(outDrives, maxEntries);
|
||||
}
|
||||
};
|
||||
@@ -157,6 +157,10 @@ namespace Montauk {
|
||||
return (int64_t)Sys_FCreate((const char*)frame->arg1);
|
||||
case SYS_FDELETE:
|
||||
return (int64_t)Sys_FDelete((const char*)frame->arg1);
|
||||
case SYS_FMKDIR:
|
||||
return (int64_t)Sys_FMkdir((const char*)frame->arg1);
|
||||
case SYS_DRIVELIST:
|
||||
return (int64_t)Sys_DriveList((int*)frame->arg1, (int)frame->arg2);
|
||||
case SYS_TERMSCALE:
|
||||
return Sys_TermScale(frame->arg1, frame->arg2);
|
||||
case SYS_RESOLVE:
|
||||
|
||||
@@ -91,6 +91,8 @@ namespace Montauk {
|
||||
static constexpr uint64_t SYS_FWRITE = 41;
|
||||
static constexpr uint64_t SYS_FCREATE = 42;
|
||||
static constexpr uint64_t SYS_FDELETE = 77;
|
||||
static constexpr uint64_t SYS_FMKDIR = 78;
|
||||
static constexpr uint64_t SYS_DRIVELIST = 79;
|
||||
|
||||
/* Graphics.hpp */
|
||||
static constexpr uint64_t SYS_TERMSCALE = 43;
|
||||
|
||||
Reference in New Issue
Block a user