Displaying 1 result from an estimated 1 matches for "f9e9691".
Did you mean:
f9d969s
2017 Apr 16
1
fwd: [syslinux:syslinux-4.xx] mbr/isohdpfx.S: correct stack for heads/sectors
...pushed in reverse order per isolinux.asm
bb519a95 reversed the order of heads/sectors on the stack
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
mbr/isohdpfx.S | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S
index 17e1efe..f9e9691 100644
--- a/mbr/isohdpfx.S
+++ b/mbr/isohdpfx.S
@@ -175,12 +175,12 @@ next:
/* Get (C)HS geometry */
movb $0x08, %ah
int $0x13
- andw $0x3f, %cx /* Sector count */
popw %bx /* EBIOS flag */
- pushw %cx /* -16: Save sectors on the stack */
movzbw %dh, %ax /* dh = max head */
incw %ax...