Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
889 B

  1. major_version equ 5 ;Major DOS version
  2. minor_version equ 00 ;Minor DOS Version for int 21h/30h
  3. minor_version_NT equ 50 ;Minor DOS VersionN for int 21h/3306
  4. expected_version equ (MINOR_VERSION SHL 8)+MAJOR_VERSION
  5. DOSREVNM equ 00000000B ; bits 0-2 = revision number of DOS
  6. ; currently 0.
  7. DOSINROM equ 00001000B ; bit 3 of ver flags returned in BH
  8. DOSINHMA equ 00010000B ; bit 4 of ver flags
  9. ; if1
  10. ; %OUT ... for DOS Version 5.00 ...
  11. ; endif
  12. ;******************************
  13. ;Each assembler program should:
  14. ; mov ah,030h ;DOS Get Version function
  15. ; int 021h ;Version ret. in AX,minor version first
  16. ; cmp ax,expected_version ;ALL utilities should check for an
  17. ; jne error_handler ; EXACT version match.
  18. ;******************************
  19. 
  20.