This commit is contained in:
toilahung 2023-09-20 16:52:54 +08:00 committed by GitHub
commit 051bdde684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ a disk in order to run the kernel.
Thankfully, we don't have to deal with turning spinning platters on and off, Thankfully, we don't have to deal with turning spinning platters on and off,
we can just call some BIOS routines, like we did to print characters on the screen. we can just call some BIOS routines, like we did to print characters on the screen.
To do so, we set `al` to `0x02` (and other registers with the required cylinder, head To do so, we set `ah` to `0x02` (and other registers with the required cylinder, head
and sector) and raise `int 0x13` and sector) and raise `int 0x13`
You can access [a detailed int 13h guide here](http://stanislavs.org/helppc/int_13-2.html) You can access [a detailed int 13h guide here](http://stanislavs.org/helppc/int_13-2.html)