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

Bart Oldeman <[email protected]> Tue, 05 Nov 2002 15:32:07 -0500 (EST)
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
On Tue, 5 Nov 2002, tom ehlert wrote:

> > Que books, "DOS Programmer's Reference 3rd Edition" Page 706-7.
> > Ax errors: 02h file not found, 03h invalid path, and 12h no more files.
> > If there are no more files, it should be 12h! So, RB lists information is
> > accurate.
>
> fine. and on AX=FindFirst, does MSDOS return 'file not found' or 'no more
> files' ?
> it's easy to cite the errorlist of DOS ;-)

I'll try to write a testcase like this, where the current directory
doesn't contain any dodevlo and the volume label exists, but with a
different name.

int21 ah=4eh cx=21h ds:dx->"dodevlo"
int21 ah=4eh cx=21h ds:dx->"dodevlo*.*"
int21 ah=4eh cx=21h ds:dx->"dodevlo\*.*"
int21 ah=4eh cx=21h ds:dx->".dodevlo"
int21 ah=4eh cx=21h ds:dx->".dodevlo\*.*"

Might be 2,18,3,2,3

int21 ah=4eh cx=8h ds:dx->"dodevlo"
int21 ah=4eh cx=8h ds:dx->"dodevlo*.*"
int21 ah=4eh cx=8h ds:dx->"dodevlo\*.*"
int21 ah=4eh cx=8h ds:dx->".dodevlo"
int21 ah=4eh cx=8h ds:dx->".dodevlo\*.*"

Might be 0,0,0,2,3

int21 ah=4eh cx=9h ds:dx->"dodevlo"
int21 ah=4eh cx=9h ds:dx->"dodevlo*.*"
int21 ah=4eh cx=9h ds:dx->"dodevlo\*.*"
int21 ah=4eh cx=9h ds:dx->".dodevlo"
int21 ah=4eh cx=9h ds:dx->".dodevlo\*.*"

Might be 0,0,0,2,3

Now change the attribute of the volume label from 8 to 9 and repeat.

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

Bart