home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / develop / adev11 / prog / customize
Text File  |  1995-02-27  |  2KB  |  46 lines

  1. A programmer file is an ASCII file that contains strings and format characters
  2. that describe how to pass information to a programmer.  Each line is
  3. associated with a particular function or class of functions as specified in
  4. the list below:
  5.  
  6.   ProgrammerName    The name of the manufacturer and model of programmer
  7.   Prompt        The character or characters that prompt the user
  8.   Error            The string that the programmer sends when an error occurs
  9.   BlankCheckOn        Prefix for a blank check command
  10.   BlankCheckOff        Suffix for a blank check command
  11.   VerifyOn        Prefix for a verify command
  12.   VerifyOff        Suffix for a verify command
  13.   ProgramDeviceOn    Prefix for a program command
  14.   ProgramDeviceOff    Suffix for a program command
  15.   ReadDeviceOn        Prefix for a device read command
  16.   ReadDeviceOff        Suffix for a device read command
  17.   SetDeviceOn        Prefix for a device select command
  18.   SetDeviceOff        Suffix for a device select command
  19.   SetLowAddrOn        Prefix for a low address command
  20.   SetLowAddrOff        Suffix for a low address command
  21.   SetHighAddrOn        Prefix for a high address command
  22.   SetHighAddrOff    Suffix for a high address command
  23.   SetOffsetOn        Prefix for a offset command
  24.   SetOffsetOff        Suffix for a offset command
  25.   SetSerialOn        Prefix for a serial configure command
  26.   SetSerialOff        Suffix for a serial configure command
  27.   GetStatusOn        Prefix for a status read command
  28.   GetStatusOff        Suffix for a status read command
  29.  
  30. Many of the string can have format strings applied to them.  The purpose of
  31. this is best conveyed by an example.  Assume that you have a programmer that
  32. sets the type of the device to be programmed with the command:
  33.   TYPE <type_code>
  34. the prefix string would be:
  35.   TYPE %c
  36. and the suffix string would not be required, so it would be a blank line.
  37. SProg inserts the device type code in place of the format command.  Format
  38. commands are always a % followed by a single character.
  39.  
  40. The format commands are:
  41.   %c - type_code from the device database
  42.   %l - low_address
  43.   %h - high_address
  44.   %o - offset
  45.   %s - serial setup string for A.R.T.
  46.