From a245c98fc64ad93db7ef287dffc16ce49c91aea4 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Wed, 19 Aug 2020 17:10:00 +0200 Subject: [PATCH] [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 --- 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