From 485a75d6c3fb5cf5fa56d656188177e5aac8ad14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Wed, 30 Jun 2021 22:10:01 +0300 Subject: [PATCH] Fix copypaste failure leading to rootdirentries not being multiplied properly --- bootsect.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bootsect.asm b/bootsect.asm index 56faca7..61dd4df 100644 --- a/bootsect.asm +++ b/bootsect.asm @@ -97,11 +97,11 @@ root_dir: search_root: mov bx, [rootdirentries] - shr ax, 1 - shr ax, 1 - shr ax, 1 - shr ax, 1 - shr ax, 1 + shl bx, 1 + shl bx, 1 + shl bx, 1 + shl bx, 1 + shl bx, 1 mov byte [bx + 0x500], 0 mov si, 0x500 .entry: