-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On lDOS (lMS-DOS) LH leads to "MCB chain corrupt, or MS-DOS incompatible system." #166
Comments
With this patch:
On FreeDOS we get:
On lDOS we get:
Also, the memory allocated (at segment 283h) seems to leak. |
The Lines 456 to 458 in 20e61b5
In the current lDOS, with things loaded into the HMA or UMA, the only parts remaining in the LMA are:
This last one causes FreeCOM to skip the region in the condition I referenced. MEM also has a problem with this: https://gitlab.com/FreeDOS/base/mem/-/merge_requests/1 |
Another problem: Lines 156 to 158 in 20e61b5
|
Broke LH on lDOS, reference: FDOS#166
Broke LH on lDOS, reference: #166
The message "MCB chain corrupt, or MS-DOS incompatible system." is displayed on attempts to use LH on a recent lDOS kernel.
With this patch it works:
Without the line 422 hunk the debug message that I added to
loadhigh_prepare
(line 462 hunk) is displayed so that seems to be where the error code is generated.I don't see how with a strategy of 0 ("LMA then UMA, as one area") the allocation should occur in the UMA first as this code expects. I will have to study the FreeDOS kernel to see whether it behaves differently.
The text was updated successfully, but these errors were encountered: