many improvements on VM and tooling

This commit is contained in:
Nilton Constantino
2026-01-23 09:33:44 +00:00
parent a7b824fe21
commit a7817534d2
36 changed files with 5261 additions and 558 deletions
+5
View File
@@ -8,4 +8,9 @@ export function frame(): void {
do_touch();
do_fs();
print_orange();
{
const x = 10;
gfx.drawText(120, 100, "1. value of " + x, color.white);
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
export function do_fs(): void {
let h = fs.open("test.txt");
let h: number = fs.open("test.txt");
if (h >= 0) {
fs.write(h, "Hello Prometeu!");
let content = fs.read(h);
let content: string = fs.read(h);
if (content) log.writeTag(2, 101, content);
fs.close(h);
}