> As people might call this to find out whether a > drive exists, FreeDOS should return the sectors/ > cluster as 255 as expected for invalid drives...
People might do, but it isn't reliable: redirected drives might return al=FFh as well. > The bugfix would make sure AL=255 is returned > for int 21.1c calls for an invalid drive, but > for CX and DX and DS:BX I am not sure whether > it is better to change or not to change them? > What do the other DOSes or DOSish OSes return? NTVDM 5.10 MS-DOS returns al=FFh and all other unchanged for invalid drives (as expected). Setting ds:bx unconditionally is a DOS-C bug (in inthndlr.c) that should be fixed. FatGetDrvData() returns a NULL pointer for invalid drives. >> 4) Other diferencies are in CD/DVD roms and flashdisks. > > Yeah, what happens for CD/DVD is kind of random I guess... I guess it depends on *CDEX, because DOS calls Int2F.110C for redirected drives. Christian ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel