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