Skip to content
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

Bdos fixes #157

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Bdos fixes #157

merged 2 commits into from
Aug 28, 2024

Conversation

ivop
Copy link
Contributor

@ivop ivop commented Aug 27, 2024

Eventually the change to convert_user_fcb is identical, but the problem was inside bdos_LOGINDRIVE. It would return C=1 if the drive was already logged in and hence convert_user_fcb would return with carry set in that case, which was wrong.

I separated both fixes in two commits. Ran a multitude of tests for about 15 minutes so I'm reasonably confident I didn't break anything this time.

As a bonus bdos_LOGINDRIVE has a proper return value in C now. There's no error handling during construction of the bitmap, but that could be added later and is outside the scope of this patch.

ivop added 2 commits August 27, 2024 05:00
return with carry clear if selecting was successfull no matter if the
drive was already logged in before.
@davidgiven
Copy link
Owner

Merged. Cheers.

@davidgiven davidgiven merged commit 3006535 into davidgiven:master Aug 28, 2024
1 check passed
@ivop ivop deleted the bdos-fixes branch August 28, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants