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

14 lines
252 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
2024-08-11 15:10:36 -05:00
//memory.outb(0, 244, 0)
2024-07-23 19:37:43 -05:00
a := memory.inb(0, 70)
b := memory.inb(0, 71)
c := buffer.search("XNumber\0")
2024-07-23 19:37:43 -05:00
return 0
2024-05-23 16:59:17 -05:00
}