From 3aefeeb723b8822916fb39b7c32551c35c06e32f Mon Sep 17 00:00:00 2001 From: Alejandro Sior Date: Sat, 21 May 2022 14:04:42 +0200 Subject: boot: reorganize bios and drive modules --- main.ha | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'main.ha') diff --git a/main.ha b/main.ha index e26fb26..e640d04 100644 --- a/main.ha +++ b/main.ha @@ -2,7 +2,6 @@ use vga; use term; use rt; use bios; -use bios::drive; use drive; export fn main() void = { @@ -15,9 +14,8 @@ export fn main() void = { term::print(&text, "a"); }; - //bios::drive::read(0, 512, bios::ws: uintptr); let dest = 0x100000: uintptr: *[*]u8; - bios::drive::read(0, 512, dest)!; + drive::read(0, 512, dest)!; if (dest[511] == 0xaa) { term::print(&text, "\nnice!"); }; -- cgit v1.2.3