Repository navigation
Share compat - #28
Draft
andrewbird wants to merge 4 commits into
Draft
Share compat#28andrewbird wants to merge 4 commits into
andrewbird wants to merge 4 commits into
Conversation
So that the caller can try to do the right thing with older versions of share, let's clear the Carry Flag. The caller can set it before calling int2f/10a6 and if it's still set afterwards it can be sure that any value in AX is not from us.
When checking if a file is open, return its original mode and the psp that opened it. This is required for delete / rename / setfattr SHARE_COMPAT fixes and is modelled on patches from FDPP: f15bd2f33a49e50db7a05da7d9751dec1aa6f834 d530b5a65a873a2438b0ff9fd37a406d5fc63f7f
Add / update exceptions to match MS-DOS 6.22 rules documented in RBIL
Update remaining exceptions to match MS-DOS 6.22 rules documented in RBIL. All tests on Dosemu2 test suite passing now, however I'm concerned that I may be breaking the compatibilty fixes introduced in 2004.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a companion to one on the kernel FDOS/kernel#277 and fixes the share-compat and int2f/10a6 compatibility problems. I have also updated the sharing rules so that the Dosemu2 test suite (Based on RBIL / confirmed against MS-DOS 6.22) passes. That's nice but there are some comments indicating that some of those 'wrong' entries were there for compatibility. I'm more than happy to drop those two commits and special case the test suite for FreeDOS? I'd appreciate a review @PerditionC