1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/programs/diskio_driver/src/main.hb

12 lines
216 B
Plaintext
Raw Normal View History

2024-07-23 19:37:43 -05:00
stn := @use("../../../libraries/stn/src/lib.hb");
.{log, string, memory, buffer} := stn
2024-05-23 16:59:17 -05:00
main := fn(): int {
2024-07-23 19:37:43 -05:00
// shuts down ableOS
memory.outb(0, 244, 0)
a := memory.inb(0, 70)
b := memory.inb(0, 71)
return 0
2024-05-23 16:59:17 -05:00
}