From 95d6cf1c4e37901d871b552caa4bab4824543338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 4 Jul 2021 21:05:19 +0300 Subject: [PATCH] Fix directory entry pointer getting offset if EttinOS kernel was found --- boot.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot.asm b/boot.asm index caba89f..26ba813 100644 --- a/boot.asm +++ b/boot.asm @@ -161,6 +161,8 @@ search_root: mov ax, [si - 11 + 26] ; First cluster mov [ettinos_kernel_cluster], ax + inc cx ; Offset so that falling through will work + .nextentry: ; Each entry is 32 bytes long ; During each iteration of the compare loop, si is