Skip to content

INT 21h/440Bh should reject when SHARE is not loaded #265

Description

@nakatamaho

Expected behavior

The MS-DOS 4.0 Programmer's Reference, INT 21h Function 44h, code 0Bh documents this call as setting file-sharing retry parameters. It lists AX=1 when file sharing has not been loaded.

Current source behavior

At lpproj/fdkernel commit ac16c8a7401526f99787e03babdb2f4223d48fc4, DosDevIOctl() handles AL=0Bh by assigning NetDelay, conditionally assigning NetRetry, and returning SUCCESS unconditionally. This path does not check whether SHARE is loaded.

With SHARE absent, that source path therefore reports success where the reference specifies error 1. Please confirm whether FreeDOS intends a different contract here and, if so, document the compatibility difference; otherwise, consider checking the provider before returning success.

The M15 profile excludes SHARE. Its expectation remains reference-derived and is not inferred from this implementation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions