diff options
author | Wengier <wengierwu@yahoo.com> | 2020-07-22 19:22:31 +0300 |
---|---|---|
committer | Patryk Obara <dreamer.tan@gmail.com> | 2020-08-07 01:49:00 +0300 |
commit | 03143a60e0ab410a2bde3e566a462dfd22410c69 (patch) | |
tree | e12e91efe254960997d9a9e5f49b503b63ccd89c /README | |
parent | ad09a39bcc624701be4d1257dd348ffe0ce70481 (diff) |
Add DOS_ParseVersion function
New parsing code accepts dot-separated version, as more user-friendly
way to use the command. For example, the command VER SET 7.1 sets
the emulated DOS version as 7.1 (7.10), whereas VER SET 7 1 sets the
emulated DOS version as 7.01 (as done in upstream DOSBox), because
most users apparently expect VER SET 7.1 to set the emulated DOS
version as 7.1 instead of 7.01.
Share implementation between VER command and newly added dos.ver config
option.
Diffstat (limited to 'README')
-rw-r--r-- | README | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -565,11 +565,16 @@ MEM VER +VER set version_number VER set major_version [minor_version] Display the current DOSBox version and reported DOS version (parameterless usage). Change the reported DOS version with the "set" parameter, - for example: "VER set 6 22" to have DOSBox report DOS 6.22 as version number. + either with a version number, or in "major_version [minor_version]" format. + For example: "VER set 7.1" to have DOSBox report DOS 7.1 as version number. + Alternatively, "VER set 6 22" lets DOSBox report DOS 6.22 as version number. + You can also set the DOS version via the "ver=" setting in the [dos] section + of the DOSBox configuration file so that DOSBox will activate it at start. CONFIG -writeconf filelocation |