Ŀ
 MAP - Memory map for DOS 


This code is copyright (C) 1992, 1994 Sulyok Peter.
It is placed in the PUBLIC DOMAIN for non-commercial use,
without fee. Share and enjoy it.


WHAT IS IT ?
------------
   This program makes memory map (ie. some different kind of list of
   memory blocks) under DOS. I hate the MEM command of MSDOS that
   is why I made this program. It is useful when you try to optimize
   your memory usage and you want to get detail information about it.
   I tested it under MS-DOS 5.x and 6.x and Novell DOS 7.0.


COMMAND LINE SYNTAX
-------------------
   Use -h option to get some information about it. You will see
   the next text :

      MAP 2.0, memory map utility, Sulyok Peter (C) 1992,1994.
      Usage:   MAP [-option ...]
      Options:
               -n    list of programs in normal memory (default)
               -u    list of programs in normal and upper memory
               -f    full list of memory blocks
               -d    list of device drivers
               -x    XMS report
               -e    EMS report
               -h,?  this text


LIST OF NORMAL MEMORY (-n)
--------------------------
   In the list of normal memory you can see :

      - installed device drivers
      - installed programs
      - size of free memory

   in normal memory. The tabulated names are (QEMM386, KBDBUF, DPMS)
   components of the previous DOS block.

      Ŀ
       mcb    size     name        type          
      Ĵ
       0112    2512  DOS        system data   
       0114     768   QEMM386   device driver 
       0145     144   KBDBUF    device driver 
       014f    1552   DPMS      device driver 
       01b0       0  DOS        system code   
       01b1      64  DOS        system code   
       01bb     256  NDOS       program       
       0ebb  647232             free          
      Ĵ
         4833280 bytes free EMS memory           
         4800512 bytes free XMS memory           
           20544 bytes free upper memory         
      

   At the end of list you can see the size of free EMS, XMS and upper
   memory.


LIST OF NORMAL AND UPPER MEMORY (-u)
------------------------------------
   This list is same like the previous list but it is expanded with
   the list of programs in upper memory.

      Ŀ
       mcb    size     name        type          
      Ĵ
       0112    2512  DOS        system data     Ŀ
       0114     768   QEMM386   device driver    
       0145     144   KBDBUF    device driver    
       014f    1552   DPMS      device driver     Normal
       01b0       0  DOS        system code       memory
       01b1      64  DOS        system code      
       01bb     256  NDOS       program          
       0ebb  647232             free            
       9fff  166608  DOS        system code     Ŀ
       c8ad     208  DOS-UP     program          
       c8bb    5536  DOSDATA    program          
       ca16   57872  DOS        system data      
       ca18    2096   QDPMI     device driver    
       ca9c   24304   STACHIGH  device driver    
       d08c    1312   DC2000    device driver    
       d0df     544   SETVER    device driver    
       d102     224   HKEY      device driver    
       d111   29296   NCACHE2   device driver    
       d838    3264  FILES      program           Upper
       d905     960  FCBS       program           memory
       d942     512  WKBUFFER   program          
       d963    2288  LASTDRIV   program          
       d9f3    3008  STACKS     program          
       dab0     144  INSTALL    program          
       dc2e    5232  SHARE      program          
       dda7   17616  GMOUSE     program          
       e1f5    4144  RF34       program          
       e2f9    1664             free             
       e362    2048             free             
       e3e3   16832             free           
      Ĵ
         4833280 bytes free EMS memory           
         4800512 bytes free XMS memory           
           20544 bytes free upper memory         
      


FULL LIST OF MEMORY BLOCKS (-f)
-------------------------------
   This is a detail list of memory block in your machine. You can see
   all MCB in list and its interrupt vectors too.

      Ŀ
       mcb    size     name        type            interrupt vectors          
      Ĵ
       0112    2512  DOS        system data                               
       0114     768   QEMM386   device driver                             
       0145     144   KBDBUF    device driver                             
       014f    1552   DPMS      device driver  fb                         
       01b0       0  DOS        system code                               
       01b1      64  DOS        system code    19                         
       01b6      64  NDOS       data area                                 
       01bb     256  NDOS       program                                   
       0ebb  647232             free           ea ec ef f4 f9 fc fd fe    
       9fff  166608  DOS        system code    1f 43 4b 67 6d e9          
       c8ad     208  DOS-UP     program                                   
       c8bb    5536  DOSDATA    program                                   
       ca16   57872  DOS        system data                               
       ca18    2096   QDPMI     device driver                             
       ca9c   24304   STACHIGH  device driver                             
       d08c    1312   DC2000    device driver                             
       d0df     544   SETVER    device driver                             
       d102     224   HKEY      device driver                             
       d111   29296   NCACHE2   device driver  13 15 21 28                
       d838    3264  FILES      program                                   
       d905     960  FCBS       program                                   
       d942     512  WKBUFFER   program                                   
       d963    2288  LASTDRIV   program                                   
       d9f3    3008  STACKS     program        02 08 09 0a 0b 0d 0e 70 72 
                                               73 74 76                   
       dab0     144  INSTALL    program                                   
       daba    3104  NDOS       data area      22 23 24 2e                
       db7d    2048  NDOS       environment                               
       dbfe     752  RF34       environment                               
       dc2e    5232  SHARE      program                                   
       dd76     768  GMOUSE     environment                               
       dda7   17616  GMOUSE     program        0c 2f 33                   
       e1f5    4144  RF34       program        10                         
       e2f9    1664             free                                      
       e362    2048             free                                      
       e3e3   16832             free                                      
      


LIST OF DEVICE DRIVERS (-d)
---------------------------
   In this list you can see the list of installed device drivers and
   its program name (if it is).

      Ŀ
       address     attr   name       program  
      Ĵ
       C8BC:0048  8004  NUL                
       D111:0000  c004  @CACHE-X  NCACHE2  
       D111:008A  c800  SMARTAAR  NCACHE2  
       D102:0000  8000  HKEY$$$$  HKEY     
       D0DF:0000  8000  SETVERXX  SETVER   
       D08C:0000  8010  PTI       DC2000   
       CA9C:0000  8000  _STAC_HI  STACHIGH 
       014F:0000  8000  DPMSXXX0  DPMS     
       CA18:0000  8000  QDPMI$$$  QDPMI    
       0145:0000  8000  KBD$BUF$  KBDBUF   
       0114:0000  c000  QEMM386$  QEMM386  
       C801:0000  c000  EMMXXXX0           
       0108:0000  4842  F:                 
       0070:0023  8013  CON                
       0070:0035  8000  AUX                
       0070:0047  a0c0  PRN                
       0070:0059  8008  CLOCK$             
       0070:006B  08c2                     
       0070:007B  8000  COM1               
       0070:008D  a0c0  LPT1               
       0070:009F  a0c0  LPT2               
       0070:00B8  a0c0  LPT3               
       0070:00CA  8000  COM2               
       0070:00DC  8000  COM3               
       0070:00EE  8000  COM4               
      


XMS REPORT (-x)
---------------
   In this report you can see information about XMS memory.

      Ŀ
       XMS driver version      3.0            
       HMA state               exists         
       A20 line state          enabled        
       Free XMS memory         4800512 bytes  
       Largest free XMS block  4833280 bytes  
       Free handles            60             
                                              
        Block  Handle  Size      Locks        
        
        0      2       100352    0            
        1      3       2097152   0            
                                              
       Free upper memory       20544 bytes    
       Largest upper block     16832 bytes    
      


EMS REPORT (-e)
---------------
   In this report you can see information about EMS memory.

      Ŀ
       EMS driver version  4.0             
       EMS page frame      E800            
       Total EMS memory    7946240 bytes   
       Free EMS memory     4833280 bytes   
       Total handles       64              
       Free handles        60              
                                           
        Handle  Pages  Size      Name      
        
        0       39     638976    SYSTEM    
        1       4      65536     HMA       
        2       7      114688    EMB2      
        3       128    2097152   EMB3      
      


AUTHOR
------
   If you have some question or suggestion about it you don't hesitate to
   write to author. But please don't ask from me "What is the XMS memory ?"
   and other silly questions.

                                      E-mail address: sulyok@math.klte.hu
