.\" .\" UCSD p-System Operating System .\" Copyright (C) 2010 Peter Miller .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions are met: .\" .\" * Redistributions of source code must retain the above copyright notice, .\" this list of conditions and the following disclaimer. .\" * Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" * Neither the name of the ucsd-psystem-os project nor the names of its .\" contributors may be used to endorse or promote products derived from .\" this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" .ad l .hy 0 .nf .so version.so Building ucsd-psystem-os \*(v)

How to Build
ucsd-psystem-os \*(v)


  1. These instructions assume you are using a Linux or Unix system. It is probably possible to make them work using Cygwin on a Windows PC, but that has not been tested.

  2. There is some software you are going to need before you can follow the rest of these instructions.

  3. Download the source file archive ucsd-psystem-os-\*(v).tar.gz.

  4. Unpack the source file archive
    tar xzf ucsd-psystem-os-\*(v).tar.gz
    and change directory to the unpacked sources
    cd ucsd-psystem-os-\*(v)
    You are now ready to build the code.

  5. Assuming that you have installed all of the necessary software (see above), all that is required to build the software is the simple command
    make
    This uses the cross compiler to build the executables, and the file system tools to build the disk images. There will be plenty of output.

  6. To execute the code, use the virtual machine, like this:
    ucsdpsys_vm -f stage1/klebsch/system.vol
    Welcome to 1979:
    Command: E(dit, R(un, F(ile, C(omp, L(ink, X(ecute, A(ssem, D(ebug,? [II.0]
    
    Welcome  SYSTEM,  to
    
    U.C.S.D.  Pascal  System  II.0
    http://miller.emu.id.au/pmiller/ucsd-psystem-os/ version \*(V)
    
    Current date is  21-Jun-10
    The project identifies itself (see the screen capture, above) to avoid any suggestion that this is a completely unaltered system.

The system is far from complete. It is able to function, the editor works, the compiler works, and several working library units are available, but the complete three-stage build system documented in the Makefile is not yet complete. You can expect this to advance in future releases.

Supported Hosts

When control of the project moved from UCSD to SofTech Microsystems, the newsletter written by Ken Bowles indicates that there were several hosts supported by the software

Unfortunately, the source code for many of these interpreters has yet to be recovered. If you think you have some of the missing source code, the maintainer would like to hear from you.

A port to a new host involved several pieces of code that all had to be written:

For those hosts for which we have assembler sources, we frequently do not have complete coverage.