diff --git a/boot/boot32.asm b/boot/boot32.asm index 77dc3b9..d195e66 100644 --- a/boot/boot32.asm +++ b/boot/boot32.asm @@ -272,8 +272,9 @@ cn_exit: ret -boot_success: - mov bl, [drive] +boot_success: + mov dl, [drive] ; for Enhanced DR-DOS load + mov bl, dl ; for FreeDOS load jmp far [loadsegoff_60] ; Convert cluster to the absolute sector diff --git a/boot/boot32lb.asm b/boot/boot32lb.asm index 86e0d33..da3224c 100644 --- a/boot/boot32lb.asm +++ b/boot/boot32lb.asm @@ -242,7 +242,9 @@ rk_walk_fat: pop eax ;----------------------------------------------------------------------- -boot_success: mov bl, [drive] +boot_success: + mov dl, [drive] ; for Enhanced DR-DOS load + mov bl, dl ; for FreeDOS load jmp far [loadsegoff_60] ;-----------------------------------------------------------------------