diff options
| author | Alejandro Sior <aho@sior.be> | 2022-05-21 14:04:42 +0200 |
|---|---|---|
| committer | Alejandro Sior <aho@sior.be> | 2022-05-21 14:04:42 +0200 |
| commit | 3aefeeb723b8822916fb39b7c32551c35c06e32f (patch) | |
| tree | 380494fb2184101961e395d6d81accf91138efbe /main.ha | |
| parent | 35c9df451d4f415632a4a1f64b06d1de12340687 (diff) | |
boot: reorganize bios and drive modules
Diffstat (limited to 'main.ha')
| -rw-r--r-- | main.ha | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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!"); }; |
