Source code of Windows XP (NT5)
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.

49 lines
1003 B

  1. ;***
  2. ;version.inc - defines current memory model
  3. ;
  4. ; Copyright (c) 1987-2001, Microsoft Corporation. All rights reserved.
  5. ;
  6. ;Purpose:
  7. ; This file defines the current memory model being used.
  8. ;
  9. ;Revision History:
  10. ; 10-22-87 JCR Single version to handle all four memory models
  11. ; 02-11-88 WAJ Added to math project
  12. ; 12-02-88 WAJ Added definition of CallDist
  13. ; 09-22-89 WAJ Removed CallDist. Added "ifdef WIN".
  14. ; 10-16-89 WAJ Added "?WIN = 1".
  15. ; 11-20-89 WAJ Added ?QUIET
  16. ;
  17. ;*******************************************************************************
  18. ?PLM = 0
  19. ifdef WIN
  20. ?WIN = 1
  21. else
  22. ?WIN = 0
  23. endif
  24. ifdef mem_s
  25. memS equ 1 ; small model
  26. endif
  27. ifdef mem_c
  28. memC equ 1 ; compact model
  29. endif
  30. ifdef mem_m
  31. memM equ 1 ; medium model
  32. endif
  33. ifdef mem_l
  34. memL equ 1 ; large model
  35. endif
  36. ifdef I386
  37. memS32 equ 1 ; small 32 bit model
  38. endif
  39. ifdef QUIET
  40. ?QUIET equ 1
  41. endif