Ensure partition info is filled correctly
authorRobert Pengelly <robertapengelly@hotmail.com>
Thu, 22 Aug 2024 21:19:00 +0000 (22:19 +0100)
committerRobert Pengelly <robertapengelly@hotmail.com>
Thu, 22 Aug 2024 21:19:00 +0000 (22:19 +0100)
build/chimaera.img
build/chimaera.vhd
src/boot/freeldr/core/freeldr.asm

index d7a921cf140520799dcdb1860c2a27fad5a0c7a2..8c637b69ce9bd3769255441178dd483ea2ab54d6 100644 (file)
Binary files a/build/chimaera.img and b/build/chimaera.img differ
index ec4d784c6ae2af04eb6851b9b1e6460049249634..0507a766f6e4528b78c01929993b2c9d8a5e13aa 100644 (file)
Binary files a/build/chimaera.vhd and b/build/chimaera.vhd differ
index 3894fe72702c099bf1b0800098badbdf2b07629a..b87275116b5e032043f29adb17c929c6314b3ba4 100644 (file)
@@ -1013,10 +1013,17 @@ _config_ok:
     mov     dx,     es:[bx + 6]
     
     and     dx,     dx
-    jz      .L18
+    jnz     .L20
     
-    dec     dx
+    mov     dx,     cs:[_selected_disk]
+    jmp     .L19
+
+.L20:
     
+    dec     dx
+
+.L19:
+
     mov     ah,     HEX (0E)
     int     HEX (21)