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

Make the DOSVER function call return 6Fh in C in DOS 1 mode #128

Merged
merged 1 commit into from Nov 30, 2023

Commits on Oct 28, 2023

  1. Make the DOSVER function call return 6Fh in C in DOS 1 mode

    The MSX-DOS 2 documentation says that DOSVER in DOS 1 returns B=0
    and C undefined, but the fact is that in MSX-DOS 1 register C is
    preserved (so 6Fh) and seems like some programs rely on that fact
    to detect the DOS 1 mode. Nextor was corrupting C in this case,
    so even if strictly speaking that shouldn't be an issue, this commit
    changes the behavior of DOSVER in DOS 1 to return C=6Fh.
    Konamiman committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    0bcecfa View commit details
    Browse the repository at this point in the history