aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2011-01-30 12:01:16 -0500
committerGene Cumm <gene.cumm@gmail.com>2011-01-30 12:01:16 -0500
commit974aa818b35938c36f84c7c5fc75b15d3ebba0c2 (patch)
treebb01e2245ca59000bb44e55b48395cb348472d52 /memdisk
parenta350261fee70a1f06862e04339be3f7fe9963960 (diff)
downloadsyslinux-974aa818b35938c36f84c7c5fc75b15d3ebba0c2.tar.gz
syslinux-974aa818b35938c36f84c7c5fc75b15d3ebba0c2.tar.xz
syslinux-974aa818b35938c36f84c7c5fc75b15d3ebba0c2.zip
memdisk/dskprobe: Align all INT13h probe debug output
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/dskprobe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/memdisk/dskprobe.c b/memdisk/dskprobe.c
index ca59fe5d..a3c26811 100644
--- a/memdisk/dskprobe.c
+++ b/memdisk/dskprobe.c
@@ -90,7 +90,7 @@ static int probe_int13h_08h(uint8_t drive, com32sys_t * regs)
memset(regs, 0, sizeof *regs);
probe_any(0x08, drive, regs);
- dskprobe_printf(" AH08: CF%d AH%02x AL%02x BL%02x DL%02x",
+ dskprobe_printf(" AH08: CF%d AH%02x AL%02x BL%02x DL%02x ",
regs->eflags.l & 1, regs->eax.b[1], regs->eax.b[0],
regs->ebx.b[0], regs->edx.b[0]);
present = !(regs->eflags.l & 1) && !regs->eax.b[1];
@@ -130,9 +130,9 @@ 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 AH%02x BX%04x DH%02x",
+ dskprobe_printf(" AH41: CF%d AH%02x BX%04x CX%04x DH%02x",
regs->eflags.l & 1, regs->eax.b[1], regs->ebx.w[0],
- regs->edx.b[1]);
+ regs->ecx.w[0], regs->edx.b[1]);
present = !(regs->eflags.l & 1) && (regs->ebx.w[0] == 0xAA55);
status = probe_int13h_01h(drive);
dskprobe_printf(" P%d\n", present);