home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / BASIC / SNOB01.ZIP / CONFIG.DOC next >
Encoding:
Text File  |  1984-09-18  |  7.5 KB  |  162 lines

  1. This file explains the procedure for changing the configuration of
  2. SNOBASIC. It is assumed that you have read the "Getting Started"
  3. section of the manual and the "Configuring" section of the manual
  4. before proceeding in this file.
  5.  
  6. This file has sections dealing with the major topics of re-configuration.
  7. You should proceed now to the section that deals with the configuration
  8. you wish to perform.
  9.  
  10. HARD DISK SYSTEMS
  11.  
  12.     Insure that you are in the root directory of your hard disk ("cd \").
  13.     
  14.     Create a directory on your hard disk named SNOW ("md snow").
  15.     
  16.     Copy the root directory of SNOBASIC disk one to the directory SNOW
  17.     ("copy a:\*.* c:\snow").
  18.     
  19.     Create a directory on your hard disk named DK0 ("md dk0").
  20.     
  21.     Copy the DK0 directory from SNOBASIC disk one to the directory DK0
  22.     on your hard disk ("copy a:\dk0\*.* c:\dk0").
  23.     
  24.     Place SNOBASIC disk two in a.
  25.     
  26.     Create a directory on your hard disk named DK1 ("md dk1").
  27.     
  28.     Copy the DK1 directory from SNOBASIC disk two to the directory DK1
  29.     on your hard disk ("copy a:\dk1\*.* c:\dk1").
  30.     
  31.     Use a text editor such as EDLIN to make the following change to
  32.     the STARTUP.BAT file that you wish to use:
  33.         SET D1=B:\DK1    should now be    SET D1=\DK1
  34.     
  35.     Change directories to the directory SNOW ("cd snow").
  36.     
  37.     Bring up SNOBASIC ("startup" or "startup2" or "startup3").
  38.     
  39. ONE DRIVE SYSTEMS:
  40.  
  41.     First, be sure that you have made a copy of SNOBASIC disk one
  42.     as described in the "INSTALL.DOC" file. This will place DOS
  43.     on SNOBASIC disk one.
  44.     
  45.     Format a blank disk ("format b:")
  46.     
  47.     Create a directory DK0 on the new disk ("md b:dk0").
  48.     
  49.     Copy the DK0 directory of SNOBASIC disk one to the new disk
  50.     (Place SNOBASIC disk one in the drive and "Copy a:\dk0\*.* b:\dk0".
  51.     DOS will prompt you to swap disks from time to time.)
  52.     
  53.     Make a directory DK1 on the new disk ("md b:dk1").
  54.     
  55.     Copy the programs and files that you wish to use from SNOBASIC disk
  56.     two to the DK1 directory on the new disk (SNOBASIC disk two will
  57.     be disk a and the new disk will be disk b. Type
  58.     "Copy a:\dk1\filename b:\dk1\" for each file to be transferred.
  59.     DOS will prompt you to swap disks from time to time.)
  60.     
  61.     Use a text editor such as EDLIN to make the following change to
  62.     the STARTUP.BAT file (on SNOBASIC disk one) that you wish to use:
  63.         SET D1=B:\DK1    should now be    SET D1=\DK1
  64.     
  65.     With SNOBASIC disk one in the drive, bring up SNOBASIC ("startup"
  66.     or "startup2" or "startup3").
  67.     
  68.     When asked for a license number, before answering the question,
  69.     remove SNOBASIC disk one and place the new disk into the drive.
  70.     Then answer the license number question.
  71.     
  72. INTERFACE BOARDS (TERMINALS) OTHER THAN COM1 OR COM2:
  73.     
  74.     First, read the section "Configuring" in the manual.
  75.     
  76.     It is necessary to know the "device address" of your board. This
  77.     should be listed somewhere in the documentation that came with
  78.     your board. The device address given there will probably be
  79.     given in "Hexadecimal" notation. It must be converted to decimal
  80.     to be used here. (Your dealer may be able to help you or you
  81.     may call Snowcrest at 916-926-3817 for help).
  82.     
  83.     Add a "set" command to the "STARTUP.BAT" file that you wish to
  84.     use. Usually this will be:
  85.         SET U3=aaaa,ii,ssss
  86.     Where aaaa is the device address as discussed above. ii is the
  87.     interrupt level of the new board. Unless your board is capable
  88.     of using interrupt level 2 (should be stated in the documentation
  89.     if so - most boards use only level 3 or level 4), you will be
  90.     assigning this new board to "piggyback" on the clock interrupt
  91.     by setting ii to 128. ssss is the baud rate that you wish for the
  92.     new board. This may be selected from the list given in the manual
  93.     or may be the number zero (0). If you choose zero, the baud rate
  94.     will be changed every time the user presses "break" on his terminal
  95.     (cycling through 110, 300, 1200 and 9600 baud). You may also find
  96.     that the rate will change when the terminal is turned off, so this
  97.     option should primarily be used only on telephone lines with modems.
  98.     
  99.     Don't forget to change the entry in the STARTUP.BAT file "NU" to
  100.     reflect the new number of users ("SET NU=4").
  101.     
  102. LARGE SYSTEMS - "OUT OF ENVIRONMENT SPACE"
  103.     
  104.     As you add information to the DOS environment by adding SET commands
  105.     or by adding to the length of the existing SET commands, you may
  106.     encounter the problem of running out of environment space. DOS provides
  107.     a mechanism for increasing the space needed to hold SET commands, but
  108.     this mechanism only works when you type the SET commands from the
  109.     keyboard. The SET commands for SNOBASIC come from the STARTUP.BAT
  110.     files, and DOS will not allocate more space when these files are
  111.     being used. SNOBASIC is distributed with a program called ENVIR which
  112.     will modify COMMAND.COM on the disk you wish to use for SNOBASIC to
  113.     allocate additional environment space when the system is booted
  114.     (power on or ctrl-alt-del). If you encounter the problem of running
  115.     out of environment space, you need to perform the following steps:
  116.     
  117.     First, insure that you have made a copy of SNOBASIC disk one as
  118.     described in the INSTALL.DOC file.
  119.     
  120.     Place the copy of SNOBASIC disk one in drive a if you are running
  121.     on a floppy disk system.
  122.     
  123.     Boot the system (ctrl-alt-del).
  124.     
  125.     If you have a hard disk system, type "path \snow".
  126.     
  127.     Type "envir 30". The number 30 tells the system to provide thirty 16
  128.     byte blocks to hold the environment SET commands (total 480 bytes).
  129.     This number may be as large as 99 or as small as 6, but the recommended
  130.     number for SNOBASIC is 30. (Typing "envir 14" will restore DOS to its
  131.     original state).
  132.     
  133.     When the DOS prompt returns, boot the system again (ctrl-alt-del). There
  134.     is now enough space in the environment to hold the necessary SET commands.
  135.     
  136.     This procedure modifies the program COMMAND.COM on the root directory
  137.     of the disk. In order to have the additional space in the environment,
  138.     you must boot from the disk that has been modified. If you boot from
  139.     another disk first, such as your original DOS disk, and then change
  140.     to the SNOBASIC disk to run SNOBASIC, you will again run out of
  141.     environment space.
  142.     
  143. PRINTERS:
  144.  
  145.     SNOBASIC accesses the printer through the DOS device PRN:. This device
  146.     may be changed by use of the DOS "mode" command to be LPT1, LPT2,
  147.     COM1 or COM2. If it is desired to use a serial printer, you must
  148.     insure that the same serial port is not assigned by SNOBASIC to a
  149.     user. If you have both COM1 and COM2 and need a serial printer, the
  150.     easiest way to configure for it is to place the printer on COM2,
  151.     use the DOS "mode" command to inform DOS that the printer is on
  152.     COM2, and bring SNOBASIC up using STARTUP2.BAT, thus configuring
  153.     only COM1 for SNOBASIC. If you have only COM1, you may bring SNOBASIC
  154.     up using STARTUP.BAT (thus having only a single user basic) and
  155.     place your printer on COM1. If you wish to use COM1 in this case
  156.     for a terminal, you should first set PRN: to LPT1 or LPT2 with
  157.     the DOS "mode" command and use STARTUP1.BAT to start SNOBASIC.
  158.     The serial printer then would not be used by SNOBASIC.
  159.     
  160.     Of course, if you have a parallel printer, there is no such problem.
  161.     
  162.