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

14 lines
252 B
Plaintext

stn := @use("../../../libraries/stn/src/lib.hb");
.{log, string, memory, buffer} := stn
main := fn(): int {
// shuts down ableOS
//memory.outb(0, 244, 0)
a := memory.inb(0, 70)
b := memory.inb(0, 71)
c := buffer.search("XNumber\0")
return 0
}