home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / sysutil / pccdoc.inf < prev    next >
Encoding:
Text File  |  1992-03-09  |  9.7 KB  |  249 lines

  1. Instructions for using PC-Choices
  2.  
  3. (Version 0.5, ftp distribution, 2 Mar 92)
  4.  
  5. This document explains how to install and run PC-Choices.  If you
  6. encounter any problems, please contact Lup at lup@cs.uiuc.edu.
  7.  
  8. What is PC-Choices
  9.  
  10.     PC-Choices is a version of Choices for 386/486 PCs.  Choices is a
  11.     portable object-oriented operating system developed by the University
  12.     of Illinois' Systems Research Group, headed by Prof. Roy Campbell.
  13.     The PC-Choices kernel runs in 32-bit protected mode and calls
  14.     DOS/BIOS in 16-bit virtual-8086 mode for input/output operations.
  15.     Because it uses DOS/BIOS instead of working with I/O hardware
  16.     directly, PC-Choices will run on many PCs.  PC-Choices is written
  17.     mainly in C++ and the source code will be distributed.
  18.  
  19. System requirements
  20.  
  21.     A 386/486 PC running DOS version 3.0 or higher; EGA or VGA display;
  22.     at least 3 Meg extended memory.  PC-Choices does not swap out memory
  23.     so it may not run properly without lots of extended memory (say 5 Meg).
  24.     3 Meg of disk space is required for storing the Choices kernel and
  25.     application files.
  26.  
  27. What does it do
  28.  
  29.     PC-Choices runs 32-bit Choices applications and supports multitasking.
  30.     The PC-Choices package has a command shell, some file utilities,
  31.     a kernel browsing tool, a kernel visualization monitor and some
  32.     simple applications.  Users can compile PC-Choices applications
  33.     with DJGPP, the DOS port of g++.  Applications are written using
  34.     the Choices object-oriented application programming interface.
  35.  
  36. Who should use PC-Choices
  37.  
  38.     People interested in object-oriented operating systems; people
  39.     who want to build 32-bit applications and run them in a multitasking
  40.     PC environment; people who want to learn how protected-mode PC
  41.     operating systems can be implemented in C++.  PC-Choices is
  42.     currently available for beta-testing.  PC-Choices has been tested
  43.     on the IBM PS/2 Model 80, IBM PS/2 Model L40SX, IBM PS/55 Note,
  44.     ALR Business VEISA 486-33, AT&T 6386WGS and other 386 PCs, with
  45.     DOS 3.3, 4.0 and 5.0.
  46.  
  47. _____________________________________________________________________________
  48. PC-Choices Incompatibilities
  49.  
  50. (1) All extended memory must be usable by PC-Choices.  PC-Choices will
  51.     not work if there are programs or data in extended memory.  Some
  52.     DOSs make use of extended memory and are therefore incompatible
  53.     with PC-Choices.  Change your system configuration before running
  54.     PC-Choices so that nothing is loaded into extended memory.
  55.     Here are some tips for DOS 5.0 users: don't use "DOS=HIGH",
  56.     DEVICEHIGH, HIMEM.SYS or SMARTDRV.SYS in your CONFIG.SYS and
  57.     AUTOEXEC.BAT files.
  58.  
  59. (2) The machine should not be in virtual-8086 mode when starting
  60.     PC-Choices.  Some memory managers such as EMM386.SYS put the
  61.     machine into virtual-8086 mode while running.  Remove these
  62.     memory managers from your system configuration.
  63.  
  64. (3) PC-Choices assumes that there is 640K of base memory, and uses
  65.     300K of low memory by default.  The amount of memory to be used
  66.     may be adjusted by changing the configuration file pcc/bin/config.
  67.  
  68. (4) PC-Choices always uses the first text-mode display page for console
  69.     output.
  70.     
  71. Warning: It is possible that PC-Choices will damage the data on your
  72.          diskette or hard disk (although this has never happened
  73.      before).  Make sure you have backups of your disks before
  74.      running PC-Choices.
  75.  
  76. _____________________________________________________________________________
  77. Setting up PC-Choices
  78.  
  79.     To fetch the PC-Choices package, ftp anonymously to choices.cs.uiuc.edu.
  80.     Get the file Choices/PC-Choices/pcc.zip in binary mode.  (This document
  81.     you're reading is in the file Choices/PC-Choices/pccdoc.)  Copy pcc.zip
  82.     to the PC, say to the root directory on the C drive (c:\).  You should
  83.     have an UNZIP utility that unpacks ZIP archives.  (Contact
  84.     lup@cs.uiuc.edu if you don't.)  Unpack pcc.zip with your UNZIP utility
  85.     like this:
  86.  
  87.         unzip -d pcc.zip
  88.  
  89.     The directories pcc, pcc\bin and pcc\cbin and their files will be
  90.     unpacked in the current directory.  Delete pcc.zip.  (If a previous
  91.     version of PC-Choices is already installed on your machine, UNZIP
  92.     will ask you whether it should overwrite the files; just say "yes".)
  93.  
  94.     We now have to edit pcc\bin\profile to tell the command shell
  95.     (Chocs) where to look for the Choices application binaries.  Edit
  96.     pcc\bin\profile and you will see this:
  97.  
  98.         PATH=d:/pcc/cbin
  99.  
  100.     Change it so that it references the correct directory.  For example,
  101.     if you unpacked the PC-Choices package in c:\, you should change
  102.     the line above to:
  103.  
  104.         PATH=c:/pcc/cbin
  105.  
  106.     If your PC is an IBM PS/2, PS/55 or something similar, edit
  107.     c:\pcc\bin\config, change "PS2Keyboard = no" to "PS2Keyboard = yes",
  108.     and change "PS2Timer = no" to "PS2Timer = yes".
  109.         
  110.     PC-Choices is now ready to be used.
  111.  
  112. _____________________________________________________________________________
  113. Booting PC-Choices
  114.  
  115.     Go to the pcc\bin directory and type "pcc".  After a while, you
  116.     should see
  117.  
  118.     Choices Command Shell (Chocs 0.0)
  119.     For help contact lup@cs.uiuc.edu
  120.  
  121.     Choices>
  122.  
  123.     If the system does not respond to any keypresses, you cannot continue
  124.     using PC-Choices.  You should reboot the PC, change the system
  125.     configuration and boot PC-Choices again.  Look at pcc\bin\config to
  126.     find out what parameters you can set in order to make PC-Choices
  127.     run on your system.
  128.  
  129.     If you still have difficulty running PC-Choices, please contact
  130.     me as soon as possible - I'm very eager to fix all compatibility
  131.     problems.
  132.  
  133. _____________________________________________________________________________
  134. Running Applications
  135.  
  136.     The "Choices>" prompt indicates that you're in the Choices command
  137.     shell, which allows you to run applications.  For more information
  138.     about the shell, enter "help".  Here is an incomplete list of
  139.     applications that are available (see pcc\cbin\readme for the complete
  140.     list):
  141.  
  142.     ls      - List the contents of the current directory.
  143.     cd      - Change current directory.  Without arguments, it prints the
  144.               name of the current directory.
  145.     hello   - Prints a message.  Can be used with an argument.
  146.     flash   - Flash the screen 5 times.
  147.     count   - Display digits 9 to 0 in large print.
  148.     worms   - Draw a worm on the screen.
  149.     logo    - Displays the PC-Choices logo.
  150.     kindred - "kindred X" shows all living objects in the kernel that belong to
  151.               class X and its subclasses.  (Try "kindred Process",
  152.           "kindred MemoryObject" and "kindred Domain".)
  153.     dos     - Start a DOS shell as a PC-Choices process.
  154.  
  155.     To execute an application, just enter its name and arguments at the
  156.     shell prompt; the shell works like the Bourne shell.  To execute an
  157.     application in the background, type the application name and arguments,
  158.     and type '&' at the end of the line before pressing Return.
  159.  
  160.     If you see the message "Store::alloc() out of memory" while
  161.     multitasking, it means that the PC does not have enough memory to run
  162.     multiple programs at the same time.  You can still use PC-Choices by
  163.     running a single program at a time.
  164.  
  165.     To shut down PC-Choices, enter "exit" at the shell prompt and the machine
  166.     will return to DOS.
  167.     
  168. _____________________________________________________________________________
  169. Kernel Visualization Monitor
  170.  
  171.     PC-Choices can visualize its kernel state.  Enter "monitor".
  172.     You should see 10 stripes (called "sliders") at the bottom on the
  173.     screen.  A slider moves when the labelled event happens.  The
  174.     sliders keep track of these events:
  175.  
  176.         DOS:            Calls to DOS functions (INT 0x21).
  177.     Disk BIOS:      Calls to BIOS disk functions (INT 0x13).
  178.         Keyboard BIOS:  Calls to BIOS keyboard functions (INT 0x16).
  179.     Interrupt:      Hardware interrupt passed to BIOS.
  180.     Context Switch: Switching the contexts of processes.
  181.     CPU Idle:       CPU is currently idle.
  182.         Process N:      Application process N is currently running.
  183.  
  184.     Try running various applications in the foreground and background
  185.     and see how the sliders behave.  To turn off the sliders, enter
  186.     "monitor" again.
  187.  
  188. _____________________________________________________________________________
  189. Questionnaire
  190.  
  191.     The PC-Choices project team would like to obtain your comments
  192.     in order to make PC-Choices more useful for you.  Please answer
  193.     the following questions (all answers are optional):
  194.  
  195.     Please write down your occupation and describe your interests.
  196.  
  197.     A--->
  198.  
  199.     Would you like to use PC-Choices in your work?  As a hobby?
  200.     How would you use it?
  201.  
  202.     B--->
  203.  
  204.     What new applications would you like us to develop?
  205.  
  206.     C--->
  207.  
  208.     If you could use the PC-Choices application compilation
  209.     environment, what applications would you write?
  210.  
  211.     D--->
  212.  
  213.     Do you want the source code for the PC-Choices kernel?  Do you
  214.     want the ability to customize the kernel by recompiling the
  215.     kernel yourself?
  216.  
  217.     E--->
  218.  
  219.     How do you feel about the performance of PC-Choices?  Is disk
  220.     I/O too slow for ordinary use?
  221.  
  222.     F--->
  223.  
  224.     Have you heard of the Choices project before?  How much do you
  225.     know about it?
  226.  
  227.     G--->
  228.  
  229.     Other comments:
  230.  
  231.     H--->
  232.  
  233.     Please return the questionnaire to lup@cs.uiuc.edu.  Thank you.
  234.  
  235. _____________________________________________________________________________
  236. Conclusion
  237.  
  238.     If PC-Choices ran on your PC without major problems, you might want
  239.     to try out the PC-Choices application development package,
  240.     which lets you compile PC-Choices applications under DOS.  DOS g++
  241.     (DJGPP) is required for compiling the applications.  Contact
  242.     lup@cs.uiuc.edu for information on obtaining the application
  243.     development package.
  244.  
  245.     Thank you for using PC-Choices.
  246.  
  247. Lup
  248. lup@cs.uiuc.edu    Graduate Student    PC-Choices Manager
  249.