From e5c830334ea55952aa4ba93a5b49a128516aa651 Mon Sep 17 00:00:00 2001 From: Gene Cumm Date: Fri, 31 Dec 2010 10:39:00 -0500 Subject: [PATCH] core/diskstart.inc: Reset DS before testing final checksum If DS ever rolled over, checksumerr_msg might not show. --- core/diskstart.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/diskstart.inc b/core/diskstart.inc index 9280f7d..510b1a7 100644 --- a/core/diskstart.inc +++ b/core/diskstart.inc @@ -180,6 +180,8 @@ verify_checksum: dec ecx jnz .checksum + mov ds,cx + and eax,eax ; Should be zero jz all_read ; We're cool, go for it! -- 2.7.4