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 cm(R) Homepage E-mail, Düsseldorf, Germany, 05.08.2008, 12:22

> Yes, and I'm already doing this for some parts of the source code.
> What's a safe way to detect, if LFNs are available?

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.

---
l

 

Complete thread:

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