home *** CD-ROM | disk | FTP | other *** search
/ Boldly Go Collection / version40.iso / TS / 25D / TST124.ZIP / TST.DOC next >
Encoding:
Text File  |  1991-12-12  |  3.8 KB  |  111 lines

  1.          DEMONSTRATION OF SPAWN & GRAPHICS SAVE FUNCTIONS
  2.  
  3.          (c) 1990 by Microsystems Software, Inc.
  4.              Author: Ratko V. Tomic
  5.  
  6.  
  7.      MSI Voice phone:  (508) 626-8511
  8.     MSI friendly BBS:  (508) 875-8009  (2400,N,8,1)
  9.                (508) 626-2481  (HST 9600/14400,N,8,1)
  10.  
  11. TST is little TSR demo for CodeRunneR's PDK-3 capabilities. It allows
  12. you to run programs or COMMAND.COM while inside other applications,
  13. including those using graphics, mouse and coprocessor. Since TST
  14. saves forground application, it is best to run it from RAM disk,
  15. or to have LIM available. In case of LIM you get additional benefit
  16. of TSR size of only 1.5K of RAM. If you have HIGH-LOAD type utilities
  17. (like 386MAX) you can load TST into High Memory and use 0K low memory
  18. footprint and take up only 1.5K of high memory - the rest of TST is
  19. in EMS memory !
  20.  
  21.  
  22. NOTE: TST maintains file MEM_IMG.$$$ which is used for application
  23.       swapping.  The file is created at the current drive at the time
  24.       of initial loading of TST.EXE. Thus if you have RAM disk you
  25.       can improve performance by logging to RAM disk when loading
  26.       TST (TST.EXE need not be on the RAM drive). When TST /U is
  27.       invoked to unload TSR, the MEM_IMG.$$$ is deleted (provided
  28.       you are on the same drive as at load time).
  29.  
  30. ****  CAUTION ****
  31.  
  32.       The file MEM_IMG.$$$ should not be deleted while TST is resident.
  33.  
  34. ******************
  35.  
  36.  
  37.  
  38.     RUNNING ANY PROGRAM
  39.  
  40. After running TST.EXE press F11 or <Alt-COMMA> to pop-up execution window.
  41. On question "Program Name:" specify full path and name of the program
  42. (including drive and COM or EXE extension). 
  43.  
  44. On question "Command Line" you can enter <CR> or the command options
  45. required by the application.
  46.  
  47. The application will be executed and upon its exit, the screen will be
  48. retained until you hit any key. Then the original screen, preceeding
  49. the pop-up will be restored.
  50.  
  51.  
  52.     RUNNING COMMAND SHELL
  53.  
  54. To shell out into COMMAND.COM press F12 or <Alt-PERIOD> then run any
  55. commands at the command level.
  56.  
  57.  
  58.  
  59.     TST COMMAND LINE OPTIONS
  60.  
  61.  
  62. /M nnn    Set swapped memory size to nnn kilobytes. If no value is specified
  63.     TST will swap 192K, allowing for smaller applications. If the
  64.     specified amount is greater than maximum available memory (memory
  65.     following the TSR) TST will swap as much as possible. You can
  66.     also specify /M* to indicate maximum amount to be swapped.
  67.  
  68. /P <program name>
  69.     
  70.     Specify default program to be invoked when F11 is pressed.
  71.     The name must include full path and drive information, such
  72.     as  /P C:\UTIL\CHKDSK.COM .
  73.  
  74. /C <command line>
  75.  
  76.     Specify default command line to be used with <program name>.
  77.     This option must be the LAST ONE to allow for arbitrary
  78.     command line syntax.
  79.  
  80. /G    Run <program name> without prompting for confirmation.
  81.     Normally TST will display the program name and reqest
  82.     enter to proceeed.
  83.  
  84. /Q    Enable quick proogram termination. Normally TST will pause on
  85.     the exit screen of the <program name> waiting for any key
  86.     before returning to the interrupted application.
  87.  
  88. /E    Don't use EMS for swapping or for the TSR itself. This may be
  89.     needed with some applications which use EMS in TSR unfriendly
  90.     manner (e.g. with EMSNET).
  91.  
  92. /X    Don't use XMS for swapping.
  93.  
  94. /H      Don't check high memory when searching for already loaded TST.
  95.     This switch should be used with machines which don't allow
  96.     reading of memory beyond video RAM (some faulty 386 multitaskers
  97.     or some rare adapters). You should try /H if the computer locks
  98.     up while loading TST.
  99.  
  100. /U    Unload TST from memory. This option will work if no other
  101.     TSR has been loaded after TST.
  102.  
  103.  
  104.  
  105.  
  106.     SAMPLE FOR SPAWN-IN-PLACE
  107.  
  108. This is a simpler program TS2.EXE which demonstrates use of spawn_in()
  109. function. The source files are TS2*.C and the BAT file is DO2.BAT.
  110.  
  111.