1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/libraries/stn/src/sleep.hb

7 lines
211 B
Plaintext
Raw Normal View History

2024-12-16 07:22:03 -06:00
$subscribe_to_interrupt := fn(interrupt_number: u8): bool {
2024-11-14 18:40:44 -06:00
return false
}
// Pauses execution until the interrupt occures
2024-12-16 07:22:03 -06:00
$sleep_until_interrupt := fn(interrupt_number: u8): void {
@eca(6, interrupt_number)
2024-11-14 18:40:44 -06:00
}