home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT251.ZIP / IM.DOC next >
Text File  |  1990-09-02  |  32KB  |  599 lines

  1.             Inner Mission -- A deep space screen saver
  2.  
  3.                  COPYRIGHT (C) 1990  KEVIN STOKES
  4.  
  5.  
  6.    Welcome to Inner Mission.  For a general description of what the
  7. program does, see the file IMINFO.DOC.  This file contains information
  8. on the features and options available, as well as background info.
  9.  
  10.    The information is divided into the following headings.
  11.  
  12. 1.)  Everyday use - command line examples, and suggestions for use.
  13.  
  14. 2.)  Fun keys - What the <cr>,t,y,m,+- keys do when stars are popped up.
  15.  
  16. 3.)  Command line options - an extended description of the many IM options.
  17.  
  18. 4.)  Possible problems - many difficulties with IM can be readily solved.
  19.  
  20. 5.)  General info - about the program itself
  21.  
  22. 6.)  Registration info
  23.  
  24. Everyday use
  25. ------------
  26.    Inner mission has a myriad of options available, some for the visual
  27. effects, and some for the behavior of the program.
  28.    Most of these options are available on the control panel, but some are
  29. available only as command line options.  If one or more command line options
  30. are used, the control panel will not come up unless specifically asked for
  31. via the -V1 option.   
  32.   Command line options also can be used if calling IM from a batch. 
  33. These command line options are invoked by using the standard form for 
  34. DOS command line options.  For instance to get IM to display stars in 
  35. black&white only, type IM /B, as explained under the 'Command line options'
  36. heading further below.
  37.  
  38.    Note that many options can be selected in a row, as in:
  39.  
  40. IM /K2 /N8 /S1 /T4 /D             (note: '-' can be substituted for '/')
  41.  
  42.    Also, you may change any parameter any time merely by typing the command
  43. over again.   (IE. even after the TSR is memory resident, options can be
  44. changed without rebooting.)  
  45.  
  46.    You may want to experiment to find the visual effect you like the best,
  47. and place the IM command line in your AUTOEXEC.BAT file so that IM will 
  48. always be there after your computer has finished booting.  If you have a
  49. message you would like written in the stars to float by periodically, use
  50. the -u0 option with a pipeline to feed in the message from a text file.
  51.  
  52. im -k2 -u0 -s3 < message.txt
  53.  
  54.    This would make the program read in the text from the text file message.txt
  55. and display it periodically when the stars were popped up.  This is fine to
  56. put in the AUTOEXEC.BAT file.
  57.  
  58.    If IM uses too much memory, look at the -e, and -z options.  Also try 
  59. using IMS.EXE instead of IM.EXE.  It uses about half the RAM, and has the
  60. -e, and -z options also.  IM can also be easily removed from memory 
  61. with the MARK and RELEASE shareware programs.  If you don't have these
  62. already, they are recommended for any TSR use.
  63.  
  64.    If there is a program where you do not want IM to interrupt even if you
  65. don't touch the keyboard for long periods of time, you could make a batch
  66. which turns off the auto-popup feature when the program is invoked, then
  67. calls the program in question, then turns IM auto-popup back on when done
  68. with the following text in a batch file.
  69.  
  70. Ex: Contents of MYPROG.BAT:
  71.  
  72. IM -A0   
  73. YOURPROGRAM.EXE
  74. IM -A1
  75.  
  76.   To use your program, just then type myprog.
  77.  
  78.   If IM is popping up when you don't want it to, just press the y key
  79. while the stars display is up.  This will turn off the auto-popup.   To
  80. turn auto-popup back on, just hit the y again.
  81.  
  82.  
  83.  
  84. Fun keys
  85. --------
  86.  
  87.   The following keys do the following things if pressed while the stars
  88. display is popped up.
  89.  
  90. <cr>   - Enter hyperspace, visual effect of turning on your warp drive.
  91.  
  92. t      - Time and Date comes floating slowly out at you from the distance.
  93.                  (Not available in IMS.EXE)
  94.  
  95. m      - Message floats out to you if you used the -u0 option.  
  96.                  (Not available in IMS.EXE)
  97.  
  98. y      - Toggle the auto-popup option, without returning to DOS.
  99.  
  100. shift  - Come back from the stars to whatever the computer was doing.
  101.  
  102. +      - The plus key on the key pad will increase the star speed.
  103.  
  104. -      - The minus key on the key pad will decrease the star speed.
  105.  
  106. Command line options
  107. --------------------
  108.  
  109. -A       Disable automatic popup.  Stars may now be brought up only by
  110.          pressing the hot key combination specifed by the -K or -L 
  111.          options.  -A or -A0 will turn off automatic popup, -A1 will
  112.          turn it on again.                        Default = auto popup
  113.  
  114. -B       Black and white option.  This applies only to EGA, VGA, and MCGA
  115.          users, since in the CGA case, a monochrome graphics mode is used.
  116.                                                   Default = Color
  117.  
  118. -C       Force CGA mode.  This should be used with EGA cards with only 64k
  119.          ram, or with mono EGA displays.
  120.                                                   Default = No force CGA
  121.  
  122. -D       Do not disable video.  When the computer is not waiting for 
  123.          keyboard input, and yet the user does not hit a key for an
  124.          extended amount of time, the video is disabled to save the
  125.          screen from image burn.  Stars do not come up because the stars
  126.          display stops the original program.  When this option -D is used,
  127.          IM does not disable video.  -D or -D0 turns off video disable,
  128.          -D1 turns video disable on.
  129.                                                   Default = Video Disable on
  130.  
  131. -E       If you have expanded memory (and a EMS driver installed) this option
  132.          will place more than half of Inner Mission in expanded RAM, thereby
  133.          increasing the amount of space available for DOS programs.  To 
  134.          minimize memory use, use in conjunction with -Z (Zap Environment) 
  135.          or use IMS.exe with -E option.
  136.                                                   Default = No use of EMS mem
  137.  
  138. -F       Feline option-  Inner mission checks the status of the mouse, so
  139.          that CAD programs will not be interrupted.  If Inner Mission will not
  140.          stay popped up, and you suspect the mouse is unstable, the mouse
  141.          checks can be disabled with the -F option.  Note that -F1 will
  142.          re-instate mouse checks.
  143.                                                   Default = Check the mouse
  144.  
  145. -G!      This sequence will unregister a program, thus rendering the program
  146.          into a form where it may be copied freely.  If you use this option,
  147.          make sure you have a safe copy of your registered version somewhere
  148.          else, because this option will change your program to an unregistered
  149.          state.                          
  150.  
  151. -H       This will type out a list of the available options, and a short
  152.          description of their effect.
  153.  
  154. -In      This option specifies popup criteria.  Some programs do not get their
  155.          keyboard input from DOS. ( A good example the the PC-Write program.) 
  156.          Instead they get the keystrokes directly from the ROM BIOS.
  157.             Therefore, Inner Mission must watch how many calls per
  158.          second are made to the BIOS, in order to determine if the computer 
  159.          is idle.  If there are very few calls per second, a program
  160.          may be busy, but checking the keyboard occasionally to check for 
  161.          a control-break etc.  In this case, you would not want Inner Mission
  162.          to pop up, because your program would be halted while the stars are
  163.          displayed.  Therefore, there exists an optimum number of keyboard
  164.          checks per second which indicate an idle computer.  
  165.            This number of checks per second can be set with the -In option.
  166.          If n=0, popup is most likely, and IM may pop up when a program is 
  167.          busy.  If n=9, then IM is least likely to pop up during one of these
  168.          programs (a non-DOS keyboard caller).  If n is set to too large a #,
  169.          IM will not pop up at all during one of these programs, even if the
  170.          machine is idle. (However, the screen may blank, because IM does not
  171.          stop the executing program when the screen blanks.)
  172.            So if IM is interrupting a program that is not waiting for a key,
  173.          try -I5 or higher until IM stops interrupting.  
  174.            On the other hand if IM refuses to popup by itself during a
  175.          program that you know is idle, try decreasing n until it will pop up.
  176.  
  177.                                                       Default n=3, 256 cks/sec
  178.  
  179.             n=  0    1    2    3    4    5    6    7    8    9
  180.       ---------------------------------------------------------
  181.                64   128  186  256  350  512  768  1024 1500 2048
  182.  
  183.  
  184. -J       Jam into reverse gear.  This reverses the direction of the stars
  185.          motion.  Use once to look out of back window of the starship, use
  186.          again to reverse back to normal.  This option is obsolete with 
  187.          version 1.6, since you may reverse the star direction by going
  188.          through zero with the +, and - keys.
  189.  
  190. -Kn      This option will set the hot keys to the desired key combination.
  191.          'n' is a digit 0-9 which specifies which hot key combo you desire.
  192.          The following table gives the available key combo's, and their codes.
  193.          If you have a PC/XT see the problem section below for a note about
  194.          the key combinations.
  195.                                                   Default = 0, lft+rght shift
  196.  
  197.          n                Combo
  198.    ___________________________________________________________________________
  199.  
  200.          0         LFT-SFT + RGT-SFT             ( left and right shift keys )
  201.          1         RGT-CNTL + RGT-SFT
  202.          2         RGT-SFT + RGT-ALT
  203.          3         LFT-SFT + RGT-SFT + RGT-CNTL
  204.          4         RGT-SFT + RGT-CNTL + RGT-ALT
  205.          5         LFT-SFT + RGT-SFT + RGT-CNTL + RGT-ALT  ( Not Advised )
  206.          6         LFT-SFT + RGT-CNTL
  207.          7         LFT-SFT + RGT-ALT
  208.          8         LFT-SFT + LFT-CNTL
  209.          9         LFT-SFT + LFT-ALT
  210.  
  211.  
  212. -Ln    This option will set the hot keys to the desired alternate key
  213.         combination.  
  214.  
  215.          n                Combo
  216.    ___________________________________________________________________________
  217.  
  218.          0        LFT-CNTL + LFT-ALT
  219.          1        LFT-SFT + LFT-CNTL + LFT-ALT
  220.          2        LFT-SFT + LFT-CNTL + RGT-SFT
  221.          3        LFT-SFT + LFT-ALT + RGT-SFT
  222.          4        SCROLL LOCK
  223.          5        SCROLL LOCK + RGT-SFT
  224.          6        SCROLL LOCK + LFT-SFT
  225.          
  226.  
  227. -M      This option makes IM run as a normal program.  It does not install 
  228.         itself into ram as a TSR.  It merely jumps into the stars routine, 
  229.         and exits when any key is depressed.  All other options may be used
  230.         in the same command line, although some such as -E are pointless 
  231.         unless the program is in memory as a TSR.
  232.  
  233. -Nn     This sets the number of stars to a preset value determined by the
  234.         0-9 digit n.  The following table describes the optional number of
  235.         stars.
  236.  
  237.                                                   Default = 8, 768 stars
  238.  
  239.             n=  0    1    2    3    4    5    6    7    8    9
  240.       ---------------------------------------------------------
  241.       # Stars=  64  100  128  200  256  350  512  630  768  512
  242.  
  243.  
  244. -O       Some programs take over the keyboard interrupts, so that the
  245.        bios routines no longer take care of keystroke input.  If this
  246.        occurs, then IM cannot detect hot keys.  Even worse, IM will pop
  247.        up by itself, and then will refuse to popdown, because IM can't
  248.        see the keys which signal a return to the original program.
  249.           Therefore, IM checks the keyboard interrupt vector to see if
  250.        some program has substituted it's own keyboard routines.  If this 
  251.        is true, then IM will refuse to popup.
  252.           Sometimes programs only keep an eye on keys, but still let the
  253.        bios do the main work.  In this case IM will refuse to popup, but
  254.        infact it would be fine to pop up.  This is where the -O0 option 
  255.        comes in.  The -O0 option will turn off these checks.  
  256.          Use this option if IM will refuse to popup only when the computer
  257.        is running a certain program.  If the program really gets its
  258.        from non-bios routines, then IM will still refuse to popup with
  259.        the hot keys.  If this is the case, then IM simply can't work 
  260.        with that program. 
  261.           Using the option -O1 will reinstate the checks of int9 traps.
  262.  
  263. -P     IM continually checks the printer status.   If the printer port
  264.        changes state, IM will not pop up.   This -P option turns off these
  265.        checks, in case there are spurious state changes to a non-connected
  266.        printer which are preventing the normal operation of IM.  Using -P
  267.        with a non-zero digit following will re-enable printer status checks.
  268.                                                Default = Check Ptr Status
  269.  
  270. -R     As in the above -P option, IM checks the RS-232 ports COM1 & COM2
  271.        for status changes, in order to avoid a IM popup causing a loss of
  272.        data coming in over the serial port, or interruption of data
  273.        transmission.  Sometimes an unconnected port can generate random
  274.        serial port status changes, thus interfering with the operation of
  275.        IM.  Therefore the -R option is available to shut off these checks.
  276.        To reinstate them, use the -R1 option.
  277.                                                Default = Check COM1&2 Stat
  278.  
  279. -Sn         This sets the speed of travel of the stars to a preset value 
  280.         determined by the 0-9 digit n.  The following table describes the 
  281.         optional star speed.                   Default = (Depends on PC speed)
  282.  
  283.          n=  0    1    2    3    4    5    6    7    8    9
  284.          ---------------------------------------------------
  285.   Velocity=  4    8   16    32   64  128  256  512  1024 512
  286.  
  287.  
  288. -Tn      This sets the time delay after the last key press, before IM 
  289.          pops up the stars display automatically.  The digit n determines
  290.          which of the follow preset delays (given in minutes) will be
  291.          used for the delay.                   Default = -T4 (5 min)
  292.  
  293.          n=  0    1    2    3    4    5    6    7    8    9
  294.          ---------------------------------------------------
  295.   # Min   = 1/2   1    2    3    5    10   20   30   30   3
  296.  
  297.  
  298. -Un      This option allows the user to type in a custom message will
  299.          occasionally float by written in stars, while the stars display
  300.          is popped up.  The n digit specifies the interval, while if
  301.          no digit is specified (-U ) the message will only appear if the
  302.          m key is pressed.  When IM discovers the -U option, it will prompt
  303.          the user for the message.  A message is one or more lines of no more
  304.          than 14 characters, followed by empty line ( a line with only a cr,
  305.          no spaces allowed.)
  306.          Note the user may send a text file as
  307.          the input using the dos pipeline character.  ex:
  308.             IM -S3 -U0 < MESSAGE.TXT  
  309.          This will take the text in the file message.txt and display it
  310.          every 30 seconds when the stars display is popped up.   Note that
  311.          the m key will cause the message to appear immediately.
  312.                                                  Default = No Message
  313.  
  314. -V       This option will disable the control panel from popping up.  If you
  315.          would like to call Inner Mission from a batch file, this will prevent
  316.          the batch from being interrupted by the control panel.  Most of the
  317.          time this option is not necessary, because if there are any options
  318.          on the command line, the control panel will no come up by default.
  319.          If you would like to use both a command line option, and the control
  320.          panel, then use the -V1 option, which forces the control panel up
  321.          irregardless.
  322.                                                  Default = Control Panel on.
  323.  
  324. -W       Make auto-popup only occur if computer is sitting in a DOS wait-for
  325.          key loop.  Some programs, (certain versions of Wordstar, for example)
  326.          do not call to DOS for their keyboard input.  Instead, they check
  327.          keyboard status frequently by calling the ROM routines.  Inner
  328.          Mission checks activity in these ROM routines to decide whether or
  329.          not the machine is actually busy.  In some cases, this checking may
  330.          be undesirable, since a program may be checking for a cntl-break,
  331.          and Inner Mission would interrupt to pop up stars, thus causing the
  332.          program to halted until the user hits a key.  Use -w or -w0 to turn
  333.          off auto-popup unless in DOS wait-for-key.  Use -W1 to return IM to
  334.          normal operation.                       Default = -W1
  335.  
  336. -X       Type out the registration number of your copy of Inner Mission.
  337.  
  338. -Z       Zap the environment-  When DOS runs any program, it makes a copy of
  339.          of the environment for the program.  (Environment is just a list of
  340.          things like PATH=C:\DOS;C:\TC, stuff that is in your AUTOEXEC.)
  341.            Inner Mission does not really need this, so to save memory space
  342.          you may free up this space for use by other programs.  The only 
  343.          drawback to the -Z option is that the name IM will not show up on
  344.          any memory listings you type out using MAPMEM or an equivalent
  345.          program.
  346.  
  347. Possible problems
  348. -----------------
  349.  
  350.    IM is popping up with stars during programs that are not infact idle:
  351.              (This does not apply to screen blanking)
  352.  
  353.         There are many ways to prevent this annoying activity.  
  354.         The easiest fix is to just hit the y key when the stars pop up.
  355.       Then IM will not pop up again by itself.  To return IM to normal,
  356.       popup the stars manually with the hot keys, and hit y again.
  357.         Check out the description of the -I option in the command line
  358.       descriptions above, if that is too intense, try some of these
  359.       other ideas.
  360.         The easiest thing is to increase the time delay before auto-popup
  361.       with the -Tn option.  If you run long programs without the user
  362.       hitting keys, another option is -W.  This option will prevent
  363.       the interrupting of programs unless they are truly waiting for
  364.       a user to hit a key. 
  365.         You may also the the auto-popup feature totally off by using
  366.       the -A option.  You may want to make a small batch file which turns
  367.       off the auto-pop flag, then runs the feisty program, and then turns
  368.       the auto-pop back on.  For example:
  369.               
  370.       MYP.BAT   includes the following:
  371.  
  372.       IM -A                               
  373.       MYPROG.EXE
  374.       IM -A1
  375.  
  376.    IM bombs when the Windows program is run:
  377.          Inner Mission is incompatible with windows.  It must be removed
  378.       from memory before Windows is run.  IM can be removed from memory 
  379.       easily with the shareware MARK and RELEASE programs.  These programs
  380.       work well, and are readily available on many BBS's.
  381.  
  382.    The screen is going blank in the middle of a program:
  383.         If no keys are typed, after a certain delay, IM will try to popup.
  384.       If at this time a popup with stars is impossible because the machine
  385.       is busy or in graphics mode, IM decides instead to blank the screen
  386.       without suspending the currently executing program.
  387.          If you are playing a game with a joystick, or are watching a program
  388.       run without typing, IM may sometimes blank the screen at an undesirable
  389.       moment.  Try looking at the -D option to shut off the video disable.
  390.       Note that the option can be shut off just during the program in question
  391.       by using the batch technique described above.
  392.  
  393.    IM display will not stay up:
  394.         This program checks the mouse, printer, and serial port status
  395.       continually to prevent IM from interrupting data flow to the printer,
  396.       or to the serial port.  If IM refuses to stay popped up, try using the
  397.       -F, -R, or -P options.  There maybe an unused port sending spurious
  398.       status changes which prevent normal operation of IM.
  399.  
  400.    IM will not popdown in response to the mouse:
  401.         The mouse checking may not work on IBM PS/2's.  It is unclear why,
  402.       there are other programs which dislike the PS2 mouse as well.
  403.  
  404.    IM refuses to popup the stars display at all:
  405.         Remember that Inner Mission cannot pop up if the computer is in a
  406.       graphics mode, due to the fact that to save the screen would require
  407.       too much memory.  If you would like the screen blanked, holding the
  408.       hot keys down for more than a second will blank the screen for you,
  409.       even if the machine is in graphics mode.
  410.         This problem may also be due to the reasons mentioned in the 
  411.       previous problem solution.  ( IE the stars will not stay popped up.)
  412.         Also see the option -O0 in the options discussion.  
  413.    
  414.  
  415.    IM refuses to popup with the hot keys, but pops up automatically, then
  416.        machine is stuck in stars, or is stuck in blank screen mode:
  417.          This will happen if a program has used its own keyboard interrupt
  418.        routine.  Then IM cannot detect a pop up command, and after it has
  419.        popped up of its own accord, IM cannot detect a key to shut it down.
  420.        In this case, movement of the mouse will still pop it down.
  421.           The solution is to turn off autopop-up before entering this program.
  422.        There is only one program which is presently known to do this, a 
  423.        game marketed by Electronic Arts called Populous.
  424.  
  425.    EGA screen display is not operating correctly:
  426.         If your EGA card has only 64k RAM, you must use the -C option to
  427.       force the program to use only the CGA emulation mode of the EGA.
  428.  
  429.    When program returns from stars display, screen is scrambled:
  430.         Some EGA cards have been known to switch between video and
  431.       graphics modes with occasional failure.  IM simply makes a BIOS
  432.       call to switch video modes, so if you see this kind of failure, it
  433.       may be a hardware error.  The DOS command MODE 80 sometimes will
  434.       bring back the video card to the desired alphanumeric mode, otherwise
  435.       there is the all-powerful reboot.
  436.  
  437.    The motion of the stars is too chunky: 
  438.         If you are running IM on a PC/XT, the computer may not be able
  439.       to run fast enough to give a smooth motion to the stars.  Try
  440.       lowering the number of stars to 350 with the IM -N5 -S7 option.
  441.       This will louse up the text features (IE logo, time, and user msg).
  442.       If you do this, you may as well use IMS.EXE instead of IM.EXE, since
  443.       the text will not come out right anyway.
  444.  
  445.    The hotkey combination I set will not work:
  446.         If Inner Mission works fine with the default hot keys, left shift +
  447.       right shift, but doesn't popup with the hot keys you select, be aware
  448.       that any hot key combo which includes a left cntl, or left alt will not
  449.       work on a PC/XT, since they do not have left and right cntl&alt keys.
  450.       If you have a PC/XT, use only options which include the right alt&cntl
  451.       keys.  Also, do not try to use the combo's which use the scroll lock key.
  452.  
  453.     DOS refuses to delete an old configuration file in the root directory:
  454.        Use the DOS command ATTRIB -R 3A6B3A6B.3A6 (Or whatever the file name.)
  455.      first to remove the read-only attribute.  Then the file may be deleted
  456.      normally.
  457.  
  458.     The control panel goes nuts all by itself:
  459.        The computer thinks there is mouse which may not really be there.  Try
  460.      starting up IM with the -F option to make sure the mouse isn't really
  461.      there.
  462.  
  463.     The mouse goes dead when using the control panel:
  464.        Don't hold the button on the mouse down too long, it has a timeout
  465.      to prevent an endless loop.  If you hold the mouse button down too long
  466.      IM will decide the mouse is malfunctioning, and will remove the mouseness
  467.      from the control panel use.  You may still use the arrow keys.
  468.  
  469. About the program itself
  470. ------------------------
  471.  
  472.   Inner Mission is written entirely in assembler.  It is about 50k bytes
  473. of code, of which only about 19k remains resident after termination.  Of
  474. that memory, most is buffer space to hold the xyz positions of the
  475. stars for the display.  
  476.   Inner Mission hooks many interrupts in order to be sure of not interrupting
  477. a critical section of code, as well the detection of time passage, and user
  478. key presses.  The multiplex interrupt as described in the DOS Technical 
  479. Reference manual was used to provide an interface between the resident, and
  480. non-resident portions of the program.
  481.    The stars display section of the program is a straight forward perspective
  482. view of a 3 dimensional area filled with stars.  The pattern of stars repeats
  483. with a period of about 4 seconds.  The text which floats past consists of 
  484. characters which are comprised of stars.  There is a font stored in the
  485. code.  You can see that when a long phrase is floating by the rest of the
  486. random stars become very sparse.  If you decrease the number of stars with
  487. the -n option, there are sometimes not enough stars to display a complete
  488. phrase.  When the text is past, IM regenerates the used stars with new 
  489. random stars.
  490.   Because the characters are written in the stars, the number of characters
  491. which can be on the screen at one time is limited by the number of stars. 
  492. Also, the black lines running through the characters are just the stars
  493. seperating as they move closer.  Lines are formed because of the finite # of
  494. pixels in the graphics display causes a rounding effect in the x&y coords.  
  495. If you had infinite graphics resolution, the letters would slowly resolve in
  496. to points.  Star colors were turned off when in letters because they tended
  497. to make the stars look spotty.
  498.   The warp effect is created by merely not erasing the old stars when it's
  499. time to update the position of a star.  Therefore the stars leave a trail
  500. as they pass.  The warp effect is the reason why the speed can be changed
  501. only by factors of two.  If the z-coord increment did not cycle back through
  502. the exact same numbers every time around then the trail left by the warping
  503. stars will not be erased when the warp effect turns off.  The warp effect is
  504. disabled if characters are on the screen for a similar reason.  If the stars
  505. are changed in the middle of a warp, then the screen will not unwarp normally.
  506.   Inner Mission is a little big for a screen saver TSR, but unfortunatly every
  507. bit of that RAM is needed.  The minimum possible size for a screen saver which
  508. preserves the previos screen while putting up an interesting display is about
  509. 5k.  Inner Mission uses about 18k due to the storage necessary for the stars
  510. and the font.  The array which holds the xyz coords of the stars is
  511. 7.5k bytes.  Another 4k bytes are needed to save the text and color
  512. attributes of the screen, so that it is restored when IM pops down.  Finally,
  513. 1.5k bytes are need for the font for the text display.  That leaves the actual
  514. code taking up about 5k.  When the -E option is used, the screen memory, font
  515. and star buffer array are put into EMS memory.  The EMS code in IM uses only the
  516. basic LIM EMS 3.2 standard.
  517.   IMS.EXE saves RAM by omitting the font, and shortening the necessary star
  518. buffer.  Since letters will never be on the screen, the 4 quadrants of the
  519. display are repeated.  This cut the amount of storage needed for the stars.
  520. The font was no longer needed, and in IMS the old text screen is saved in a
  521. compressed format=2500 bytes (as opposed to 4k for uncompressed).  The
  522. disadvantage in text compression is that some screens cannot be saved in 
  523. 2500 bytes ( if they have many vertical bars of diff. colors).  IMS will
  524. then just refuse to popup.
  525.   Inner Mission uses the multplex interrupt 2FH to determine if IM has
  526. already been loaded.  If so, the multiplex int returns the segment addr
  527. of where the resident copy in memory is.  If IM is already loaded then
  528. the program will not put another copy of itself in RAM, it will merely
  529. interpret the command line, and then change the desired variables in
  530. the already resident copy.  Note that IM & IMS are separate programs,
  531. and you cannot use an IMS command line to change variables in a resident
  532. IM.  You will end up with BOTH IM & IMS resident at the same time.  It
  533. won't crash, but it is slightly confusing.
  534.   IM would need 64k of RAM to save some graphics mode screens, so stars 
  535. will not pop up if the machine is sitting in graphics mode.  But since IM
  536. is being distributed as a screen saver, it is necessary to at least blank
  537. the screen.  This is easy with the CGA/MCGA/HGC boards, since you just 
  538. twiddle a bit in a I/O port.  With EGA/VGA boards however, there is no
  539. offical way to disable video.  IM disables the video by zeroing the 
  540. PAS bit (bit#5) of the attribute address register (I/O Port# 3C0H).  
  541. This bit disables the display memory from getting access to the palette.
  542. On every EGA/VGA board we have seen, this blanks the video.  It is 
  543. possible there may be some boards which respond differently.
  544.   The configuration code checks the system date, and encodes the first
  545. time configuration code and date in both the configuration file
  546. and the IM.EXE itself.  Each time IM is loaded from scratch, that
  547. is updated and the name of the configuration file is changed.  This
  548. is to prevent people from putting commands in their autoexec.bat which
  549. change the date while IM is loaded etc.  The trial period lasts for one
  550. week, or 35 runs of the program, whichever comes first.
  551.   The assembler source code for Inner Mission takes up about 200k.  The
  552. original program was written in 1987 on an original IBM PC with mono CGA.
  553. In December 1989 it was translated in to assembler from FORTH to save 
  554. enough memory to make it into a TSR.  After 6 months of work, IM version
  555. 1.5 was released to the public as a shareware program.
  556.  
  557.  
  558. Registration information
  559. ------------------------
  560.  
  561. Thank you for considering registration.
  562.  
  563.  
  564.      Registration Fee is $5.00
  565.          Program works without any configuration file
  566.          and is never interrupted with more questions.
  567.  
  568.  
  569. Registration Details:        
  570.    When you configured your program, it assigned to you a
  571. registration code.  This registration code was then written into
  572. the IM.EXE file.  A matching answerback code is needed to transform
  573. your copy of IM into a registered copy.  Each copy of IM.EXE requires its
  574. own unique answerback code. 
  575.   To register, you send in your code #, the fee, and a self-addressed
  576. stamped envelope.  You will then receive a matching reply code and simple
  577. instructions on how to transform your copy of Inner Mission into a full-blown
  578. registered copy.  
  579.  
  580. Warning:
  581.   DO NOT DELETE THE COPY OF IM.EXE WHICH HAS THE REGISTRATION NUMBER YOU HAVE
  582. MAILED.  THE ANSWERBACK CODE WILL BE USELESS TO YOU IF HAVE DELETED ITS
  583. CORRESPONDING .EXE FILE!  (If the trial period runs out before you have gotten
  584. a response from Pie in the Sky, you may start another trial period. But be
  585. careful not change the registration number when answering the questions.)
  586.  
  587. Please send either cash or a check made out to "Pie in the Sky Software."
  588.  
  589.  
  590.    To register, send your registration codes, the fee, and self-addressed
  591. stamped envelope to:
  592.  
  593.                    Pie in the Sky Software
  594.                    PO BOX 4742
  595.                    Duke Station
  596.                    Durham, NC 27706
  597.  
  598.   This offer is valid thru July, 1991. 
  599.