https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a245c98fc64ad93db7ef2…
commit a245c98fc64ad93db7ef287dffc16ce49c91aea4
Author: Thomas Schneider <thomas(a)srz.homedns.org>
AuthorDate: Wed Aug 19 17:10:00 2020 +0200
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Wed Aug 19 19:10:02 2020 +0300
[FREELDR] Bootsector fix for CHS read on old BIOSes which lack INT 3e (#3078)
At line 263 a 'pop es' is missing before 'ret' in ReadCHS() function,
just like in the ReadLBA() function. CORE-17178
Co-authored-by: Dmitry Borisov <di.sean(a)protonmail.com>
---
boot/freeldr/bootsect/fat32.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/boot/freeldr/bootsect/fat32.S b/boot/freeldr/bootsect/fat32.S
index 6727776a21b..ff9c40af121 100644
--- a/boot/freeldr/bootsect/fat32.S
+++ b/boot/freeldr/bootsect/fat32.S
@@ -260,6 +260,7 @@ ReadSectorsCHSLoop:
loop ReadSectorsCHSLoop // Read next sector
+ pop es
ret
// Displays a disk error message