Fix directory entry pointer getting offset if EttinOS kernel was found
This commit is contained in:
parent
1c61708c85
commit
95d6cf1c4e
2
boot.asm
2
boot.asm
|
@ -161,6 +161,8 @@ search_root:
|
||||||
mov ax, [si - 11 + 26] ; First cluster
|
mov ax, [si - 11 + 26] ; First cluster
|
||||||
mov [ettinos_kernel_cluster], ax
|
mov [ettinos_kernel_cluster], ax
|
||||||
|
|
||||||
|
inc cx ; Offset so that falling through will work
|
||||||
|
|
||||||
.nextentry:
|
.nextentry:
|
||||||
; Each entry is 32 bytes long
|
; Each entry is 32 bytes long
|
||||||
; During each iteration of the compare loop, si is
|
; During each iteration of the compare loop, si is
|
||||||
|
|
Loading…
Reference in New Issue