Re: FreeDOS version query
Alain <[email protected]> Wed, 13 Nov 2002 22:01:26 -0200
| Newsgroups | gmane.os.freedos.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Bart,
> > Could FreeCOM display the Kernel version as well as it's own version?
> type ver /r
Ok, I didn't know of it, but:
1) it does not display the _string_ so the build number and letters remain unknown :(
It says:
FreCom ver...
DOS version 7.10 (for fat32)
DOS version 5.0 (for fat16)
FreeDOS kernel version 1.1.27
2) what about FreeCOM displaying this BY DEFAULT ? /r is ok for us insiders,
but a full version by default would be much better for others
> > PPS: the string does NOT contain information about fat32 support. Bart,
> > don't you think this should be added? My suggestio: "(Build 2027rd/32)" as
> > this is the shortest string to fully identify a kernel.
> Well you can detect FAT32 by calling one of the int21/ax=73xx functions
> and check if one returns ax=7300 (means unsupported).
> One thing that might be worth adding is the compiler and compiler version
> used to compile the kernel though.
Main goal is to report the kernel identification, so every information is
important. I believe a UNIQUE kernel identification is important to track
down bugs and incompatibilities. As this cannot be done by version
number, some easy means should be available.
So I suggest putting it all in the version string.
BTW, I checked int21/ax=7302 and 7303, but thay all need buffers and
many parameters. This is not very good just for kernel identification, maybe
just the dos version 7.10 could be used, but above would be better ;-)
> > void main(void)
> [...]
> return !(regs.h.bh==0xfd);
done :)
Alain