Commit d058739
committed
mfs: support lredir up to LASTDRIVE=32 in MS-DOS v7 and lDOS
lredir actually already worked to create or delete drives up to and
including drive `: but beyond [: they were inaccessible. [: itself
worked only partially (probably no int 2Fh function 110Ch). Now mfs
supports all possible drives as desired.
This requires setting eg LASTDRIVE=32 in config.sys or ldos.ini,
or for lDOS only running with `append lastdrive 32` in the kernel
command line.
Test cases:
C:\>type testmfs.bat
lredir %1: /home/[user]/proj/devload
lredir
dir %1:
lredir -d %1:
The DIR command in this batch file requires the FreeCOM patch in
FDOS/freecom#180
Different test case:
ldebug
ext extlib.eld dosspace `:
This runs DOS interrupt 21h function 36h, which in turn calls
int 2Fh function 110Ch.
Some uses of the very last drive letter, `:, require a patch for
working under MS-DOS v7: https://pushbx.org/ecm/test/20250926.3/1 parent 59b19ff commit d058739
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
0 commit comments