home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / clarion / syslem.zip / SYSLEM.DOC < prev   
Text File  |  1993-07-16  |  10KB  |  373 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                           S Y S T E M  I N F O  L E M
  18.                       For Clarion Professional Developer
  19.                                   Version 1.1
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.                      Copyright (C) 1993 By Paul Lapsansky
  52.                               ALL RIGHTS RESERVED
  53.  
  54.          i. CONTENTS
  55.  
  56.              i.   CONTENTS
  57.  
  58.              I.   INTRODUCTION
  59.                   1.  What is supported
  60.                   2.  Registration
  61.                       a.  Non-registered users
  62.                       b.  Registered users
  63.  
  64.              II.  SYSTEM FUNCTIONS
  65.  
  66.                   1.  BIOSDATE     
  67.                   2.  BIOSREV 
  68.                   3.  CARDTYPE 
  69.                   4.  DISPTYPE 
  70.                   5.  DOSOEM 
  71.                   6.  DOSVER 
  72.                   7.  DRIVETYPE 
  73.                   8.  DSQVER 
  74.                   9.  EMSVER
  75.                   10. ENHANCED
  76.                   11. GETCOM
  77.                   12. GETCPU
  78.                   13. GETEXTA
  79.                   14. GETEXTT
  80.                   15. GETEMSA
  81.                   16. GETEMST
  82.                   17. GETFLOPPY
  83.                   18. GETLPT
  84.                   19. GETMCA
  85.                   20. GETMHZ  
  86.                   21. GETNMU
  87.                   22. GETRAM
  88.                   23. GETXMSA
  89.                   24. MODEL
  90.                   25. MOUSEIRQ
  91.                   26. MOUSESTAT
  92.                   27. MOUSETYPE
  93.                   28. MOUSEVER
  94.                   29. SUBMODEL
  95.                   30. WINVER
  96.                   31. XMSVER
  97.  
  98.              III. REGISTRATION FORM
  99.  
  100.          I.  INTRODUCTION
  101.                                                                       
  102.              The SYSTEM LEM provides access to system hardware such as
  103.              display or CPU type from within a clarion program.  I     
  104.              have included the source for a small Clarion program that
  105.              demonstrates most of the functions available in the       
  106.              SYSTEM LEM as well as an executable that demonstrates the 
  107.              functions available in registered version.                
  108.  
  109.              1.  What is supported.
  110.  
  111.                  Clarion Professional Developer Version 2.0+.  
  112.  
  113.              2.  Registration.
  114.  
  115.                  a.  Non-registered users.
  116.  
  117.                      The unregistered SYSTEM LEM contains some but not 
  118.                      all of the functions found in the registered      
  119.                      version.  Still, the functions found in this LEM  
  120.                      are fully functional and may be freely used and   
  121.                      distributed.
  122.  
  123.                  b.  Registered users.
  124.  
  125.                      Registered users will receive the SYSTEM LEM   
  126.                      containing all the functions mentioned in this    
  127.                      manual.
  128.  
  129.                      Registered users may distribute programs linked
  130.                      with the SYSTEM LEM without further royalties. 
  131.  
  132.     
  133.          II.  SYSTEM FUNCTIONS
  134.  
  135.               1.  BIOSDATE()
  136.  
  137.                   Returns a string containing the BIOS release date.   
  138.                               
  139.  
  140.               2.  BIOSREV()
  141.  
  142.                   Returns the BIOS revision level.      
  143.      
  144.                   (Usually 00h for initial release, 01h for first      
  145.                   revision, ect...)
  146.  
  147.               3.  CARDTYPE()
  148.  
  149.                   Returns the video card type.
  150.  
  151.                         1 - MDA
  152.                         2 - HGA (Hercules)
  153.                         3 - CGA
  154.                         4 - EGA
  155.                         5 - MCGA
  156.                         6 - VGA
  157.  
  158.               4.  DISPTYPE()
  159.  
  160.                   Returns the type of display attached to an EGA or
  161.                   VGA card.
  162.  
  163.                         0 - No EGA or VGA could be found
  164.                         1 - Color monitor attached
  165.                         2 - Monochrome monitor attached
  166.  
  167.               5.  DOSOEM()
  168.  
  169.                   Returns the DOS OEM serial number.                   
  170.   
  171.                   (Usually 00h for PC-DOS, FFh or other for MS-DOS)    
  172.  
  173.               6.  DOSVER()
  174.  
  175.                   Returns the DOS version.
  176.       
  177.               7.  DRIVETYPE(drive number)
  178.  
  179.                   Returns the drive size for the specified floppy disk
  180.                   drive where drive number is 0 for drive A and 1 for 
  181.                   drive B.
  182.  
  183.                         0 - Drive not installed
  184.                         1 - 5 1/4 360K DD 
  185.                         2 - 5 1/4 1.2M HD
  186.                         3 - 3 1/2 720K DD
  187.                         4 - 3 1/2 1.44M HD
  188.                         5 - 3 1/2 2.88M EHD
  189.            
  190.                   Note: This function requires an AT or higher.
  191.      
  192.              *8.  DSQVER()
  193.  
  194.                   Returns the version of Desqview if active, 0 if      
  195.                   Desqview is not loaded.
  196.  
  197.               *9. EMSVER()
  198.  
  199.                   Returns the EMS memory manager version. (This        
  200.                   function expects an EMS memory manager to be         
  201.                   installed.  Use GETEMST() to determine if EMS memory 
  202.                   is installed.)
  203.  
  204.              *10. ENHANCED()
  205.  
  206.                   Returns if an enhanced (101-key) keyboard is         
  207.                   available.
  208.  
  209.                         0 - Not available
  210.                         1 - Available
  211.  
  212.               11. GETCOM()
  213.  
  214.                   Returns the number of serial ports installed.
  215.  
  216.               12. GETCPU()
  217.  
  218.                   Returns the CPU type.
  219.       
  220.                         1 - NEC V-20
  221.                         2 - 8088 or 8086
  222.                         3 - 80186
  223.                         4 - 80286
  224.                         5 - 80386
  225.                         6 - 80486
  226.  
  227.              *13. GETEXTA()
  228.  
  229.                   Returns the amount of available extended memory.     
  230.                   (This function will not work on a PC/XT.)
  231.  
  232.              *14. GETEXTT()
  233.  
  234.                   Returns the total amount of extended memory          
  235.                   installed.  (This function will not work on a        
  236.                   PC/XT.)
  237.  
  238.              *15. GETEMSA()
  239.  
  240.                   Returns the amount of available EMS memory.
  241.  
  242.              *16. GETEMST()
  243.  
  244.                   Returns the total amount of EMS memory. (0 if EMS    
  245.                   memory not installed.)
  246.  
  247.               17. GETFLOPPY()
  248.  
  249.                   Returns the number of floppy drives installed.
  250.  
  251.               18. GETLPT()
  252.  
  253.                   Returns the number of parallel ports installed.
  254.  
  255.               19. GETMCA()
  256.  
  257.                   Returns if a Micro Channel Bus is supported.
  258.  
  259.              *20. GETMHZ()
  260.  
  261.                    Returns the approximate CPU speed in MHz.
  262.      
  263.              *21. GETNMU()
  264.  
  265.                   Returns the type of math coprocessor installed.
  266.  
  267.                         0 - Not installed
  268.                         1 - 8087
  269.                         2 - 80287
  270.                         3 - 80387
  271.  
  272.               22. GETRAM()
  273.  
  274.                   Returns the amount of conventional memory installed.
  275.  
  276.              *23. GETXMSA()
  277.              
  278.                   Returns the amount of available XMS memory. 
  279.  
  280.               24. MODEL()
  281.  
  282.                   Returns the system model I.D. byte.
  283.  
  284.              *25. MOUSEIRQ()
  285.  
  286.                   Returns the IRQ used by the mouse.  (This function 
  287.                   expects a mouse driver to be installed.  Use         
  288.                   MOUSESTAT() to determine if a mouse is installed.)
  289.  
  290.              *26. MOUSESTAT()
  291.  
  292.                   Returns the number of mouse buttons or 0 if a mouse  
  293.                   is not installed.
  294.  
  295.              *27. MOUSETYPE()
  296.  
  297.                   Returns the type of mouse installed.  (This function
  298.                   expects a mouse to be installed.  Use MOUSESTAT()
  299.                   to determine if a mouse is installed.)
  300.  
  301.                         1 - Bus mouse
  302.                         2 - Serial mouse
  303.                         3 - Inport mouse
  304.                         4 - PS/2 mouse
  305.                         5 - Hewlett-Packard
  306.  
  307.              *28. MOUSEVER()
  308.  
  309.                   Returns the mouse driver version.  (This function 
  310.                   expects a mouse to be installed.  Use MOUSESTAT()
  311.                   to determine if a mouse is installed.)
  312.  
  313.               29. SUBMODEL()
  314.  
  315.                   Returns the system submodel I.D. byte.
  316.  
  317.              *30. WINVER()
  318.  
  319.                   Returns the version of Windows if active, 0 if       
  320.                   Windows is not loaded.
  321.  
  322.              *31. XMSVER()
  323.  
  324.                   Returns the XMS memory manager version.  (This       
  325.                   function expects an XMS memory manager to be         
  326.                   installed.)
  327.  
  328.  
  329.              *Denotes functions only available in the registered version.
  330.  
  331.  
  332.  
  333.  
  334.  
  335.                                 SYSTEM INFO LEM
  336.                                Registration Form
  337.                                -----------------
  338.  
  339.  
  340.  
  341.          Name:________________________________________________________
  342.  
  343.          Address:_____________________________________________________
  344.  
  345.          City:____________________________ State:____ Zip:____________
  346.  
  347.          Phone:___________________________
  348.  
  349.          Media size:
  350.  
  351.                           ___5.25 disk    ___3.5 disk
  352.  
  353.          Where did you obtain this archive from:______________________
  354.  
  355.          Comments:____________________________________________________
  356.  
  357.          _____________________________________________________________
  358.  
  359.          _____________________________________________________________
  360.  
  361.  
  362.  
  363.              Please send $39 to:    
  364.            
  365.  
  366.                                 Paul Lapsansky
  367.                              1905 Beech St. A317
  368.                              Valparaiso, IN 46383
  369.  
  370.                            GEnie I.D. is P.LAPSANSKY
  371.                          Compuserve I.D. is 70713,3343
  372. 
  373.