File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 195195; Version 3.25 05/8/2011 - Jeremy: fix bug where initial CDS not checked,
196196; adjust return codes to account for char devices
197197
198+ CPU 8086 ; ensure only 8086 compatible instructions
198199; .............................IMPROVEMENT IDEAS.............................
199200
200201
@@ -2029,8 +2030,8 @@ quiet: or byte [cs:ModeFlag],QuietFlag
20292030
20302031 ; Set initial drive letter to assign device to (or 1st available after this one)
20312032driveletter:
2032- lodsb ; get drive letter, spaces before it are not supported e.g. /DS
2033- sub al , 65 ; convert letter to 0 based #, cmd line upcased above so -'A'
2033+ lodsb ; get drive letter, spaces before it are not supported e.g. /DS
2034+ sub al , 65 ; convert letter to 0 based #, cmd line upcased above so -'A'
20342035 mov [ CS :LastDrUsed ], al
20352036 jmp short switchloop
20362037
Original file line number Diff line number Diff line change 7777 to a value between 0 and 26, where 0 is returned for character
7878 devices and for block devices the first assigned drive is
7979 returned (where 1=A:, 2=B:, 3=C:, ... 26=Z:). On any error
80- or is device is not loaded then 255 is returned. [Future
80+ or if device is not loaded then 255 is returned. [Future
8181 versions may provide unique values depending on the error.]
82- is returned as the exit code, where A:=0, ... Z:=25.
8382
8483 Examples:
8584
You can’t perform that action at this time.
0 commit comments