boot32, boot32lb: fix EDR-DOS incompatibility [fixes #119]

This commit is contained in:
E. C. Masloch 2024-01-19 22:14:41 +01:00 committed by Kenneth J Davis
parent 53d3fd556b
commit 42d3ae6aac
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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]
;-----------------------------------------------------------------------