Hi!
mov AH, 30h int 21h cmp ax, ABCD <<< this is the version wanted jne exit_program
The kernel contains a bit of magic for that. Enable it via config sys.
there are lots of "regular" programs (not utilities from MS) that require special version numbers for various reasons. E.g., the SETVER programs that comes with MS-DOS 7.1 has the following setup by default...
My assumption is that version-pickiness was mainly something for MS DOS apps themselves or old apps not expecting DOS > 5.0 to exist. As far as I remember, FreeDOS defaults to reporting 5.00 or 7.10 depending on whether FAT32 support is compiled in. The ability to just tell FreeDOS in config sys to report a fixed version number already covers quite a few cases. Many other apps do not care which DOS version you have, even if they are unlikely to run on DOS 1.0, for example. They just assume your DOS is new enough. Only for the rest, you need app-specific versions. The problem with SETVER style tools is their relatively large RAM footprint, which is why CALLVER is a lot more simple, at the price of having to be used as a wrapper for calling one app at a time. Update: One of the posts in this thread says the resident part of MS DOS 6 SETVER is surprisingly small in RAM, so sure, if anybody gets bored, future FreeDOS could have an implementation of SETVER. Cheers, Eric _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel