From ca558f22eba7c203341bb1faf5c9b44d869e33a3 Mon Sep 17 00:00:00 2001 From: hpa Date: Thu, 16 Dec 2004 07:56:54 +0000 Subject: [PATCH] Fix the sense of a couple of tests. We now get to the command line. --- ldlinux.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldlinux.asm b/ldlinux.asm index 9b2f71e..4ab0921 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -866,7 +866,7 @@ expand_super: genfatinfo: mov edx,[bxSectors] and dx,dx - jz .have_secs + jnz .have_secs mov edx,[bsHugeSectors] .have_secs: mov [TotalSectors],edx @@ -879,7 +879,7 @@ genfatinfo: mov [FAT],eax ; Beginning of FAT mov edx,[bxFATsecs] and dx,dx - jz .have_fatsecs + jnz .have_fatsecs mov edx,[bootsec+36] ; FAT32 BPB_FATsz32 .have_fatsecs: imul edx,[bxFATs] -- 2.7.4