diff --git a/sysdata/programs/diskio_driver/src/main.hb b/sysdata/programs/diskio_driver/src/main.hb index d5295289e..a90be03dc 100644 --- a/sysdata/programs/diskio_driver/src/main.hb +++ b/sysdata/programs/diskio_driver/src/main.hb @@ -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) diff --git a/sysdata/programs/time_driver/src/main.hb b/sysdata/programs/time_driver/src/main.hb index 4e7d43c56..c388403fd 100644 --- a/sysdata/programs/time_driver/src/main.hb +++ b/sysdata/programs/time_driver/src/main.hb @@ -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 } \ No newline at end of file diff --git a/sysdata/system_config.toml b/sysdata/system_config.toml index d602fd11b..eaad34b58 100644 --- a/sysdata/system_config.toml +++ b/sysdata/system_config.toml @@ -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"