home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- S Y S T E M I N F O L E M
- For Clarion Professional Developer
- Version 1.1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright (C) 1993 By Paul Lapsansky
- ALL RIGHTS RESERVED
-
- i. CONTENTS
-
- i. CONTENTS
-
- I. INTRODUCTION
- 1. What is supported
- 2. Registration
- a. Non-registered users
- b. Registered users
-
- II. SYSTEM FUNCTIONS
-
- 1. BIOSDATE
- 2. BIOSREV
- 3. CARDTYPE
- 4. DISPTYPE
- 5. DOSOEM
- 6. DOSVER
- 7. DRIVETYPE
- 8. DSQVER
- 9. EMSVER
- 10. ENHANCED
- 11. GETCOM
- 12. GETCPU
- 13. GETEXTA
- 14. GETEXTT
- 15. GETEMSA
- 16. GETEMST
- 17. GETFLOPPY
- 18. GETLPT
- 19. GETMCA
- 20. GETMHZ
- 21. GETNMU
- 22. GETRAM
- 23. GETXMSA
- 24. MODEL
- 25. MOUSEIRQ
- 26. MOUSESTAT
- 27. MOUSETYPE
- 28. MOUSEVER
- 29. SUBMODEL
- 30. WINVER
- 31. XMSVER
-
- III. REGISTRATION FORM
-
- I. INTRODUCTION
-
- The SYSTEM LEM provides access to system hardware such as
- display or CPU type from within a clarion program. I
- have included the source for a small Clarion program that
- demonstrates most of the functions available in the
- SYSTEM LEM as well as an executable that demonstrates the
- functions available in registered version.
-
- 1. What is supported.
-
- Clarion Professional Developer Version 2.0+.
-
- 2. Registration.
-
- a. Non-registered users.
-
- The unregistered SYSTEM LEM contains some but not
- all of the functions found in the registered
- version. Still, the functions found in this LEM
- are fully functional and may be freely used and
- distributed.
-
- b. Registered users.
-
- Registered users will receive the SYSTEM LEM
- containing all the functions mentioned in this
- manual.
-
- Registered users may distribute programs linked
- with the SYSTEM LEM without further royalties.
-
-
- II. SYSTEM FUNCTIONS
-
- 1. BIOSDATE()
-
- Returns a string containing the BIOS release date.
-
-
- 2. BIOSREV()
-
- Returns the BIOS revision level.
-
- (Usually 00h for initial release, 01h for first
- revision, ect...)
-
- 3. CARDTYPE()
-
- Returns the video card type.
-
- 1 - MDA
- 2 - HGA (Hercules)
- 3 - CGA
- 4 - EGA
- 5 - MCGA
- 6 - VGA
-
- 4. DISPTYPE()
-
- Returns the type of display attached to an EGA or
- VGA card.
-
- 0 - No EGA or VGA could be found
- 1 - Color monitor attached
- 2 - Monochrome monitor attached
-
- 5. DOSOEM()
-
- Returns the DOS OEM serial number.
-
- (Usually 00h for PC-DOS, FFh or other for MS-DOS)
-
- 6. DOSVER()
-
- Returns the DOS version.
-
- 7. DRIVETYPE(drive number)
-
- Returns the drive size for the specified floppy disk
- drive where drive number is 0 for drive A and 1 for
- drive B.
-
- 0 - Drive not installed
- 1 - 5 1/4 360K DD
- 2 - 5 1/4 1.2M HD
- 3 - 3 1/2 720K DD
- 4 - 3 1/2 1.44M HD
- 5 - 3 1/2 2.88M EHD
-
- Note: This function requires an AT or higher.
-
- *8. DSQVER()
-
- Returns the version of Desqview if active, 0 if
- Desqview is not loaded.
-
- *9. EMSVER()
-
- Returns the EMS memory manager version. (This
- function expects an EMS memory manager to be
- installed. Use GETEMST() to determine if EMS memory
- is installed.)
-
- *10. ENHANCED()
-
- Returns if an enhanced (101-key) keyboard is
- available.
-
- 0 - Not available
- 1 - Available
-
- 11. GETCOM()
-
- Returns the number of serial ports installed.
-
- 12. GETCPU()
-
- Returns the CPU type.
-
- 1 - NEC V-20
- 2 - 8088 or 8086
- 3 - 80186
- 4 - 80286
- 5 - 80386
- 6 - 80486
-
- *13. GETEXTA()
-
- Returns the amount of available extended memory.
- (This function will not work on a PC/XT.)
-
- *14. GETEXTT()
-
- Returns the total amount of extended memory
- installed. (This function will not work on a
- PC/XT.)
-
- *15. GETEMSA()
-
- Returns the amount of available EMS memory.
-
- *16. GETEMST()
-
- Returns the total amount of EMS memory. (0 if EMS
- memory not installed.)
-
- 17. GETFLOPPY()
-
- Returns the number of floppy drives installed.
-
- 18. GETLPT()
-
- Returns the number of parallel ports installed.
-
- 19. GETMCA()
-
- Returns if a Micro Channel Bus is supported.
-
- *20. GETMHZ()
-
- Returns the approximate CPU speed in MHz.
-
- *21. GETNMU()
-
- Returns the type of math coprocessor installed.
-
- 0 - Not installed
- 1 - 8087
- 2 - 80287
- 3 - 80387
-
- 22. GETRAM()
-
- Returns the amount of conventional memory installed.
-
- *23. GETXMSA()
-
- Returns the amount of available XMS memory.
-
- 24. MODEL()
-
- Returns the system model I.D. byte.
-
- *25. MOUSEIRQ()
-
- Returns the IRQ used by the mouse. (This function
- expects a mouse driver to be installed. Use
- MOUSESTAT() to determine if a mouse is installed.)
-
- *26. MOUSESTAT()
-
- Returns the number of mouse buttons or 0 if a mouse
- is not installed.
-
- *27. MOUSETYPE()
-
- Returns the type of mouse installed. (This function
- expects a mouse to be installed. Use MOUSESTAT()
- to determine if a mouse is installed.)
-
- 1 - Bus mouse
- 2 - Serial mouse
- 3 - Inport mouse
- 4 - PS/2 mouse
- 5 - Hewlett-Packard
-
- *28. MOUSEVER()
-
- Returns the mouse driver version. (This function
- expects a mouse to be installed. Use MOUSESTAT()
- to determine if a mouse is installed.)
-
- 29. SUBMODEL()
-
- Returns the system submodel I.D. byte.
-
- *30. WINVER()
-
- Returns the version of Windows if active, 0 if
- Windows is not loaded.
-
- *31. XMSVER()
-
- Returns the XMS memory manager version. (This
- function expects an XMS memory manager to be
- installed.)
-
-
- *Denotes functions only available in the registered version.
-
-
-
-
-
- SYSTEM INFO LEM
- Registration Form
- -----------------
-
-
-
- Name:________________________________________________________
-
- Address:_____________________________________________________
-
- City:____________________________ State:____ Zip:____________
-
- Phone:___________________________
-
- Media size:
-
- ___5.25 disk ___3.5 disk
-
- Where did you obtain this archive from:______________________
-
- Comments:____________________________________________________
-
- _____________________________________________________________
-
- _____________________________________________________________
-
-
-
- Please send $39 to:
-
-
- Paul Lapsansky
- 1905 Beech St. A317
- Valparaiso, IN 46383
-
- GEnie I.D. is P.LAPSANSKY
- Compuserve I.D. is 70713,3343
-