From dbdf72f090e9ae3bee7129ca447c0a59567becac Mon Sep 17 00:00:00 2001 From: Brandon Lingo Date: Thu, 25 Jul 2024 03:49:25 -0700 Subject: [PATCH 1/3] Fix refister typo in README.MD --- 07-bootsector-disk/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07-bootsector-disk/README.md b/07-bootsector-disk/README.md index 1727c7f6..ccbe13ac 100644 --- a/07-bootsector-disk/README.md +++ b/07-bootsector-disk/README.md @@ -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, 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` You can access [a detailed int 13h guide here](http://stanislavs.org/helppc/int_13-2.html) From aa51d1b1284446e2f878051167f22ce8f1e52621 Mon Sep 17 00:00:00 2001 From: Brandon Lingo Date: Thu, 25 Jul 2024 03:52:20 -0700 Subject: [PATCH 2/3] redo --- 07-bootsector-disk/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07-bootsector-disk/README.md b/07-bootsector-disk/README.md index ccbe13ac..1727c7f6 100644 --- a/07-bootsector-disk/README.md +++ b/07-bootsector-disk/README.md @@ -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, we can just call some BIOS routines, like we did to print characters on the screen. -To do so, we set `ah` to `0x02` (and other registers with the required cylinder, head +To do so, we set `al` to `0x02` (and other registers with the required cylinder, head and sector) and raise `int 0x13` You can access [a detailed int 13h guide here](http://stanislavs.org/helppc/int_13-2.html) From 0eef9a6a946190b26bc70a8f1c323015e4c75454 Mon Sep 17 00:00:00 2001 From: Brandon Lingo Date: Thu, 25 Jul 2024 03:52:57 -0700 Subject: [PATCH 3/3] Fix register typo in README.md --- 07-bootsector-disk/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07-bootsector-disk/README.md b/07-bootsector-disk/README.md index 1727c7f6..ccbe13ac 100644 --- a/07-bootsector-disk/README.md +++ b/07-bootsector-disk/README.md @@ -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, 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` You can access [a detailed int 13h guide here](http://stanislavs.org/helppc/int_13-2.html)