Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Call for testers: UPXINFO version 04-AUG-2008 (Miscellaneous)

posted by marcov(R), 05.08.2008, 15:50

> > 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?!

Hmm, I just posted the same. Yes, and moreover it assumes C: is valid, which isn't always the case IIRC, see other post.

But do you really want to parameterise the entire RTL's I/O functions with a lfnsupport per drive? Isn't that a bit too much?

(specially if you are worried about 100 bytes exe size)


Complete thread:

Back to the forum
Board view  Mix view
15276 Postings in 1373 Threads, 253 registered users, 8 users online (0 registered, 8 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum