/*      Title   IBM User Interface help messages  */
/******************************************************************************/
/*                                  MESSAGES                                  */
/*                              Help messages                                 */
/*                                                                            */
/* Project .................... Allpro - Universal Programmer                 */
/* Module ..................... MESSAGES.C                                    */
/* Title ...................... Help Messages                                 */
/* Developing Engineer ........ Robert Aung-Naing                             */
/* Company .................... Logical Devices                               */
/* Revision Level ............. v1.41                                         */
/* Date of Last Revision ...... 05-11-86                                      */
/* Last Revision by ........... RAN                                           */
/* Developing System .......... IBM PC or compatible                          */
/* Target System .............. IBM PC or compatible                          */
/* Language ................... C                                             */
/* Compiler ................... Manx Aztec C v3.20e                           */
/* Compiler Command(s) ........ cc messages                                   */
/*                                                                            */
/* Interpreter ................ none                                          */
/*                                                                            */
/* Synopsis ................... This module provides help messages to be      */
/*                              printed out when calling MENUTRAV function.   */
/*                                                                            */
/* Revision History:                                                          */
/*  v1.41   5-Nov-86            Original version - RAN                        */
/******************************************************************************/


struct menu_struc
{
    char match_char;
    int set_menu_row;
    int set_menu_col;
    int msg_count;
    char    *messages [35];
};

struct menu_struc main_menu_table [] =
{
    { 'd', 1, 1, 2, { "Allows you to select a device",
                      "from those in the library."    }  },

    { 'b', 2, 1, 2, { "Performs a blank check",
                      "on the fuses in the device."   }  },

    { 'l', 3, 1, 3, { "This function reads the contents",
                      "of the selected device and places",
                      "the data in the internal storage."  } },

    { 'p', 4, 1, 5, { "This function writes the contents",
                      "of Allpro's data buffer out to",
                      "the device and burns it's fuses",
                      "accordingly. A verify operation",
                      "is performed automatically." } },

    { 'v', 5, 1, 4, { "This function allows you to",
                      "verify that devices (that do NOT",
                      "have the security fuse burned)",
                      "match the contents of the data buffer."  } },

    { 's', 6, 1, 5, { "This allows you to prevent anyone",
                      "(including YOU!) from examining the",
                      "contents of the device. It can no",
                      "longer be read or verified. It is",
                      "now truly a 'black box' device."  } },

    { 'e', 1, 2, 2, { "This allows you to examine or modify",
                      "the contents of the fuse map buffer."  } },

    { 'r', 2, 2, 3, { "This allows you to read a file",
                      "containing a record of fuse",
                      "patterns to be burned."  } },

    { 'w', 3, 2, 4, { "This allows you to save the",
                      "contents of the internal buffer",
                      "on diskette for use in duplicate",
                      "or copy operations."      } },

    { 'u', 4, 2, 4, { "Allows you to",
                      " - set library path            ",
                      " - view working directory      ",
                      " - change data initialization  " } },

    { 'f', 5, 2, 4, { "This performs a functional test",
                      "on the device according to the",
                      "test vector records in the",
                      "fuse map file ( .JED file)."  }  },

    { 'q', 6, 2, 1, { "Return to DOS."  } },
    { '\0', 0, 0, 1, { ""  } }
};

struct menu_struc device_menu_table [] =
{  {  'c', 1, 1, 3, { "Allows you to select a",
                      "manufacturer library and",
                      "a device to do operations on." } },

   {  's', 2, 1, 3, { "Allows you to select a",
                      "device after a library",
                      "is selected." } },

   {  ' ', 3, 1, 1, { "" }  },

   {  'r', 4, 1, 1, { "Return to main menu."}  },

   { '\0', 0, 0, 1, { "" }  }
};

struct menu_struc read_file_menu_table [] =
{
    { 'i', 1, 1, 2, { "Read an Intel Hex formatted",
                      "file into internal RAM." } },

    { 'm', 2, 1, 2, { "Read a Motorola Hex formatted",
                      "file into internal RAM." } },

    { 'a', 3, 1, 2, { "Read an ASCII Hex formatted",
                      "file into internal RAM." } },

    { 'j', 4, 1, 2, { "Read a JEDEC formatted",
                      "file into internal RAM." } },

    { 'b', 5, 1, 2, { "Read a Binary file",
                      "into internal RAM." } },

    { 'r', 6, 1, 1, { "Return to main menu." }  },

    { '\0', 0, 0, 1, { "" }  }
};

struct menu_struc write_file_menu_table [] =
{
    { 'i', 1, 1, 2, { "Write Internal RAM into an",
                      "Intel Hex formatted file." } },

    { 'm', 2, 1, 2, { "Write Internal RAM into a",
                      "Motorola Hex formatted file." } },

    { 'a', 3, 1, 2, { "Write Internal RAM into an",
                      "ASCII Hex formatted file." } },

    { 'j', 4, 1, 2, { "Write Internal RAM into a",
                      "JEDEC formatted file." } },

    { 'b', 5, 1, 2, { "Write Internal RAM into a",
                      "Binary file." } },

    { 'r', 6, 1, 1, { "Return to main menu." }  },

    { '\0', 0, 0, 1, { "" }  }
};

struct menu_struc utility_menu_table [] =
{
    { 'v', 1, 1, 4, { "Displays the files in working",
                      "directory. (Download/Upload file",
                      "operations use this directory",
                      "exclusively.)" }  },

    { 's', 2, 1, 3, { "Allows you to enter the",
                      "directory path which contains",
                      "the library files." }  },

    { 'd', 3, 1, 3, { "If data init is on, internal",
                      "RAM will be initialized to",
                      "intact fuse state." }  },

    { 'e', 4, 1, 2, { "Allows you to display and",
                      "modify an existing text file."} },

    { 'r', 5, 1, 1, { "Return to main menu." }  },

    { '\0', 0, 0, 1, { "" }  }
};

struct menu_struc comm_menu_table [] =
{
    { 'a', 1, 1, 3, { "Transfers an ASCII text file",
                      "through the RS-232 asynchronous",
                      "communication line."  }  },

    { 'd', 2, 1, 2, { "Establish communications",
                      "with DEC VAX System." } },

    { 'i', 3, 1, 2, { "Establish communications with",
                      "Intel Micro-development System." } },

    { 'h', 1, 2, 2, { "Establish communications with",
                      "HP Login Development System." } },

    { 'm', 2, 2, 2, { "Establish communications with",
                      "Motorola Development System." } },

    { 'r', 3, 2, 1, { "Return to Main Menu" } }
};
