You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, other kernels like RxDOS and Enhanced DR-DOS now also may support this function. In order to check for its presence I have changed eg callver to preset dx as zero and then check for a nonzero return: https://hg.pushbx.org/ecm/callver/file/89f20e312a8e/callver.asm#l182
I think this is a solid way to support this function for any DOS version.
The text was updated successfully, but these errors were encountered:
susi
changed the title
Getting version string with 21.33FF may be supported by other DOS kernels
VR - Getting version string with 21.33FF may be supported by other DOS kernels
Oct 3, 2024
Always try to get true version (int21h/ax=3306h) as well as the kernel
string (int21h/ax=33ffh), and display these when successful.
Also fixes#1.
Tested with FreeDOS 1.3, SvarDOS 20240915, MS-DOS 3.31, 6.22 and
DR-DOS 3.41, 5.0, 6.0, 7.03
Always try to get true version (int21h/ax=3306h) as well as the kernel
string (int21h/ax=33ffh), and display these when successful.
This fixes#1 and #2.
Tested with FreeDOS 1.3, SvarDOS 20240915, MS-DOS 3.31, 6.22 and
DR-DOS 3.41, 5.0, 6.0, 7.03
Always try to get true version (int21h/ax=3306h) as well as the kernel
string (int21h/ax=33ffh), and display these when successful.
This fixes#1 and #3.
Tested with FreeDOS 1.3, SvarDOS 20240915, MS-DOS 3.31, 6.22 and
DR-DOS 3.41, 5.0, 6.0, 7.03
Your current check for int 21h function 33FFh involves matching the OEM ID to 0FDh (plus some serial ID check):
dog/dog/src/ext/vr.c
Line 197 in 88646f1
However, other kernels like RxDOS and Enhanced DR-DOS now also may support this function. In order to check for its presence I have changed eg callver to preset
dx
as zero and then check for a nonzero return: https://hg.pushbx.org/ecm/callver/file/89f20e312a8e/callver.asm#l182I think this is a solid way to support this function for any DOS version.
The text was updated successfully, but these errors were encountered: