home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / 3x400 / isemu100.lzh / ISEMU.DOC next >
Text File  |  1991-06-22  |  3KB  |  64 lines

  1. ╔════════════════════════════════════════════════════════════════════╗
  2. ║                                                                    ║
  3. ║            ISEMU (Is Emulation Loaded?)  Version 1.0               ║
  4. ║                Copyright (c) 1991 Kevin Watkins                    ║
  5. ║                                                                    ║
  6. ╚════════════════════════════════════════════════════════════════════╝
  7.  
  8.  
  9. ISEMU.EXE is public domain.  ISEMU.C is copyrighted and only available
  10. by registering.
  11.  
  12. This is my first attempt at 5250 -> PC programming using C.  This
  13. program is a conversion of part of the BASIC code found with IBM's
  14. 5250 emulation.  It is written in Turbo C++.  The source code can be
  15. had for $5. There are no guarantees, but I would appreciate it if you
  16. let me know if you have any problems or ideas for enhancements.
  17.  
  18. My purpose for writing this program was to determine if Emulation was
  19. loaded and if not exit with an errorlevel in order that it could be
  20. loaded before continuing.  I have quite a few automated routines that
  21. run through out the day.
  22.  
  23. ISEMU checks the interrupt vectors for the IL5 segment address of
  24. emulation located at 0000:0036.  With that address it then checks the
  25. offset for the EC level stamp which begins with "EC" at offset 0x148.
  26. The next five bytes contain the actual version number of the emulation
  27. package.
  28.  
  29. Also checked is the SYSAV byte (offset 0x015B) and the program will
  30. display whether or not the system available indicator is on or not as
  31. well as exit with an errorlevel.
  32.  
  33. ISEMU exits with the following errorlevels:
  34.  
  35.         0       Emulation loaded and system available
  36.         1       Emulation not loaded/EC version info corrupt
  37.         2       Emulation loaded/system NOT available
  38.  
  39. Registering ISEMU gets you free updates and the source code.  To
  40. register send $5 to:
  41.  
  42.                         J. Kevin Watkins, CDP
  43.                         Watkins Consulting Group
  44.                         PO Box 931
  45.                         Jonesboro, AR 72403-0931
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. ╔════════════════════════════════════════════════════════════════════╗
  59. ║                                                                    ║
  60. ║            ISEMU (Is Emulation Loaded?)  Version 1.0               ║
  61. ║                Copyright (c) 1991 Kevin Watkins                    ║
  62. ║                                                                    ║
  63. ╚════════════════════════════════════════════════════════════════════╝
  64.