memdisk: don't set CX:DX for INT 13h AH=15h for floppies
authorH. Peter Anvin <hpa@zytor.com>
Sun, 2 Aug 2009 18:56:38 +0000 (11:56 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 2 Aug 2009 18:56:38 +0000 (11:56 -0700)
commit32598725b8d1941899bc700b5d71efa57c3f419c
treef33351743469b23683c69bbd416783c3f1cb7b36
parentd655fa0bc3a9d817df253d4f67bb92da20ef741a
memdisk: don't set CX:DX for INT 13h AH=15h for floppies

Win98SE DOS apparently hangs if INT 13h, AH=15h returns the capacity
in CX:DX for floppies... *unless* EDD is enabled.  Confused yet?

This patch also adds some more tracing framework.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
memdisk/memdisk.inc
memdisk/setup.c