ableos/sysdata/programs/time_driver/src/main.hb

22 lines
425 B
Plaintext
Raw Normal View History

stn := @use("../../../libraries/stn/src/lib.hb");
log := stn.log;
mem := stn.memory;
2024-07-16 19:24:24 -05:00
s := stn.string;
2024-07-19 05:47:59 -05:00
page := 0;
main := fn(): void {
page += mem.request_page(1);
2024-07-16 19:24:24 -05:00
port_str := "\0\{47}\0";
a := @eca(u8, 3, 3, port_str, 2);
2024-07-16 19:24:24 -05:00
n := 5000000;
loop {
if n == 0 break;
n -= 1;
stack_reclamation_edge_case := 0;
}
2024-07-16 19:24:24 -05:00
td := s.display_int(a, page);
log.debug(td);
return;
}