Call for testers: UPXINFO version 04-AUG-2008 (Miscellaneous)
> > I think Int21.71A0 should work well. Do "stc" before the "int" opcode,
> > because DOSes without any Int21.71 functions will leave CF unchanged
> and
> > set al to 0. If the flags are NC, test the returned bx's bit 14
> (4000h).
> > If it's 1, LFNs should be supported.
>
> I found this code from the Free Pascal RTL (system.pp). And I think, it's
> buggy, because it assumes, that LFNs on other drives are available too, if
> drive C: already supports these?!
Yes, it's buggy. Although DOSLFN (and Windows?) provides a "Fallback"-Mode for drives that support only SFNs (redirect LFN functions to SFN functions) you can't assume this is always true. RxDOS f.e. doesn't have any "Fallback"-Mode. (On the other hand, above check doesn't work in the old RxDOS 7.1.5 anyway because of a serious misunderstanding...)
Just check the LFN API for each drive you're operating on.
---
l
Complete thread:
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 04.08.2008, 15:54 (Miscellaneous)
- Call for testers: UPXINFO version 04-AUG-2008 - ecm, 04.08.2008, 22:53
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 08:37
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 04.08.2008, 23:16
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 08:31
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 05.08.2008, 09:57
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 10:37
- Call for testers: UPXINFO version 04-AUG-2008 - ecm, 05.08.2008, 12:22
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 13:34
- Call for testers: UPXINFO version 04-AUG-2008 - marcov, 05.08.2008, 15:50
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 15:54
- Call for testers: UPXINFO version 04-AUG-2008 - ecm, 05.08.2008, 20:48
- Call for testers: UPXINFO version 04-AUG-2008 - marcov, 05.08.2008, 15:50
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 13:34
- Call for testers: UPXINFO version 04-AUG-2008 - marcov, 05.08.2008, 15:43
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 15:51
- Call for testers: UPXINFO version 04-AUG-2008 - marcov, 06.08.2008, 13:23
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 15:51
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 06.08.2008, 00:53
- Call for testers: UPXINFO version 04-AUG-2008 - ecm, 06.08.2008, 03:43
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 06.08.2008, 09:25
- Call for testers: UPXINFO version 04-AUG-2008 - ecm, 05.08.2008, 12:22
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 10:37
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 05.08.2008, 09:57
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 07.08.2008, 17:03
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 07.08.2008, 17:17
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 12.08.2008, 07:18
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 12.08.2008, 09:19
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 14.08.2008, 04:23
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 14.08.2008, 15:37
- Call for testers: UPXINFO version 04-AUG-2008 - marcov, 14.08.2008, 15:42
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 14.08.2008, 16:36
- Call for testers: UPXINFO version 04-AUG-2008 - marcov, 16.08.2008, 01:03
- Call for testers: UPXINFO version 04-AUG-2008 - Steve, 16.08.2008, 08:53
- Call for testers: UPXINFO version 04-AUG-2008 - marcov, 16.08.2008, 01:03
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 14.08.2008, 16:36
- Call for testers: UPXINFO version 04-AUG-2008 - marcov, 14.08.2008, 15:42
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 14.08.2008, 15:37
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 14.08.2008, 04:23
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 12.08.2008, 09:19
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 12.08.2008, 07:18
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 07.08.2008, 17:17
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 05.08.2008, 08:31
- Call for testers: UPXINFO version 04-AUG-2008 - DOS386, 20.08.2008, 08:15
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 20.08.2008, 10:03
- Call for testers: UPXINFO version 04-AUG-2008 - ecm, 20.08.2008, 16:54
- Call for testers: UPXINFO - DOS386, 28.08.2008, 05:45
- Call for testers: UPXINFO - rr, 28.08.2008, 09:37
- Call for testers: UPXINFO - Rugxulo, 28.08.2008, 10:36
- UPXINFO | incredible - DOS386, 10.09.2008, 02:01
- UPXINFO | incredible - rr, 10.09.2008, 11:50
- XPYDERZ - Rugxulo, 11.09.2008, 09:14
- UPXINFO | incredible - rr, 10.09.2008, 11:50
- UPXINFO | incredible - DOS386, 10.09.2008, 02:01
- Call for testers: UPXINFO - Rugxulo, 28.08.2008, 10:36
- Call for testers: UPXINFO - rr, 28.08.2008, 09:37
- Call for testers: UPXINFO version 04-AUG-2008 - Steve, 20.08.2008, 13:36
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 20.08.2008, 22:16
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 21.08.2008, 22:39
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 22.08.2008, 07:25
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 22.08.2008, 12:56
- Call for testers: UPXINFO version 04-AUG-2008 - Rugxulo, 22.08.2008, 07:25
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 21.08.2008, 22:39
- Call for testers: UPXINFO version 04-AUG-2008 - rr, 20.08.2008, 10:03
- Call for testers: UPXDUMP version 26-AUG-2008 - rr, 26.08.2008, 22:51
- Call for testers: UPXDUMP version 26-AUG-2008 - Rugxulo, 28.08.2008, 04:50
- Call for testers: UPXDUMP version 26-AUG-2008 - rr, 28.08.2008, 09:38
- Call for testers: UPXDUMP version 26-AUG-2008 - Rugxulo, 28.08.2008, 04:50
- Call for testers: UPXINFO version 04-AUG-2008 - ecm, 04.08.2008, 22:53