summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/VERSIONA.INC
blob: e6796bdcfa06fed789b9e43a6ea8e87d09168a4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
major_version	    equ     4	    ;Major DOS version
minor_version	    equ     00	    ;Minor DOS Version

expected_version    equ     (MINOR_VERSION SHL 8)+MAJOR_VERSION

       if1
       %OUT  ... for DOS Version 4.00 ...
       endif

       ;******************************
       ;Each assembler program should:
       ;  mov ah,030h			;DOS Get Version function
       ;  int 021h			;Version ret. in AX,minor version first
       ;  cmp ax,expected_version	;ALL utilities should check for an
       ;  jne error_handler		; EXACT version match.
       ;******************************