Replace busy-wait cli_delay with time-based cli_sleep in remaining files

This commit is contained in:
Chris
2026-02-08 14:54:36 +01:00
parent b245dc5f00
commit 9728222d3c
5 changed files with 6 additions and 6 deletions

View File

@@ -247,7 +247,7 @@ static void vm_syscall(int id) {
break;
}
case SYS_SLEEP:
cli_delay(pop() * 100000);
cli_sleep(pop());
push(0);
break;
// File IO - Not supported yet as FILE* cannot be easily passed to VM