    *********************************************************************
    *                                                                   *
    *              SAIA PCD PROGRAMMING UTILITIES FOR DOS               *
    *                           PCD8.P3 $219                            *
    *                 RELEASE NOTES - 3rd November 1998                 *
    *                                                                   *
    *********************************************************************

    This document describes the installation and configuration procedure
    for the SAIA PCD Programming Utilities, and contains general notes
    and help information. Please read it carefully. This file can be
    printed using the DOS command "PRINT README.TXT" (60 lines per page).

                         ---=== CONTENTS ===---

    1. REQUIRED HARDWARE .  .  .  .  .  .  .  .  .  .  .  .  .  .  2
    2. INSTALLING THE PACKAGE  .  .  .  .  .  .  .  .  .  .  .  .  3
    3. USE OF DIRECTORIES   .  .  .  .  .  .  .  .  .  .  .  .  .  5
    4. IMPORTANT NOTES!  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6
    5. INSTALL PROGRAM DETAILS AND ERROR MESSAGES   .  .  .  .  .  10
    6. CONTENTS OF DISKETTES AND PACKAGE ORDER NUMBERS .  .  .  .  12
    7. REVISION HISTORY  .  .  .  .  .  .  .  .  .  .  .  .  .  .  15
    7.1  Major differences between V1.7 and V1.8 .  .  .  .  .  .  15
    7.2  Major differences between V1.8 and V1.9 .  .  .  .  .  .  19
    7.3  Major differences between V1.9 and V2.0 .  .  .  .  .  .  26
    7.4  Major differences between V2.0 and V2.1 .  .  .  .  .  .  29
    7.5  Major differences between V2.1 and $219 .  .  .  .  .  .  30

                                                               Page 2

    1. REQUIRED HARDWARE
    ====================

    The package is designed to run on an IBM compatible PC, with a least
    512K of memory, a hard disk, one serial port and one parallel printer
    port. Any display can be used (MDA, CGA, EGA, VGA, SVGA, Hercules,
    LCD or ELCD), the colour set can be user-defined. To use the S-BUS
    protocol, the IBM compatible PC must contain an 8254 or compatible
    "programmable interval timer", very old PCs containing an 8253 chip
    will NOT work with S-BUS.

    We recommend an IBM AT compatible machine (386/486/Pentium), with
    at least 640K of main memory, a hard disk, two serial ports and one
    parallel printer port. (A 400MHz Pentium II with 128MB of memory and
    a 16GB hard disk is better, but you don't really need it!)

    We also recommend that you have 1MB or more of extended memory for
    use with a disk cache program such as SMARTDRV (supplied by Microsoft).
    This will speed up the assembler and linker, especially if $INCLUDE
    files are used. The cache program must NOT use memory below 640K as
    the cache, since this reduces the amount of memory available to the
    PCD Programming Utilities. You can use expanded memory, but this will
    not produce such significant speed improvements. (NOTE: Windows 95
    has a built-in caching mechanism, you don't need SMARTDRV.)

    The package will work with any version of DOS from 2.0 onwards, or
    in a Windows 3.1x or Windows 9x "MS-DOS" window. It will not work
    with Windows NT.

                                                               Page 3

    2. INSTALLING THE PACKAGE
    =========================

    Please read Section 4 IMPORTANT NOTES *before* installing the package.

    Install the package on a hard disk using the following procedure:

    1) Make sure the distribution diskettes are WRITE PROTECTED.

    2) Make backup copies of the distribution diskettes. This is best
       done using the command "DISKCOPY A: A:" or "DISKCOPY B: B:". Once
       copied, put the master distribution diskettes in a safe place,
       and install the package from the copies. DO NOT USE COPY OR XCOPY
       because these do not copy the diskette's volume label which is
       needed by the install process.

    3) Insert DISK 1 into drive A: or B:, and type the command "A:INSTALL"
       or "B:INSTALL" from the DOS prompt. Then answer the questions asked
       by the install program. The package will be installed in a given
       subdirectory on your hard disk, e.g. C:\PCD. If you are upgrading
       an existing package, install it in the existing directory, or into
       another directory which contains a copy of your PCDSETUP.DAT file.

       The install program creates a directory and unzaps (decompresses)
       all the files from the diskettes into this directory. If the
       directory already exists, and you are upgrading from an older
       version, the menu and configuration data (in the PCDMENU.DAT and
       PCDSETUP.DAT files) are automatically converted to the new format.
       See section 5 for INSTALL program details and error messages.

    4) Ensure that the following lines exist in the CONFIG.SYS file,
       which is in the top-level directory of drive C:

            COUNTRY=<country code>      (this line is optional)
            BUFFERS=20                  (less if disk cache used)
            FILES=20                    (see DOS reference manual)

       <country code> is the identification number of your country (044
       for England), refer to your DOS Reference Manual for details.
       This number controls the format of the date and time in all the
       listings (dd/mm/yy or mm-dd-yy etc.)

    5) Put the following lines into a batch file. Executing this batch
       file will configure the DOS "environment" for using the package.
       If you prefer, these lines can be put into the AUTOEXEC.BAT batch
       file, which is automatically executed when the machine is switched
       on. Refer to your DOS Reference Manual for details of batch files
       and the PATH command. Instead of "C:\PCD", use the drive and
       directory name where the package was installed in step 3.

            PATH C:\PCD;C:\DOS            (examples only)
            SET PCD=C:\PCD
            SET TEMP=C:\TEMP

                                                               Page 4

       The commands above are only an example. Following "PATH" should be
       a list of all the directories containing programs that you want
       to execute, separated by semicolons (;). This sets up a default
       search path that DOS uses when locating a program on the hard disk.
       SET PCD= must define the PCD Programming Utilities directory, so
       that help files etc. can be located. SET TEMP= defines a directory
       used for temporary files. If a disk cache program such as SMARTDRV
       is being used, access to temporary files will be very fast. If not
       using a disk cache, the TEMP directory could be on a RAM disk (but
       this will cause problems if running under Windows, because Windows
       stores many huge files in the temporary directory). The current
       directory is used if TEMP is not specified.

    6) If you used the AUTOEXEC.BAT file in step 5, you need to re-boot
       the personal computer before the settings will take effect.
       Otherwise execute the batch file created in step 5. In both cases,
       now move into a work directory (see "USE OF DIRECTORIES" below),
       and type the command "PCD" to display the main menu.

    7) Press "C" for "Configure" from the main menu to enter the config-
       uration program. Enter your editor program names (e.g. SEDIT and
       PE), select the correct serial ports, PCD type, printer page size
       and colour set etc. before using the package.

       If you have an IBM compatible printer, which can print the IBM
       graphics characters (   etc.), then set the "IBM compatible
       printer" switch on the "Printer" menu to "Yes". If your printer
       can't print these characters then set it to "No", and printable
       ASCII characters (+ - etc.) will be used instead.

       Choose a colour set which is suitable for your screen type, not
       all colour sets will look good on your display. The colour sets
       are defined in files PCDCOLOR.n, where 'n' is 0 to 9. The file
       PCDCOLOR.DAT contains the colour set actually in use.

            PCDCOLOR.DAT    Actual colour set file in use
            PCDCOLOR.0      CGA or VGA screen (default)
            PCDCOLOR.1      VGA screen (grey)
            PCDCOLOR.2      VGA screen (cyan)
            PCDCOLOR.3      VGA screen (green)
            PCDCOLOR.4      Monochrome screen
            PCDCOLOR.5      Liquid crystal display (LCD)
            PCDCOLOR.9      Can be edited for custom colour set

       PCDCOLOR.6 to PCDCOLOR.8 are reserved for future colour sets.

       If you don't like the supplied colours, you can edit colour set
       file PCDCOLOR.9 using any ASCII text editor (CHANGE ONLY THE HEX
       DIGITS). This new colour set can then be selected. If the file
       is incorrectly edited, the colours default to monochrome, no
       error message is displayed.

                                                               Page 5

    3. USE OF DIRECTORIES
    =====================

    If "PATH" and "SET PCD=" statements have been executed, by running
    the batch file created in installation step 5, you can run the PCD
    Programming Utilities from any directory on any drive. The command
    "PCD" runs the menu program, which invokes all the other programs.

    The recommended procedure is to create a work or project directory
    to contain all your own source programs and listings etc. ALWAYS be
    in a work directory when using the package. Do NOT work in the PCD
    directory, you will end up with a directory containing a confusing
    mixture of PCD Progamming Utilities and your own files.

    The PCD Programming Utilities use several special data files (.DAT).
    These files are always created in the current directory (except for
    PCDCOLOR.DAT which is only in the PCD directory).

    PCDMENU.DAT stores all the information (file names, switch settings
    etc.) which have been entered into the PCD menus. Whenever the PCD
    menu program is run, it reads this file, restoring the menu settings
    to the way they were the last time you used the menus. This file is
    created on exit of the PCD Programming Utilities menus, when you
    "Quit".

    PCDSETUP.DAT contains the printer set-up, the PCD memory mapping,
    communications configuration etc. This is created in the current
    directory by the configuration program SCONFIG.EXE. The PCDSETUP.DAT
    file in the main PCD directory should contain the default set-up.
    This default file is used if PCDSETUP.DAT is not found in the current
    directory.

    Other .DAT files may be used to store data for individual programs.
    For example, SBUG.DAT stores the "Refresh" window's contents, so that
    it can be restored the next time SBUG is run from that directory.

    The main advantage of using a separate directory for each of your
    projects or programs is that you can have separate .DAT files for
    each project or program. You will certainly want different file names
    on the menus, and will probably use different PCD memory mapping etc.

                                                               Page 6

    4. IMPORTANT NOTES!
    ===================

    * Running the SAIA PCD Programming Utilities under Windows 95

      If using Windows 95, the personal computer may lock up if a Windows
      95 application (such as HyperTerminal or SAIA's PG4 package) is
      using a serial port and a DOS application is started which tries
      to use the same port. To solve this problem, add this line to the
      [386Enh] section of SYSTEM.INI (in the WINDOWS directory) for each
      COM port you will be using:
      COM<n>AutoAssign=2          (where n is 1..4 fo COM1..COM4)
      This makes Windows 95 work in the same way as Windows 3.1x, which
      displays a prompt if serial port contention occurs.

    * Running the SAIA PCD Programming Utilities under Windows 3.1x

      Create a PIF file called PCD.PIF using the PIF Editor, to run
      PCD.EXE in EXCLUSIVE FULL SCREEN mode, with a minimum memory
      requirement of 370K and a desired memory of up to 640K. Some of
      the PCD Programming Utilities will not run in background mode or
      in a DOS window, because MS Window's task switching interferes
      with the timing of the serial communications. This only affects
      the on-line programs such as the loader and the debugger, programs
      which don't talk to the PCD (the editor, assembler, linker etc.)
      will run correctly in the background or in a DOS window. After
      creating the PIF file, a program item icon for the PCD Programming
      Utilities can be added to a document window using the Program
      Manager's "File New" command.

    * The PCD Programming Utilities can be invoked either from the menu
      program PCD.EXE, or directly from the DOS prompt or a batch file.
      The non-interactive programs (SASM, SLINK, SDOC, SDNLD etc.) all
      display a help text if invoked from the DOS prompt without any
      command line parameters. Batch files can be created to automate
      the assemble->link->documentation->download process. All programs
      return a value which can be checked in a batch file via the
      ERRORLEVEL variable. If a non-zero value is returned, the operation
      has failed.

    * Ensure that all old, pre-release or demonstration versions of the
      SAIA PCD Programming Utilities are *DELETED* from your hard disk.
      The new versions are not "downward compatible" with older versions,
      but all programs written using an older version will be "upward
      compatible" with the new version of the utilities. To avoid any
      problems, DO NOT USE THE OLD VERSION after the new version has been
      installed.

    * The "PCDSETUP.DAT NOT FOUND OR INVALID" error occurs if the
      PCDSETUP.DAT file is missing or is incompatible with the version
      of the utilities. PCDSETUP files from older versions are auto-
      matically converted to the new format, but new PCDSETUP files
      ARE NOT COMPATIBLE with older versions of the utilities. The
      correct PCDSETUP.DAT file from distribution diskette 1 must be
      copied into the PCD directory, which must be indicated by the
      "SET PCD=" statement, see installation step 5. If an invalid
      PCDSETUP.DAT file exists in the current directory, delete it.

                                                               Page 7

    * The "PROGRAM NOT LICENSED" error occurs if a PCDSETUP.DAT file from
      the "DEBUG PACKAGE 1" has been loaded. See the "PCDSETUP.DAT NOT
      FOUND OR INVALID" error above.

    * If the main menu's registered user's name box is blank, this means
      that the PCDSETUP.DAT file can't be found or is an incompatible
      version. This will normally only occur after a "PCDSETUP.DAT NOT
      FOUND OR INVALID" error message (see above). Make sure that the
      PCDSETUP.DAT file from distribution diskette 1 is in both the PCD
      directory and the current directory.

    * If the utilities are displayed in monochrome on a colour screen,
      this can be caused by one of these problems:

      - The PCDCOLOR.DAT file can't be found. This should be in the
        PCD directory, which must be indicated by the "SET PCD="
        statement, see installation step 5.
      - The PCDCOLOR.DAT file has been incorrectly edited. If this file
        contains invalid data, monochrome is used by default.
      - A DOS "MODE MONO" command is in effect, use "MODE CO80" to get
        the colours back.
      - A monochrome colour set has been selected from the "Configure/
        Colour set" menu.

    * SGRAF's fatal error message "FATAL ERROR 4: SAIA LICENCE NOT VALID
      FOR THIS PROGRAM" means that the correct PCDSETUP.DAT file cannot
      be found, as above.

    * The "PROGRAM LOAD FAILURE" error occurs if the program cannot be
      found using the default search path. The "PATH" and "SET PCD="
      statements must always be provided (usually in AUTOEXEC.BAT), see
      installation step 5. If you want to run programs from a floppy
      disk, the PATH should indicate the top level directory: "PATH \".

    * If the "Edit" and/or "Word processor" commands don't work, make
      sure that the correct editor program names have been entered from
      the "Configure/Editor program names" menu, and that these can be
      found via the "PATH".

    * The PCDMENU.DAT and PCDSETUP.DAT files are always read/written in
      the current directory. If you change directories from the "Ms-dos
      command" menu, the PCD Programming Utilities may not be able to
      find the correct files, and will read or over-write the wrong files.
      The PCDSETUP.DAT file is read separately by each program, and is
      written when you "Quit" from the "Configure" menu. The PCDMENU.DAT
      file is read when the main menu program (PCD) is first executed,
      and is written when you "Quit".

    * If you have an LCD or electro-luminescent screen and the text is
      hard to read, select another colour set from the "Configure/Colour
      set" menu. Colours can be altered by editing the PCDCOLOR.9 file,
      and selecting this as the colour set file, see installation step 7.

                                                               Page 8

    * "OUT OF MEMORY" errors can occur if you write huge .SRC modules.
      Individual source modules should not contain more than about 2000
      lines of code (including $INCLUDE files), although the utilities
      will handle up to 5000 lines of code per module, depending on
      available memory. When writing large programs, create many small
      source modules, and link them with the Linker. Extended or
      expanded memory can also be used, see below.
      NOTE: Memory resident programs will reduce the amount of memory
      available to the utilities. The PCD menu program and the pop-up
      help program SHELP also take up memory. If problems persist, try
      running programs directly from the DOS prompt, without using the
      PCD menus.

    * Using extended or expanded memory:

      Extended memory is standard memory above 1MB, which can be directly
      accessed by an 80286, 80386, 80486 or Pentium microprocessor.
      Expanded memory is the older-style memory for expanding 8086 based
      systems, which is paged memory.
      If the PCD menus are invoked with the /X switch "PCD /X", then
      extended or expanded memory is used, which gives up to 100K bytes
      of extra memory. The /X switch only works if an extended or
      expanded memory manager has been loaded, usually by an entry in
      the CONFIG.SYS file. MS-DOS is supplied with these memory managers:
      HIMEM.SYS for extended memory, or EMM386.EXE for expanded memory.

    * Do NOT connect or disconnect the PCD8.P800 (PCD6 debug box) to/from
      the PCD6 while on-line (running "Debug", "View program", "Transfer
      data" or when the "Up/download" menu is displayed etc). If the
      P800 is powered up or down while on-line, it can affect operation
      of the CPU. Always return to the utilities main menu (or DOS)
      before connecting or disconnecting the P800. The CPU does not need
      to be powered off.

    * Do NOT use the old DOS "APPEND /X" command if you have DOS V3.3 or
      are running Windows 95 (it's not supported by Windows 95).
      This command is not necessary because the "PATH" is used to find
      executable files. Due to a problem in DOS 3.3, you will receive
      this error message from SEDIT from the "File Assemble" command:
      ERROR 84: CAN'T EXECUTE SASM: "APPEND /X" LOADED, and this error
      from SLINK if the /F switch (check FB parameters) is used:
      Error 19: Can't execute SFBREF.EXE: "APPEND /X" loaded.

    * Using hard disk cache programs:

      The speed of assembling and linking can be greatly improved by
      using extended memory with a disk cache program such as SMARTDRV
      (supplied with MS-DOS and Microsoft Windows). Do NOT use any of
      the memory below 640K as cache memory, since this reduces the
      amount of memory available to the PCD Programming Utilities.

                                                               Page 9

    * If on-line communications doesn't work:

      By default, all PCD's PGU ports use P800 protocol, the PCD must be
      specially configured to use S-BUS protocol. First, establish a
      P800 connection. Ensure the correct P800 serial port is selected
      from the "Configurator/Serial ports" menu, and the baud rate is
      9600. Select the P800 protocol from the "coNnect" menu. Check in
      your CONFIG.SYS and AUTOEXEC.BAT files that you don't have a mouse
      driver (MOUSE.COM or MOUSE.SYS) loaded for the P800 serial port,
      mouse drivers usually default to COM1. Check the PCD.P800 or PGU
      cables are connected to the correct serial port on the rear of
      your PC. Read the debug help texts under the topic "Connection to
      PCD" for details of S-BUS communications.
      NOTE: The IBM PC must contain an 8254 or compatible "programmable
      interval timer", communications will not work on older IBM PCs
      containing the 8253 chip because this cannot be used to provide
      timing accurate to the millisecond which is required by the
      communications handlers.

    * Using PE2 (IBM's Personal Editor II):

      If you use PE2 and the PE2.PRO and PE2.HLP files are not in the
      current directory, you must tell PE2 where to find them, using the
      "/Pfilename" switch. This is normally done by invoking PE2 from a
      batch file. For example, batch file PE.BAT might contain:

         @pe2 /Pc:\pe\pe2.pro /Q %1    (without "@" if DOS 3.2 or below)

      "PE.BAT" then becomes the name of the word processor file to be
       entered on the "Configure/Editor program names" menu.

    * Conversion of old version PCDSETUP.DAT file to new format:

      PCDSETUP.DAT files from V1.3..V1.8 are automatically converted
      to the new format before they are used. However, there is one
      difference which may not be converted correctly, this is the
      memory size. Check this is correct from the "Configure/Hardware
      and memory" menu.

    * MODEM.DAT and MODEM.OLD:

      The format of modem definition file MODEM.DAT has been changed
      slightly, and contains new modem configurations. If a MODEM.DAT
      file aready exists, it is renamed to MODEM.OLD, so that it is not
      overwritten by the new file. If MODEM.OLD contains custom modem
      configurations, the new MODEM.DAT file must be edited manually.
      Differences between old and new formats:
      - The "Echo=" and "Break=" parameters are now ignored. The break
        length is now defined on the "Configure/S-bUs communications"
        screen. All echoed characters are now always ignored.
      - Each modem now has four new strings. "PCDReset" and "PCDInit"
        are for programming into the PCD to control a modem connected
        to the PCD. "AnswerOn" and "AnswerOff" are for the "coNnect"
        screen's new "AUTO-ANSWER Mode" command. Refer to the help
        texts for details.

                                                               Page 10

    5. INSTALL PROGRAM DETAILS AND ERROR MESSAGES
    =============================================

    Files on the distribution diskettes are in a compressed "ZAP"
    format, and can only be "unzapped" by using the INSTALL program.
    This will install from drive A: or B: into a given directory on
    any hard disk. If an older version of the utilities already exists
    you can install the new package into the same directory: the old
    versions of the programs are deleted, and the configuration file
    PCDSETUP.DAT is upgraded to the new format. The new package also
    converts older versions of the menu data files automatically, so the
    data in your menus is not lost. Your colour set file PCDCOLOR.DAT
    is also retained, but colour set files PCDCOLOR.0 to PCDCOLOR.9
    will be overwritten, so if you have modified these files for custom
    colour sets, take backup copies of them before installing the new
    package, and the edit file PCDCOLOR.9 to contain your custom colour
    set, and select this from the "Configure/Colour set" menu.

    If you are installing the package for the first time, the special
    key file called PCDSETUP.DAT must be included on distribution disk
    1. This contains your "registered user name", which is displayed
    on the main menu, and appears in all listings produced by the
    utilities.

    If you are upgrading an existing package you may not have a new key
    file. In this case, your existing PCDSETUP.DAT file is converted to
    the new format. To allow this you must install the new package into
    an existing directory which contains your old PCDSETUP.DAT file.
    This will normally be the directory containing the old version of
    the utilities.

    If you have version V1.0, V1.1 or V1.2 of the utilities, you cannot
    upgrade to V2.0, you must be supplied with a new PCDSETUP.DAT key
    file. Also, you cannot upgrade from debug package 1 to the full
    package 2 without a new PCDSETUP.DAT key file.


    Install program error messages
    ------------------------------

    Can't create directory
            Usually caused by attempting to create a sub-directory of
            a directory which doesn't exist, e.g. C:\NEWPCD\PCD when
            directory C:\NEWPCD doesn't exist. Or by referencing a
            hard disk which doesn't exist. Can also occur if the root
            directory is full, or when running on a network without
            sufficient access rights.
    Can't downgrade from Package 2 to Package 1/Package 3 to Package 2
            You must install the new package in another directory,
            because it has fewer capabilities than your old package.
    Can't execute COPY
            The COMMAND.COM command-line processor can't be found.
            (Should never occur).
    Can't find file: PCDSETUP.DAT
            This key file must exist either on distribution disk 1,
            or in the destination directory if upgrading the package.

                                                               Page 11

    Can't open file: <filename>
            For reading, this means that the file doesn't exist. For
            writing, it means that the directory is full, a write
            protected file with the same name already exists, the
            disk is write protected or the drive is not ready.
    Can't read volume label from diskette
            The diskette is not ready or can't be read (not formatted?).
    Can't upgrade from Demonstration/Debug Package 1
            Distribution disk 1 does not contain a new PCDSETUP.DAT file,
            and the only PCDSETUP.DAT file found was from a restricted
            package. You cannot be upgraded to package 2 or 3 unless a
            new PCDSETUP.DAT file is supplied.
    Can't upgrade from V1.2 or earlier
            Distribution disk 1 does not contain a new PCDSETUP.DAT file,
            and the only PCDSETUP.DAT file found was from V1.2 or before.
            This version cannot be upgraded to the new format.
    Diskette has invalid volume label
    Diskette has no volume label
            Each diskette must have the correct volume label, which is
            used by INSTALL to recognize the diskette. If the diskette
            is a copy of a distribution diskette made using the COPY or
            XCOPY commands (instead of DISKCOPY), then the volume label
            will not have been copied. The correct volume label must be
            added to the diskette using the LABEL command. Volume labels
            are listed in section 6. DISKCOPY should be used for making
            direct copies of the distribution diskettes, because this
            also copies the volume label.
    Failed to copy file: <filename> to: <filename>
            After copying a file, it was not found in the destination
            directory.
    Invalid checksum on file: <filename>
            All files have a CRC-32 checksum, which is verified. This
            occurs if the file has become corrupted somehow and cannot
            be unzapped.
    Invalid ZAP file: <filename>
            The compressed ZAP file has an unknown format.
    Out of memory
            INSTALL requires about 128KB of main memory.
    Read error on file: <filename>
            The file has been corrupted or is the wrong length.
    Write error on file: <filename>
            Usually means that the disk is full.
    Wrong PCDSETUP.DAT file on diskette
            The diskette label and PCDSETUP.DAT file version don't match.

                                                               Page 12

    6.  CONTENTS OF THE DISKETTES AND PACKAGE ORDER NUMBERS
    =======================================================

    The SAIA PCD PROGRAMMING UTILITIES $219 are available in three
    packages on three different media.


    ORDER NUMBERS (English versions)
    --------------------------------

    Please state the diskette type when ordering.


              ORDER    DISKETTE   DISKETTE   NUMBER OF   VOLUME
    PACKAGE   NUMBER     SIZE     DENSITY    DISKETTES   LABEL(S)
    ====================================================================
      1     PCD8.P3E3    5.25"    1.2M DS/DD     1       PCD8-P3E3
      1     PCD8.P3E6    3.5"     720K           1       PCD8-P3E6
      1     PCD8.P3E8    3.5"     1.44MB         1       PCD8-P3E8

      2     PCD8.P3E2    5.25"    1.2M DS/HD     2       PCD8-P3E2-1..-2
      2     PCD8.P3E5    3.5"     720K           3       PCD8-P3E5-1..-3
      2     PCD8.P3E0    3.5"     1.44MB         2       PCD8-P3E0-1..-2

      3     PCD8.P3E4    5.25"    1.2M DS/HD     2       PCD8-P3E4-1..-2
      3     PCD8.P3E7    3.5"     720K           3       PCD8-P3E7-1..-3
      3     PCD8.P3E9    3.5"     1.44MB         2       PCD8-P3E9-1..-2


    DEBUG PACKAGE 1
    ---------------
    This package contains only the debug program (SBUG), the configurator
    (SCONFIG), the data transfer program (SDAT.EXE) and the menus. It can
    be used only for small projects. SBUG, SCONFIG and SDAT can be run
    directly from DOS, there is no need to use the menus. The menu program
    PCD.EXE is supplied only to show what programs are available in the
    full package, or may be useful for its modem dialler. Package 1 is
    available to unregistered users.

        README.TXT      This file
        INSTALL.EXE     Installs the package on a hard disk
        PCDSETUP.DAT    Configuration data
        P3E$219.ZAP     Compressed file containing:
          SBUG.EXE        Debug program
          SBUG.HLP        Help texts for SBUG
          SBUG.DBA        Default batch file for SBUG
          SCONFIG.EXE     Configurator
          SCONFIG.HLP     Help texts for SCONFIG
          PCDCOLOR.DAT    Current colour set data file
          PCDCOLOR.?      Alternative colour set files
          MODEM.DAT       Modem configuration data
          PCD.EXE         Main menus, for example only
          PCD.HLP         Main menu help file
          SPHONES.OVL     Phonebook overlay for PCD.EXE
          PHONES.DAT      Example telephone number file
          SCONNECT.EXE    Command-line connect program
          SDAT.EXE        Data transfer program
          SDAT.HLP        Help for SDAT.EXE
          README.EXE      File display utility, displays README.TXT

                                                               Page 13

    STARTER PACKAGE 2
    -----------------
    This is the same as the FULL PACKAGE 3, except that the user program
    code and text sizes are limited, extension memory is not supported
    and only one CPU per PCD system is allowed. ZAP file names are named
    P3S$219A.ZAP..P3S$219E.ZAP.


    FULL PACKAGE 3
    --------------
    This is the complete development package and is available to
    registered users only. The owner's identification (usually the
    company name and address) is encoded into the programs.

        README.TXT      Release notes
        INSTALL.EXE     Installs the package on a hard disk
    (*) PCDSETUP.DAT    Configuration data and registered user's key
        P3E$219A.ZAP    Compressed file containing:
          PCD.EXE         Main menus
          PCD.HLP         Help texts for main menus
          SEDIT.EXE       Instruction list editor
          SEDIT.HLP       Help texts for SEDIT
          SEDIT.OVL       Overlay for SEDIT
        P3E$219B.ZAP    Compressed file containing:
          SASM.EXE        Assembler
          SBUG.EXE        Debug program
          SBUG.HLP        Help texts for SBUG
          SBUG.DBA        Default batch file for SBUG
        P3E$219C.ZAP    Compressed file containing:
          SDNLD.EXE       Downloader
          SUPLD.EXE       Uploader
          SPROM.EXE       EPROM programming utilities
          SPROM.HLP       Help texts for SPROM
          SPROM.TYP       EPROM type data (for ERTEC PGS53 only)
          SGRAF.EXE       Graftec editor
          SGRAF.HLP       Help texts for SGRAF
          SVIEW.EXE       View program
          SVIEW.HLP       Help texts for SVIEW
          SRES.EXE        Resource table generator
        P3E$219D.ZAP    Compressed file containing:
          SFBREF.EXE      FB parameter reference utility
          SDOC.EXE        Documentation generator
          SDISASM.EXE     Disassembler
          SDAT.EXE        Data loader
          SDAT.HLP        Help texts for SDAT
          SDATFORM.EXE    DBK file formatter
          SFILE.EXE       File handling menu
          SFILE.HLP       Help texts for SFILE
          SCONFIG.EXE     Configurator
          SCONFIG.HLP     Help texts for SCONFIG
          PCDCOLOR.DAT    Current colour set data file
          PCDCOLOR.*      Alternative colour set files
          MODEM.DAT       Modem configuration data
          SPHONES.OVL     Phonebook overlay for PCD.EXE
          PHONES.DAT      Example telephone number file
          SCONNECT.EXE    Command-line connect program
          PCDCONV.EXE     PCDMENU.DAT convertor

                                                               Page 14

        Full package 3 - Continued
        -------------------------

        P3E$219E.ZAP
          SLINK.EXE       Linker
          SLOAD.EXE       Up/downloader menu
          SLOAD.HLP       Help texts for SLOAD
          SHELP.EXE       Memory resident pop-up help
          SHELP.HLP       Help texts for SHELP
          ZAP.EXE         File compression utility
          UNZAP.EXE       File decompression utility
          README.EXE      File display utility
          PCDDIAL.SRC     Example PCD modem dialler program

    (*) If upgrading from an old version, PCDSETUP.DAT may not be present.
        If not, then the new package MUST be installed into a directory
        which contains your original PCDSETUP.DAT file, which will be
        converted to the new format by INSTALL.

                                                               Page 15

    7. REVISION HISTORY
    ===================

    7.1  Major differences between V1.7 and V1.8
    ============================================

    General
    -------
    - The "TS delay", "Timeout" and "TN delay", defined on the "Configure/
      Serial ports" screen, are now used for *ALL* S-BUS communications.
      In previous versions they were only used if a public or private line
      modem was being used. These delays may be needed if using repeaters
      on a large local S-BUS network.
    - New "extension memory initialization segment" which can initialize
      RAM extension memory for data stored in EPROM in case of PCD battery
      failure. See SHELP and SPROM help screens.
    - All known errors have been corrected.

    Main menus (PCD.EXE)
    --------------------
    - To clarify the modem dialler connection status, the error messages
      have been improved. The modem response string is also displayed,
      this shows the connection baud rate or error message from the modem.
      It can also be used to verify that the correct response strings have
      been entered in the MODEM.DAT file. For example:
        RESPONSE FROM MODEM: CONNECTED 2400
        RESPONSE FROM MODEM: BUSY
        RESPONSE FROM MODEM: NO CARRIER
    - When dialling via a modem, all command characters echoed back from
      the modem are now ignored, so it doesn't matter if the modem does or
      does not echo command characters. The MODEM.DAT file's "Echo="
      parameter is now not used (ignored if present). However, for this to
      work the modem MUST enclose response messages in <CR><LF> characters
      (all known modems do this), e.g. "<CR><LF>OK<CR><LF>".
    - Foreign characters can now be used in file names, but these are
      always converted to upper case ( -> ,  -> E,  -> U etc) because
      DOS does not allow lower case file names.

    Assembler (SASM)
    ----------------
    - New $NOXINIT..$ENDNOXINIT directives, to control the new "extension
      memory initialization segment". See SHELP and SPROM help screens.
    - New $WARNING directive. Generates a user defined warning message,
      which does not prevent the creation of the OBJect file.
    - New formats for SASI, SCON, STXM and SRXM instructions to support
      Profibus.
    - Two pre-defined symbols have been added: _BLOCKNUM_ and _BLOCKTYP_.
      These are defined by SASM and are assigned values at assembly time.
      SEDIT also supports these pre-defined symbols, and SEDIT and SDOC
      also assign fixed automatic comments to them. In SEDIT, the pre-
      defined symbols can be referenced and added to the resource table,
      but their values and automatic comments cannot be changed, and they
      are not defined in the SRC file when it is saved. A 'P' is shown in
      the scope column on SEDIT's resource menu to indicate a pre-defined
      symbol.

                                                               Page 16

      Excerpt from SASM.DOC:
      SASM defines some useful symbols internally. These can be referenced
      by the user program as normal symbols, with some restrictions: they
      cannot be made public, and cannot be used in EQUate statements (they
      *can* be used in DEFine statements). Using a pre-defined symbol in
      the wrong place gives an "Illegal use of reserved word" error.
      _BLOCKNUM_      The number of the current block, or -1 (0FFFFFFFFH)
                      if outside a block.
                      E.g.    PB  123               PB  123
                              LD  R 0               LD  R 0
                                  _BLOCKNUM_   -->      123
                              EPB                   EPB
      _BLOCKTYP_      The type of the current block:
                      -1 = outside block (0FFFFFFFFH), 0 = COB, 1 = XOB,
                      2 = PB, 3 = FB, 4 = IST, 5 = ST,  6 = TR
    - New "/Iincdir" switch. This allows an include file directory name
      to be entered, which is searched when looking for $INCLUDE files.
      Up to ten "/Iincdir" switches can be entered. For example, this
      defines three directories C:\TOM, D:\FUPLA and E:\LIB:
        SASM FRED /Ic:\tom /Id:\fupla/Ie:\lib
      Directories are examined in this order:
        1) Current directory if the $INCLUDE file name has no directory,
           or the directory given in the $INCLUDE file name.
        2) Each /Iincdir directory name is then searched, in the order
           they were entered on the command line.
        3) Finally the PCD directory given by the "SET PCD=" environment
           string is searched.
    - The /TEMP switch now causes 1st pass code to be placed in a temporary
      file (SASMCODE.$$$), so SASM uses less memory and can assemble even
      larger files. This is particularly useful if assembling large files
      containing many macros, such as files generated by the FUPLA editor
      (SFUP).

    Code editor (SEDIT)
    -------------------
    - Now creates backup files. The old file is renamed to "filename.BAK"
      so it is not overwritten when the edited file is saved.

    Data transfer program (SDAT)
    ----------------------------
    - Can now be executed from the DOS prompt, to save data defined on the
      command line, without being menu-driven:
      Usage: SDAT [filename[.DBK] [data...]] [/Rnnn] [/Innn]
      Where: filename = Save/load file name, default type = ".DBK"
             data     = Defines data to be saved, if blank then the file
                        is loaded.
                        Format:  <type><start>[-<end>][units]
                        type   = R|C|O|F|DB
                                 (C=counters/timers, O=inputs/outputs)
                        start  = start address
                        end    = end address
                        units  = D|H|F (Decimal, Hex, Floating point) for
                                 R|C|DB
             /Rnnn      nnn = values per line for R|T|C|DB (default=5)
             /Innn      nnn = values per line for I|O|F    (default=10)
      E.g.   SDAT DATA.001 R0-4095 F0-8191 C0-1599 /R50 /I100
      SDAT without "filename" or "data..." params for menu-driven version.

                                                               Page 17

    EPROM programmer (SPROM)
    ------------------------
    - Now creates and programs the new "extension memory initialization
      segment" into EPROM. This is used to initialize extension memory
      (RAM) if the battery fails and extension memory data is lost. See
      SPROM help texts for details, and the new $NOXINIT..$ENDNOXINIT
      assembler directives.
    - Before programming EPROMs or generating HEX files a new screen is
      now displayed. This screen shows the configuration which will be
      programmed into EPROM (PCD type, memory map and S-BUS configuration).
      The user can then check the configuration is correct before pressing
      ENTER to continue. If the configuration is not correct, ESCape can
      be pressed to abort, and the configuration can be corrected using
      "Configure" screens.
    - NOTE: The ERTEC PGS-49 firmware version 5.1 does not work correctly.
      If you have this version, please contact ERTEC or you SAIA sales
      representative for a firmware upgrade.

    View program (SVIEW)
    --------------------
    - New "sTructure Cob" and "sTructure Xob" commands, so the the Bloctec
      structure of an XOB can be displayed.

    Up/downloaders (SLOAD, SUPLD, SDNLD)
    ------------------------------------
    - The downloader now displays the S-BUS configuration when S-BUS is
      configured (SDNLD /S).
    - Loader menus: Added "F2=Show configuration" so that the configuration
      can be viewed if required before allocating memory or configuring
      S-BUS.

    Resource table generator (SRES)
    ------------------------------
    - For the graphical format listing of elements and blocks, unused items
      beyond the last item are not listed anymore. This saves space in the
      .RES file or printout.

    Graftec editor (SGRAF)
    ----------------------
    - A new error has been added when the user reaches the maximum number
      of elements per page (512):
        ERROR 73: MAXIMUM NUMBER OF ELEMENTS PER PAGE REACHED
    - In V1.7 it was not possible to link a branch another branch on the
      left. This is now possible, and the problems of representation of
      structures containing left-linked branches are solved.
    - Pressing F1 when the user edit the program of an element using the
      built-in code editor calls the index page of SHELP.

    Configurator (SCONFIG)
    ----------------------
    - The "Break length" has now been removed from the "Configure/Modem
      type" screen, and the "Break=" parameter is not used from the
      MODEM.DAT file anymore (ignored if present). "Break length" has been
      added to the "Configure/Serial ports" screen, and this value is now
      stored in the PCDSETUP.DAT file.
    - The "Modem echoes commands" Yes/No parameter has been removed from
      the "Modem type" menu. This is not needed anymore.

                                                               Page 18

    Install program (INSTALL)
    -------------------------
    - An example PHONES.DAT file is now included in the package. INSTALL
      does not install this if a PHONES.DAT file already exists, existing
      PHONES.DAT files are not overwritten.

                                                               Page 19

    7.2  Major differences between V1.8 and V1.9
    ============================================

    General
    -------
    - Two new modem types in the modem configuration file MODEM.DAT.
      This file is installed in place of the original MODEM.DAT file,
      and the original file is renamed to MODEM.OLD.
    - New "Starter Package" available, with restricted user program sizs.
    - Packages can no longer be ordered on 360KB 5.25" diskettes.
    - All file name entry fields now allow file names larger than the
      entry field, up to 128 characters. These fields can now be scrolled
      left and right with the arrow, HOME and END keys. <- or -> is shown
      to indicate that characters are out of the field.
    - New PCD instructions are supported.
    - Password mechanism. This uses a user-defined password which forces
      reduced protocol communications with the PCD when it is active.
      When active, only media read/write telegrams are accepted. This
      prevents users from examining the code, text and data blocks,
      and disables all machine control commands.
      When an online utility is started, and the password is active,
      an "enter password" window is displayed so that the password can
      be given to enable full protocol communications. The password is
      defined by using SBUG's "Write passWord" commands.

    Main menus (PCD.EXE)
    -------------------
    - The "coNnect" menu can now select the S-BUS signalling mode from the
      "Protocol" switch, which now has these positions:
            P800
            S-BUS MODE 1 (PARITY)
            S-BUS MODE 0 (BREAK)
    - The "coNnect" menu now processes some function keys for short-cut
      configuration:
            F3 = Configure S-BUS (runs SCONFIG)
            F4 = Download S-BUS  (runs SDNLD /S)
            F5 = Configure serial ports (runs SCONFIG)
            F6 = Select modem (runs SCONFIG)
    - If the S-BUS station is set to 255, then a "read station number"
      telegram is broadcast to all stations on the S-BUS network. If
      only one station exists, it will respond with its station number,
      which is then filled in on the menu, and is automatically connected.
      This is useful if the station number is unknown. If more than one
      station responds, an "INVALID RESPONSE" error will occur. Note
      that the stand-alone SCONNECT.EXE program has also been updated to
      include this feature.
    - The "Connect" menu now has a new "AUTO-ANSWER MODE" command. See
      PCDMENU.DOC or the help screens for details.
      File PCDDIAL.SRC contains example PCD source code of a dialler
      so that a PCD can dial and connect to the personal computer when
      it is in auto-answer mode.
    - Any "RINGING" response from the modem is now ignored, and is not
      compared with the "Ok" and "Connected" response strings.
    - Slow PCs sometimes lost the first character of the modem response,
      particularly if the modem responded very quickly. The code has now
      been improved so that this doesn't happen, even on slow PCs (tested
      at 6MHz, 9600 baud).

                                                               Page 20

    Assembler (SASM)
    ----------------
    - Supports all the new PCD instructions.
    - $INIT..$ENDINIT sections are now allowed outside a block.
    - Jump labels are now local to each $INIT..$ENDINIT section, even if
      there are multiple $INIT sections in a single macro. Labels in the
      macro are also local, and cannot be seen by statements in the $INIT
      section.
    - The $REPORT, $ERROR and $WARNING statements can now evaluate and
      output an expression containing symbols and operators. The
      expression must be delimited between @...@ characters, so that
      SASM can determine what is text and what is the expression to be
      evaluated. Full expression evaluation is supported.
      E.g.     FRED    EQU     R 10
               TOM     EQU     FRED+1
               $REPORT TOM is @TOM@, same as @FRED+1@
      Outputs: TOM is R 11, same as R 11
    - Forward references are not allowed in conditional $IF statements.
      This prevents a statement being TRUE on the first pass of the
      assembler, and FALSE on the second pass (or vice-versa). This
      usually caused a "pass 2 phase error". This fatal error occurs:
       Fatal Error 14: Symbol in $IF not defined: <symbol>
    - Macro replacement was carried out on macro parameter names appearing
      in the $ERROR, $WARNING, $TITLE and $STITLE directives if the
      directive was used inside a macro.
      e.g.  FRED MACRO TOM
            $WARNING TOM IS HERE
            ENDM
            ...
            FRED SMITH      ---> $WARNING SMITH IS HERE
            ...
      Macro replacement in these directives is now disabled unless the
      macro parameter name is enclosed in @..@ characters, which cause
      the expression between them to be evaluated.
    - Texts can now contain formatted absolute R/T/C/I/O/F addresses.
      This is useful in macros so the parameter can be either a symbol
      or an absolute address. Note that there must be a space between
      the mc and the address, e.g. "R 100" not "R100" (which would be
      interpreted as a symbol).
      e.g.        TEXT TOTO "ABCDE$", R 100.04T
      generates   TEXT TOTO "ABCDE$R0100"
    - Added $FATAL <message> directive, which generates a fatal error and
      exits SASM. E.g. "Fatal Error 20: FRED.SRC: Line 123: <message>".

    Linker (SLINK)
    --------------
    - Can now link up to 75 modules (was max. 50).

                                                               Page 21

    Program EPROMs (SPROM)
    ----------------------
    - Function keys are now used as short-cut keys to display SCONFIG
      configuration screens: F2=Hardware and memory, F3=S-BUS, F4=PCD
      modem.
    - Now programs into EPROM the "PCDReset" and "PCDInit" strings
      defined in MODEM.DAT and selected from the new "Configure/Modem
      for SAIA PCD" screen.
    - Has a new "verify configuration" prompt to give the user the
      opportunity to verify and change the configuration before prog-
      ramming the EPROMs. The "check configuration" screen has been
      removed.
      VERIFY CONFIGURATION: Press F2, F3 then F4, ENTER accepts, ESC
      aborts.
    - Now programs the gateway configuration into EPROM or hex files.
      This is defined on the "Configure/Gateway master port" screen,
      and is displayed by pressing F6.
    - Added "F7=Password" hot key for password and inactivity timeout
      entry for programming into EPROM.

    FB parameter checker (SFBREF)
    -----------------------------
    - It was possible to create an invalid Graftec structure if editing
      SBs by hand, where an ST or TR's incoming/outgoing parameter list
      referenced an ST or TR in another SB. The RSB instruction could
      also reference steps which were not in the SB to be restarted.
      SASM/SLINK only checks if each referenced ST/TR exists, they do
      NOT check which SB it is in.
      Checks of the Graftec structure have now been added to the SFBREF
      program, which is run automatically after linking by SLINK. The
      "Check FB parameters" switch on the "Link/Make" menu has been
      changed to "Check Blocktec/Graftec". SFBREF checks that all
      referenced STs and TRs are in the correct SBs, and will issue one
      of these error messages:
      Error 41: Addr <n>: Step ST <st> not in SB <sb>
      Error 42: Addr <n>: Transition TR <tr> not in SB <sb>

    Debugger (SBUG)
    ---------------
    - In trace, the TFR instruction operands are now shown without the
      index register being added. The TFRX instruction now indexes the 1st
      operand if the *destination* is a TEXT/DB, or indexes the 2nd operand
      if the *source* is a TEXT/DB.
    - Now fully supports NUL <0> characters in texts 4000 to 7999. (Texts
      0..3999 cannot contain NUL because it's the end-of-text character).
    - New "Display data-Block ... Refresh" command. Data block elements
      can now be displayed in the refresh window. E.g. "Display data-Block
      <number> Element <number> To/Count <number> Refresh". The "Element"
      keyword must be used.
    - The arithmetic flags, index register and block are now shown beside
      the instruction when in stop or conditional stop.
      NOTE: These are the values BEFORE the instruction has been executed.
      In Trace, these are the values AFTER the instruction has been
      executed.

                                                               Page 22

    - New "broAdcast" command added, to send broadcast commands to ALL
      stations on an S-BUS network:
          broAdcastWriteOutput<number>0|1
                           Flag
                           Register<number><value>
                           CounterĴ
                           Timer
                           clocK
                    Run-all-cpus
                    Stop-all-cpus
                    rEstart-cold-all-cpus
                    run-Xob17
                                 18
                                 19
    - If an "index overflow" error occurs during a "Trace", then the trace
      now continues instead of being aborted. This allows XOB 12 to be
      traced through.
    - New "Run Xob 17|18|19" command (S-BUS only), to force execution of
      the new interrupt XOBs 17, 18 or 19. New PCD firmware is required.
      With old firmware, a "NAK response" error occurs.
    - New "Write s-bUs-station" command. This changes only the station
      number of the connected PCD, and can be done via an S-BUS or a
      P800 connection. It works with both old and new firmware, but
      works in slightly different ways.
      OLD FIRMWARE: The station number in the S-BUS header is updated,
      and a restart cold is done. This works only with RAM memory which
      is not write protected.
      NEW FIRMWARE: The station number in the mailbox (always RAM) is
      updated, and no restart is done. This works even if the PCD contains
      EPROM or write protected RAM.
      If using S-BUS, an error message is issued if the station number
      is already in use.
    - "Display s-bUs" now shows the gateway configuration, if present.
    - New "Write passWord" command for password entry and definition.
    - At start-up SBUG now displays the communications protocol, port and
      baud rate being used, even if it can't connect.
      e.g. COMMUNICATIONS: P800, 9600 Baud, COM2
    - If a single ST or TR was downloaded when the PCD was in Run, and
      that ST or TR was active, the PCD's internal tables were not
      properly updated, causing graftec processing to fail. If the ST or
      TR was not active, then it worked properly. SBUG has been modified
      so that STs and TRs cannot be downloaded if the PCD is in Run, and
      afterwards a "restart cold" must be done to re-build the PCD's
      internal tables.
    - Updated the  "File Load <filename> Cob/Xob/Pb/Fb..." command.
      Before downloading a single block into a CPU, SBUG checks that
      the block does not contain calls to undefined blocks (e.g. CFB
      123 when FB 123 does not exist), and does not reference undefined
      texts and DBs (e.g. STXT .. 100 when text 100 doesn't exist).
      If it does, SBUG now issues a fatal error if the CPU is in Run.
      If not in Run, SBUG now issues a warning message, and prompts the
      user:
          WARNING 80: REFERENCED BLOCK NOT DEFINED: CFB 123
          ABORT, CONTINUE OR IGNORE (A, C OR I) ? _
      Pressing 'A' aborts without downloading the block, 'C' continues,
      'I' continues and ignores any other undefined block references.

                                                               Page 23

    - The "Display cpu-Status" command has now been updated to show the
      firmware versions of each CPU, including the LAN co-processor and
      the PCD8.P800, if present. This is useful for technical support.
    - New "File Get-pcdsetup" command which reads the PCD configuration
      from the connected PCD and writes it to the PCDSETUP.DAT file in
      the current directory. See SBUG.DOC or the help screens for
      details.
    - When downloading a program, a "restart warm" is now done at the
      start of the download, rather than a "restart cold". A "restart
      cold" is only done at the end of the download, which resets all
      the outputs. This means that outputs are not reset until the end
      of the download.

    Code editor (SEDIT)
    -------------------
    - Now handles assembler directives $IFINC..$ENDIF and $IFNINC..$ENDIF.
      These can be used around $INCLUDE statements for conditional
      inclusion of symbol files, if required. No other $IFxxx directives
      are processed by SEDIT, these are only processed by the assembler.
    - Illegal operands (e.g. STH F Tom+Dick+10) are now highlighted as
      invalid lines. If this occurs in an EQU statement, then the EQU is
      ignored and the symbol is added to the resource table without a type
      and value.
    - A warning message is now issued to prevent resources being deleted
      when editing an ST or TR from SGRAF. It is possible to delete
      resources which are not referenced by code in the module being
      edited, but used resources cannot be deleted. It is therefore
      possible to delete resources which are not used in the ST or TR
      being edited, but ARE used by other STs or TRs in the module.
      A message is now displayed to warn the user:
       WARNING 90: RESOURCE(S) MAY BE USED IN OTHER STEPS/TRANSITIONS

    Graftec editor (SGRAF)
    ----------------------
    - The global (PUBL) and external (EXTN) symbols defined in a GRAFTEC
      source file are available in the resource table of SEDIT when the
      user edits an element with SEDIT.
    - It is now possible to delete pages with the "Delete" menu. The user
      can select a sequence with one or several macro-steps and delete it.
      Remarks:
      * If a page is deleted, all subpages of this page are also deleted.
      * If a single page is deleted, the macro-step is replaced by a step.

    Configurator (SCONFIG)
    ----------------------
    - The PCD's S-BUS PGU port's signalling mode (Break/Parity) can now
      be selected from the SCONFIG's "S-BUS communications" menu.
    - SCONFIG now has a new menu called "Modem for SAIA PCD", and the
      original "Modem type" menu has been renamed to "Modem for PC".
      The "Modem for SAIA PCD" selects the "PCDReset" and "PCDInit"
      strings for the PCD's extended header. SDNLD now downloads these
      when a "CONFIGURE S-BUS" operation is done.
    - The "Modem for PC" screen now shows two new strings for modem
      configuration: "Auto-answer on" and "Auto-answer off". These are
      for the new "auto-answer mode" feature added to the main menu's
      "coNnect" screen.

                                                               Page 24

    - New "Gateway master port" configuration screen.
    - Added "US Robotics Courier" and "ZYXEL U-1496 Series" modem
      definitions to the distribution MODEM.DAT file.
      NOTE: The install program renames an existing MODEM.DAT file to
      MODEM.OLD, so that custom modem definitions can be retrieved if
      necessary.
    - If the PCDCOLOR.DAT file in the PCD Programming Utilities directory
      was read only, because it was on a network drive or had the read-
      only attribute set, then SCONFIG did not issue an error message if
      it tried to update PCDCOLOR.DAT when the color set was changed
      (sometimes a brief "Access denied" message displayed by DOS was
      visible).
      SCONFIG now checks for this an issues "ERROR 27: ACCESS TO MASTER
      PCDCOLOR.DAT FILE DENIED", and the prompt "Create PCDCOLOR.DAT file
      in the current directory (Y or N) ?" is displayed. This creates a
      PCDCOLOR.DAT file in the current directory which is used instead
      of the one in the main PCD programming utilities directory.

    Up/downloader (SLOAD, SDNLD)
    ----------------------------
    - Function keys are now used as short-cut keys to display SCONFIG
      configuration screens: F2=Hardware and memory, F3=S-BUS, F4=PCD
      modem.
    - The "Verify during download" switch position is now saved in the
      PCDMENU.DAT file.
    - SDNLD now downloads the "PCDReset" and "PCDInit" strings defined
      in MODEM.DAT and selected from the new "Configure/Modem for SAIA
      PCD" menu.
    - The "CONFIGURE S-BUS" command now writes the gateway configuration
      to the PCD. This is defined on the "Configure/Gateway master port"
      screen, displayed by pressing F6.
    - When downloading a program, a "restart warm" is now done at the
      start of the download, rather than a "restart cold". A "restart
      cold" is only done at the end of the download, which resets all
      the outputs. This means that outputs are not reset until the end
      of the download.

    Connect program (SCONNECT)
    --------------------------
    - The SCONNECT.EXE program, which is a DOS command line replacement
      for the "coNnect" menu, now has two extra switches for selecting
      the S-BUS signalling mode, the default is /S1:
            /S1 = use "parity" signalling, mode S1
            /S0 = use "break" signalling,  mode S0
    - Added port override and baud rate select switches. If the S-BUS
      station is set to 255, then a "read station number" telegram is
      broadcast to all stations on the S-BUS network. If only one station
      exists, it will respond with its station number, and SCONNECT will
      automatically connect to it. This is useful if the station number
      is unknown. If more than one station replies, an "invalid response"
      error will occur.

                                                               Page 25

    Data transfer (SDAT)
    --------------------
    - The number of values per line in the .DBK file can now be defined on
      the SDAT menu.
    - A new program called SDATFORM.EXE has been written. This converts a
      .DBK file into a user-defined format for reading by a database or
      spreadsheet package (e.g. Excel). Invocation is:

    SDATFORM delimiter infile[.DBK] [outfile[.OUT]] [switches]

    delimiter Character(s) to delimit data values. Can be any ASCII
              characters (except NUL 0), or these escape sequences:
              \n  Line feed         \s    Space
              \r  Carriage return   \nnn  Char code in decimal, e.g. \10
              \t  Tab               \xnn  Char code in hex, e.g. \x0A
              For Excel, use ";". Enclose < > or | in quotes, e.g. "|".
    infile    Input file name, default extension .DBK
    outfile   Optional output file name, default extension .OUT, if not
              given then "infile.OUT" is used.
    switches  /NC  No comments       /NL  No linefeeds at end of each line
              /NB  No blank lines    /NT  No ':' address terminators
              /NA  No addresses      /NS  No DB sizes, e.g. DB 0 [9]:=DB 0:
              /ND  No trailing delimiter at end of line
              /LD  Leading delimiter at start of line

    Resource table generator (SRES)
    -------------------------------
    - All registers affected by SHIU/SHID/ROTU/ROTD instructions are now
      shown in the resource list. Previously only the first and last
      registers were shown.

    Compression utility (ZAP V1.2)
    ------------------------------
    - ZAP can now process files of zero length. In V1.1 this caused a
      "fatal internal error" message.

    Decompression utility (UNZAP V1.2)
    ----------------------------------
    - Added a /W switch to UNZAP. When present, UNZAP will warn and prompt
      the user before overwriting an existing file:
          CRUD.MUK
          File exists, overwrite (Yes/No/All)? _
      Answering 'Y' overwrites the file, answering 'N' skips that file,
      'A' will overwrite all existing files (turns off the /W switch).

    View program (SVIEW)
    --------------------
    - Changed the command key for "coNnect" (N) to "cOnnect" (O) to match
      SBUG's "cOnnect" command.

                                                               Page 26

    7.3  Major differences between V1.9 and V2.0
    ============================================

    General
    -------
    - New "PGU MODE" communications, which replaces P800 mode. This
      first attempts to connect using S-BUS, 9600 baud, station 254.
      If this fails it then tries P800 protocol. Initially only the
      PCD1 firmware will support this, but P800 mode will eventually be
      removed from all PCD types.
    - Full support for PCD1.
    - When a filename is entered on a menu, it is now checked for 8+3
      characters, and so are directory names.
      E.g. 12345678.123 is valid, 123456789.123 is invalid,
           12345678.1234 in invalid.
      These checks are NOT done for the command-line utilities SASM,
      SLINK etc.
    - Added SASII and SCONI instructions.

    Assembler (SASM)
    ----------------
    See SASM.DOC and SHELP's help texts for details of these changes.
    - New $ONERROR assembler directive which defines a text to be output
      if an error occurs. Format: $ONERROR <text>
      The text is output immediately after the error message when an
      error occurs. The text is displayed on the console, appears in the
      listing file, and is written to the SASM.ERR log file preceded by
      "$ONERROR". The "on error" text remains valid until the next
      $ONERROR statement. If there is no text after $ONERROR then the on
      error text is cleared. The <text> can contain expressions or macro
      parameter references, enclosed in @..@ characters. The expression
      is evaluated and the resulting text is used.
      To place an @ character in the text, use @@.
          e.g. $ONERROR In FB 100  ; "In FB 100" is shown on the next
               STH     Q 100       ; line after any error message.
               $ONERROR            ; This removes the on error text.
               STH     Q 100
    - External symbols can now be given a type.
          e.g. EXTN FRED R, TOM T
    - Added /$Ifilename command line switch, which includes $include
      file "filename" at the start of the source module.
    - In assembler instructions it is now possible to enter contants
      without the 'K'. The 'K' is filled in automatically. Also works
      for SLINKed externals. SBUG also allows K to be dropped.
          e.g. CMP R 0     ->    CMP  R 0
                   1234               K 1234
    - Symbol names are now shown in error messages where a symbol is
      undefined etc.
    - The ';' character in a $REPORT directive's text was treated as the
      start of a comment, and all text after it was ignored. Comments are
      not allowed after $REPORT directives anymore, ALL characters until
      the end of the line are now taken as the $REPORT text. The same is
      true for $TITLE, $SUBTITLE, $ERROR etc.

                                                               Page 27

    Assembler (SASM) continued
    --------------------------
    - Added $IFTYPE and $ELSEIFTYPE directives, which test a symbol's type.
      The expression can contain = (is equal to) or <> (is not equal to):
        e.g. $IFTYPE Fred = R      ;if symbol is a register
             ..
             $ELSIFTYPE Fred <> T  ;if symbol is not a timer
             ..
             $ENDIF
    - 'K' can now be used to remove a symbol's type, so that a typed
      symbol can be used as a constant. This works in all instructions
      where a K can be used.
         e.g. Symbol EQU R 123
              CMP     R 100
                      K Symbol     ;'K' overrides the 'R' type
              LD      R 100
                      Symbol       ;this already works
              LD      R 100
                      K Symbol     ;you can do this too
    - Inputs and outputs can now be configured as separate types, and
      the I or O type is retained. Previously, these were converted
      into one I|O type when listed by SDOC (there are I/O cards where
      both share the same address). I|O is still supported as a
      separate composite type. Note that the disassembler does not know
      it it's I or O (this data is not in the PCD's memory), and still
      produces I|O.
    - New $STATION and $CPU directives for defining the destination
      S-BUS station and CPU number.
    - New $PCDVER directive for defining the earliest firmware versions
      on which a program can run.

    Code editor (SEDIT)
    -------------------
    - Now supports up to 5000 symbols, was max. 4000.

    Debugger (SBUG)
    ---------------
    See SBUG's help texts fopr details.
    - New PGU mode auto-connect mechanism now trys both protocols (S-BUS
      then P800) alternately if SBUG is off line. This is only done for
      PGU mode, NOT for S-BUS modes.
    - New "File set-load-Option" command for setting the "clear outputs"
      option. Also added a "Run all CPUs: Yes/No" option.
    - The PCD1 now has EEPROM registers known as "nonvolatile registers".
      Added "Write nonVolatile-register" and "Display nonVolatile-
      register" commands to SBUG. These only work for the PCD1.

    Main menus (PCD.EXE)
    --------------------
    - S-BUS can now be configured via an S-BUS connection from the CONNECT
      menu, see description for Up/downloader menu below.

                                                               Page 28

    Up/downloader menu (SLOAD.EXE)
    ------------------------------
    - S-BUS can now be configured via an S-BUS connection. If the station
      number, baud rate or parity/break signalling mode is changed, the
      PG3 switches to the new settings and stays connected to the PCD.
      If the PGU port number or public line modem is changed, the PCD
      will go off line (it is not possible to stay connected), but a
      warning is shown before this is done and the user can abort.
    - Added new "UPLOAD PCD SETUP" and "DOWNLOAD PCD SETUP" commands.
      SUPLD has a new /SETUP switch. See SLOAD's help texts for details.
      for details.

    Downloader (SDNLD.EXE)
    ----------------------
    - Now has new /CO (ClearOutputs, the default) and /NCO (NoClear
      Outputs) switches.
    - Now displays the status of all CPUs after the download (Run/Stop/
      Halt etc.) so the user can see whether the CPU was put back into
      Run or not (by the /R, /RA switches).

    Documentation Generator (SDOC)
    ------------------------------
    - $INIT segments are now listed in the .DOC files, with their actual

    Linker (SLINK)
    --------------
    - The $INIT segment start address for each module is now shown in
      the .MAP file, along with the total $INIT segment size.

                                                               Page 29

    7.4  Major differences between V2.0 and V2.1
    ============================================

    - The new S-BUS Data Mode is supported.
    - Direct communications between PC/104 and PCD2.M220 using dual-
      port RAM, select "PC/104" as the S-BUS port from the "Configure/
      Serial ports for PC" screen.
    - Support for the new PCD6.M3 processor. This has 4 serial channels
      0..3 (like the PCD6.M2) and also has a PGU port which is called
      channel 4, this can be used as a general-purpose channel if
      required.
    - The PCD1 can now have extension memory, holding texts/DBs 4000..
      4999.
    - Improved "coNnect" menu. This will now automatically connect to
      an S-BUS station in break, parity or data mode. The mode and
      station number do not need to be entered. See help text for
      details.
    - The "coNnect" menu's phonebook now allows up to 300 telephone
      numbers in PHONES.DAT, using the new SPHONES.OVL overlay module.
    - Added "Serial port for S-BUS MODEM connection" to the Config-
      urator's "Serial ports for PC" menu. Different ports can now be
      assigned for direct S-BUS and S-BUS MODEM connections, as
      selected from the "coNnect" menu.
    - Support for 112KB FLASH EPROM in PCD1 and PCD2.
    - The MODEM.DAT file has two new entries, which control whether the
      public-line modem supports S-BUS Break mode and/or Parity mode.
      these are by default BreakMode=Yes, ParityMode=No. To use parity
      mode, you must put ParityMode=Yes and BreakMode=No into your
      MODEM.DAT file for your modem type.
    - The PCD2 now supports 512KB RAM or EPROM chips.
    - Week of year calculations now conform to ISO 8601 (week 1 of
      1998 now starts on 29-Dec-97 instead of 5-Jan-98).

                                                               Page 30

    7.5  Major differences between V2.1 and $219
    ============================================

    - Improved dual-port RAM communications for the PCD2.M220 with
      integrated PC/104.
    - Support for 4MBit (512K Byte) Flash EPROMs in the PCD2.
    - The downloader SDNLD and SBUG can now create the Extension
      Memory Initialization (EMI) segment if the PCD contains Flash
      EPROM.
    - There is a new "Extension memory init seg." field on the
      "Configure/Hardware and memory" screen (hidden if there's no
      extension memory). This field allows the EMI segment type to
      be selected (Normal/Compact/None).
    - The downloader SDNLD has two new command-line switches to
      control the EMI segment, /CEMI = compact EMI segment, /NEMI =
      no EMI segment, these match the configurator's "Extension memory
      init seg." field settings "Compact" and "None", the default is
      "Normal".
    - The EPROM Programmer (SPROM) also uses this field's setting when
      programming the EMI segment into EPROM. SPROM's command-line
      switches /NX and /CX can still be used to override this setting.
    - Accepts channel numbers 8 and 9 in communications instructions
      (SASI, SCON etc.) for Profibus DP.
    - The downloader SDNLD has new /STN=n switch, for defining a dest-
      ination S-BUS station number from the command line.




    *** END README.TXT ***
