Re: [Freedos-devel] DOS 44h (Get Device Information) - CD-ROM marked as remote?

2023-03-13 Thread Aitor Santamaría
Thanks (to both) for the answer,

Aitor


On Mon, 13 Mar 2023 at 22:45, Ralf Quint  wrote:

> On 3/12/2023 5:56 PM, Aitor Santamaría wrote:
> > Hello,
> >
> > A quick question, if I query device information on CD-ROM (int 21h,
> > AX=4409h), will I get that a CD-ROM drive is remote?  (bit 12 = 1).
> >
> > I am getting this under XP's ntvdm, and it sounds as a correct thing
> > (the filesystem is not FAT), but I would like to check in case someone
> > knows if this is correct).
> >
> Yes, as that call actually checks for the presence of the redirector,
> not specifically for a CD-ROM drive, for that, you would have to test
> for the existence of MSCDEX (or equivalent) via INT 2Fh, 150xh...
>
>
> Ralf
>
>
>
>
> ___
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] DOS 44h (Get Device Information) - CD-ROM marked as remote?

2023-03-13 Thread Ralf Quint

On 3/12/2023 5:56 PM, Aitor Santamaría wrote:

Hello,

A quick question, if I query device information on CD-ROM (int 21h, 
AX=4409h), will I get that a CD-ROM drive is remote?  (bit 12 = 1).


I am getting this under XP's ntvdm, and it sounds as a correct thing 
(the filesystem is not FAT), but I would like to check in case someone 
knows if this is correct).


Yes, as that call actually checks for the presence of the redirector, 
not specifically for a CD-ROM drive, for that, you would have to test 
for the existence of MSCDEX (or equivalent) via INT 2Fh, 150xh...



Ralf




___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] DOS 44h (Get Device Information) - CD-ROM marked as remote?

2023-03-12 Thread Steve Nickolas

On Mon, 13 Mar 2023, Aitor Santamaría wrote:


Hello,

A quick question, if I query device information on CD-ROM (int 21h,
AX=4409h), will I get that a CD-ROM drive is remote?  (bit 12 = 1).

I am getting this under XP's ntvdm, and it sounds as a correct thing (the
filesystem is not FAT), but I would like to check in case someone knows if
this is correct).

Thanks,
Aitor



So I wrote a program to display the DX returned from that function call 
when pointed to a CD-ROM.  To be fair, this is MSCDEX 2.25 on PC DOS 
5.00.1.  It said 0x1000.


I think the answer is yes.

-uso.___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] DOS 44h (Get Device Information) - CD-ROM marked as remote?

2023-03-12 Thread Aitor Santamaría
Hello,

A quick question, if I query device information on CD-ROM (int 21h,
AX=4409h), will I get that a CD-ROM drive is remote?  (bit 12 = 1).

I am getting this under XP's ntvdm, and it sounds as a correct thing (the
filesystem is not FAT), but I would like to check in case someone knows if
this is correct).

Thanks,
Aitor
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel