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

_FLUSH (5Fh) unmaps drives when the "flush and invalidate" flag is set #146

Open
Konamiman opened this issue Jan 19, 2025 · 0 comments · May be fixed by #147
Open

_FLUSH (5Fh) unmaps drives when the "flush and invalidate" flag is set #146

Konamiman opened this issue Jan 19, 2025 · 0 comments · May be fixed by #147
Labels
bug Something isn't working
Milestone

Comments

@Konamiman
Copy link
Owner

The "Flush disk buffers" function call (_FLUSH, 5Fh) executes the ZAP_ALL routine when it's invoked with D=FFh ("flush and invalidate" flag); this routine destroys all unit descriptors, so the next access to the corresponding drives rebuilds them. While that made sense in MSX-DOS, in Nextor this causes a new automatic mapping of the drives to be performed (which often results in the drive being left unmapped). The unit descriptor destruction should happen only for drives mapped to MSX-DOS kernels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant