aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2011-01-26 22:08:18 -0500
committerGene Cumm <gene.cumm@gmail.com>2011-01-26 22:08:18 -0500
commita350261fee70a1f06862e04339be3f7fe9963960 (patch)
treefb35eab48fbbdc3e7daf03ef9fa37de12bdcd0d1 /memdisk
parent3f89c31e8e44088892bb5f3ed05113525028e369 (diff)
downloadsyslinux-a350261fee70a1f06862e04339be3f7fe9963960.tar.gz
syslinux-a350261fee70a1f06862e04339be3f7fe9963960.tar.xz
syslinux-a350261fee70a1f06862e04339be3f7fe9963960.zip
memdisk/dskprobe: reorder the debug output in probe_int13h_41h to match
BX was listed before AH
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/dskprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/memdisk/dskprobe.c b/memdisk/dskprobe.c
index c2a85e8d..ca59fe5d 100644
--- a/memdisk/dskprobe.c
+++ b/memdisk/dskprobe.c
@@ -130,8 +130,8 @@ static int probe_int13h_41h(uint8_t drive, com32sys_t * regs)
memset(regs, 0, sizeof *regs);
regs->ebx.w[0] = 0x55AA; /* BX == 0x55AA */
probe_any(0x41, drive, regs);
- dskprobe_printf(" AH41: CF%d BX%04x AH%02x DH%02x",
- regs->eflags.l & 1, regs->ebx.w[0], regs->eax.b[1],
+ dskprobe_printf(" AH41: CF%d AH%02x BX%04x DH%02x",
+ regs->eflags.l & 1, regs->eax.b[1], regs->ebx.w[0],
regs->edx.b[1]);
present = !(regs->eflags.l & 1) && (regs->ebx.w[0] == 0xAA55);
status = probe_int13h_01h(drive);