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

22 lines
364 B
Plaintext
Raw Normal View History

2024-07-19 08:53:45 -05:00
stn := @use("../../../libraries/stn/src/lib.hb")
log := stn.log
mem := stn.memory
s := stn.string
page := 0
main := fn(): void {
2024-07-19 08:53:45 -05:00
page += mem.request_page(1)
2024-08-11 15:10:36 -05:00
port_str := "\0\0\{47}\0"
a := @eca(u8, 3, 3, port_str, 4)
2024-07-19 08:53:45 -05:00
n := 5000000
loop {
if n == 0 break
n -= 1
stack_reclamation_edge_case := 0
}
td := s.display_int(a, page)
log.debug(td)
2024-08-11 15:10:36 -05:00
2024-07-19 08:53:45 -05:00
return
2024-07-20 12:54:58 -05:00
}