Closed andrewbird closed 6 years ago
After discussion with @stsp I force pushed a new much simpler version of the patch here.
Hi @PerditionC I see you're working on freedos kernel at the moment. Is there any chance you can review this PR? Nothing has changed since before and the corresponding patch has been working fine in FDPP in the meantime?
Unfortunately I've removed the original repo from where this PR was generated, so I can't reopen the PR myself, but the commit itself should still be accessible to you?
Many Thanks,
Andrew
When a redirector calls int2f/1217h to get a CDS for creation of a new drive, the cds_flags were being checked for validity. This meant that only the CDS for drives that had previously been initialised could be redirected (without manipulating CDS array directly). This is not the behaviour of other DOS variants which allow the return of the requested CDS regardless.
This patch introduces an unvalidated version of get_cds() and calls it only for the int2f/1217h call, other uses remain as before.
Fixes [#20]
Tested this patch using FDPP platform