FDS/OS 1.0

This commit is contained in:
2026-09-21 22:29:23 +08:00
commit 99bc3d15c5
430 changed files with 34876 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#include <stdio.h>
int main(int argc, char **argv) {
printf("Hello from an FDS AArch64 software cartridge%s%s\n",
argc > 1 ? ": " : "", argc > 1 ? argv[1] : "");
return 0;
}
+14
View File
@@ -0,0 +1,14 @@
format = 1
id = "demo.hello"
name = "AArch64 hello"
version = "1.0"
architecture = "aarch64"
root = "root"
[commands]
hello = "bin/hello"
# This trusted command runs only on the workstation. It is never put on media.
[build]
directory = "."
command = ["sh", "-eu", "-c", "mkdir -p root/bin; aarch64-linux-gnu-gcc -O2 hello.c -o root/bin/hello"]