Re: OLD kernel BUG with volume label? (MS works,2026..2027rc not)

"Arkady V.Belousov" <[email protected]> Wed, 6 Nov 2002 00:01:16 +0300 (MSK)
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
X-Comment-To: Bart Oldeman

Hi!

5-Ноя-2002 15:32 [email protected] (Bart Oldeman) wrote to
[email protected]:

BO> I'll try to write a testcase like this, where the current directory doesn't
BO> contain any dodevlo and the volume label exists, but with a different name.
BO> int21 ah=4eh cx=21h ds:dx->"dodevlo"
BO> int21 ah=4eh cx=21h ds:dx->"dodevlo*.*"
BO> int21 ah=4eh cx=21h ds:dx->"dodevlo\*.*"
BO> int21 ah=4eh cx=21h ds:dx->".dodevlo"
BO> int21 ah=4eh cx=21h ds:dx->".dodevlo\*.*"
BO> Might be 2,18,3,2,3

     Nice choice: missing plain name - "no file found", missing name with
wildcards - "no more files". :)

     Well, debug script:

______________O\_/_________________________________\_/O______________
a
mov ah,4e
mov dx,400
mov cx,21
int 21
int 3

e 400 "dodevlo",0
g=100
e 400 "dodevlo*.*",0
g=100
e 400 "dodevlo\*.*",0
g=100
e 400 ".dodevlo",0
g=100
e 400 ".dodevlo\*.*",0
g=100
q
_____________________________________________________________________
              O/~\                                 /~\O

MS-DOS 6.22: 18,18,3,3,3.

BO> int21 ah=4eh cx=8h ds:dx->"dodevlo"
BO> int21 ah=4eh cx=8h ds:dx->"dodevlo*.*"
BO> int21 ah=4eh cx=8h ds:dx->"dodevlo\*.*"
BO> int21 ah=4eh cx=8h ds:dx->".dodevlo"
BO> int21 ah=4eh cx=8h ds:dx->".dodevlo\*.*"
BO> Might be 0,0,0,2,3

     ? Strange suggestion - 0 for missing name. MS-DOS returns same as above
(18,18,3,3,3) in both case of existing _other_ vlabel and none vlabels.

BO> int21 ah=4eh cx=9h ds:dx->"dodevlo"
BO> int21 ah=4eh cx=9h ds:dx->"dodevlo*.*"
BO> int21 ah=4eh cx=9h ds:dx->"dodevlo\*.*"
BO> int21 ah=4eh cx=9h ds:dx->".dodevlo"
BO> int21 ah=4eh cx=9h ds:dx->".dodevlo\*.*"
BO> Might be 0,0,0,2,3
BO> Now change the attribute of the volume label from 8 to 9 and repeat.

     In all cases (any combination of asked attributes and attributes of
other label) returned same results.

BO> But I'm not sure -- there might well be differences between some versions
BO> of MSDOS and DRDOS too.