forked from AbleOS/ableos
commit
This commit is contained in:
parent
bf86d9219c
commit
c7214a5a9b
|
@ -3,7 +3,7 @@ stn := @use("../../../libraries/stn/src/lib.hb");
|
|||
|
||||
main := fn(): int {
|
||||
// shuts down ableOS
|
||||
memory.outb(0, 244, 0)
|
||||
//memory.outb(0, 244, 0)
|
||||
|
||||
a := memory.inb(0, 70)
|
||||
b := memory.inb(0, 71)
|
||||
|
|
|
@ -5,9 +5,10 @@ s := stn.string
|
|||
page := 0
|
||||
|
||||
main := fn(): void {
|
||||
|
||||
page += mem.request_page(1)
|
||||
port_str := "\0\{47}\0"
|
||||
a := @eca(u8, 3, 3, port_str, 2)
|
||||
port_str := "\0\0\{47}\0"
|
||||
a := @eca(u8, 3, 3, port_str, 4)
|
||||
|
||||
n := 5000000
|
||||
loop {
|
||||
|
@ -17,5 +18,6 @@ main := fn(): void {
|
|||
}
|
||||
td := s.display_int(a, page)
|
||||
log.debug(td)
|
||||
|
||||
return
|
||||
}
|
|
@ -15,17 +15,16 @@ kernel_path = "boot:///kernel_${ARCH}"
|
|||
kernel_cmdline = ""
|
||||
resolution = "1024x768x24"
|
||||
|
||||
|
||||
[boot.limine.ableos.modules]
|
||||
|
||||
# [boot.limine.ableos.modules.tests]
|
||||
# path = "boot:///tests.hbf"
|
||||
|
||||
# [boot.limine.ableos.modules.diskio_driver]
|
||||
# path = "boot:///diskio_driver.hbf"
|
||||
[boot.limine.ableos.modules.diskio_driver]
|
||||
path = "boot:///diskio_driver.hbf"
|
||||
|
||||
# [boot.limine.ableos.modules.fb_driver]
|
||||
# path = "boot:///fb_driver.hbf"
|
||||
[boot.limine.ableos.modules.fb_driver]
|
||||
path = "boot:///fb_driver.hbf"
|
||||
|
||||
# [boot.limine.ableos.modules.time_driver]
|
||||
# path = "boot:///time_driver.hbf"
|
||||
|
|
Loading…
Reference in a new issue