/*version 0.00 */
#include "assign.os"
#include "c:switch.os"

helpmsg()
{
int 	i;
#define last 19

static CHAR *left[] = {
#ifdef cpm80

" -HiNet or HARD DISK assignments:-----$",
"| ASSIGN <drive letter> <partition> W $",
"|                                     $",
"| where:                              $",
"|  <drive letter> = A,B,C, or D       $",
"|  <partition>    = hard disk or HiNet$",
"|                   partition name.   $",
"|  W (optional)   = write ownership   $",
"|                                     $",
"|-Assignment save/restore:------------$",
"|                                     $",
"| ASSIGN S <filename>                 $",
"| ASSIGN R <filename>                 $",
"|                                     $",
"|-Write ownership:--------------------$",
"| ASSIGN W <drive letter> ...         $",
"|-------------------------------------$",
"| For a list of CURRENT assignments   $",
"| enter only:  ASSIGN                 $",
"|_____________________________________$",

#else

	" -HiNet assignments:------------------$",
	"| ASSIGN <drive letter> <partition> W $",
	"|                                     $",
	"| where:                              $",
	"|   <drive letter> = A,B,C,...,H      $",
	"|   <partition>    = HiNet partition  $",
	"|                    name.            $",
	"|   W (optional)   = write ownership  $",
	"|                                     $",
	"|-Assignment save/restore:------------$",
	"|                                     $",
	"| ASSIGN S <filename>                 $",
	"| ASSIGN R <filename>                 $",
	"|                                     $",
	"|-Write ownership:--------------------$",
	"| ASSIGN W <drive letter> ...         $",
	"|-------------------------------------$",
	"| For a list of CURRENT assignments   $",
	"| enter only:  ASSIGN <cr>            $",
	"|_____________________________________$",
#endif
	"\0" };

static CHAR *right[] = {
#ifdef cpm80

"--FLOPPY DISK assignments:--------------\r\n$",
"| ASSIGN <driveletter> <density><number>|\r\n$",
"|                                       |\r\n$",
"| where:                                |\r\n$",
"|  <driveletter> = A,B,C, or D          |\r\n$",
"|  <density> = S for single density 8\"  |\r\n$",
"|            = D for double density 8\"  |\r\n$",
"|            = M for minifloppy 5\"      |\r\n$",
"|  <number>  = drive #  (from 0 to 7)   |\r\n$",
"|                                       |\r\n$",
"| Example: A>ASSIGN B D1                |\r\n$",
"|                                       |\r\n$",
"| This assigns CP/M drive B to the 2nd  |\r\n$",
"| double density floppy diskette.       |\r\n$",
"|---------------------------------------|\r\n$",
"| PRINTER assignments:  ASSIGN P <ptr>  |\r\n$",
"| where:                                |\r\n$",
"|   <ptr> = PORT0, PORT1, PORT2, PORT3  |\r\n$",
"|     PORTF, PORTP, SPOOL, or CUSTOM    |\r\n$",
"|_______________________________________|\r\n$",
#else

	"---------------------------------------- \r\n$",
	"| Memory Drive assignment:              |\r\n$",
	"|                                       |\r\n$",
#ifdef cpm86
	"| ASSIGN <CP/M-drive> ULTRA0            |\r\n$",
	"|                                       |\r\n$",
	"| If sufficient RAM is available, half  |\r\n$",
	"| of it will be used to simulate a high |\r\n$",
	"| speed disk drive. You must save Ultra0|\r\n$",
	"| contents to hard disk BEFORE unassign,|\r\n$",
	"| reset, or logoff, or it will be LOST. |\r\n$",
#else
	"| Create a CONFIG.SYS file with the line|\r\n$",
	"| 'DEVICE=ULTRAxxx', where xxx = 100,   |\r\n$", 
	"| 360, 740, or 870 kilobytes. Login with|\r\n$",
	"| that file in drive A, and drive I will|\r\n$",
	"| be the  Memory Drive.  MS-DOS cannot  |\r\n$",
	"| unassign this drive.  Memory Drive    |\r\n$",
	"| contents are LOST upon reset or logoff|\r\n$",
#endif
	"|---------------------------------------|\r\n$",
	"| Drive assignment removal:             |\r\n$",
	"|                                       |\r\n$",
	"| ASSIGN <drive letter> U:              |\r\n$",
	"|---------------------------------------|\r\n$",
	"| PRINTER assignments:  ASSIGN P <ptr>  |\r\n$",
	"| where:                                |\r\n$",
	"|   <ptr> =  PORT2, PORT3, PORTP, SPOOL |\r\n$",
	"|            (PORTP not allowed on 5086)|\r\n$",
	"|_______________________________________|\r\n\n$",
#endif
	"\0" };

	i = 0;
	while( i <= last)
		{
		displays( left[ i] );
		displays( right[ i] );
		i++;
		};
}
