Refactor WASM runner and logging functionality; add heartbeat task and improve initialization process

This commit is contained in:
Lukas Höppner
2026-08-12 01:22:09 +02:00
parent 27c3aaf88f
commit b623e5cf0a
13 changed files with 261 additions and 95 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
extern "nova64" fn yield(timeout_ms: u32) void;
const nova64 = @import("nova64.zig");
pub fn main() void {
_ = add(1, 2);
while (true) {
yield(16); // Yield for 1 second
nova64.log("Hello from Zig!");
// nova64.yield(1000);
}
}