home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 355 / APDEVKIT.ZIP / INC / MODEL.INC < prev    next >
Text File  |  1991-05-03  |  1KB  |  51 lines

  1.  
  2.     Subttl MVSOUND    --  Audio Spectrum Sound Support Code
  3.         page    64,131
  4.  
  5. ;   /*\
  6. ;---|*|----====< MODEL.INC >====----
  7. ;---|*|
  8. ;---|*| This module holds the model directives which will be duplicated
  9. ;---|*| in each .asm module at compile time.
  10. ;---|*|
  11. ;---|*| This module depends upon an equate to be provided on the DOS
  12. ;---|*| command line. This equate, "MODELSIZE" holds the value of
  13. ;---|*|
  14. ;---|*| Copyright (c) 1991, Media Vision, Inc.    All Rights Reserved.
  15. ;---|*|
  16. ;   \*/
  17.  
  18. if MODELSIZE eq 0
  19.     .model    small,c     ;; tiny model
  20.     assume    ds:@code
  21.     assume    es:@code
  22. else
  23.   if MODELSIZE eq 1
  24.         .model  small,c
  25.   else
  26.     if MODELSIZE eq 2
  27.     .model    medium,c
  28.     else
  29.       if MODELSIZE eq 3
  30.     .model    compact,c
  31.       else
  32.     if MODELSIZE eq 4
  33.     .model    large,c
  34.     else
  35.       if MODELSIZE eq 5
  36.     .model    huge,c
  37.       else
  38.        .err Bad MODELSIZE specified (or not specified)!
  39.       endif
  40.         endif
  41.       endif
  42.     endif
  43.   endif
  44. endif
  45.  
  46. ;   /*\
  47. ;   |*| end of model.inc
  48. ;   \*/
  49.  
  50.  
  51.