/*--------------------------------------------------------------------- * Screen Handeling * ---------------- */ # include "su3hdr.h" char *heading = "\ Micro-Decision MD-11 SETUP program Rev. 3.0 Copyright 1984\r\n\ Morrow Designs, Inc. San Leandro, CA$"; char *paragraph = "\ This program allows you to change the operating characteristics\r\n\ of your Micro-Decision. The changes can be made temporarily or permanently.$"; unsigned char *baudname[] = { " 110 baud$", " 300 baud$", " 600 baud$", " 1200 baud$", " 2400 baud$", " 4800 baud$", " 9600 baud$", "19200 baud$", }; unsigned char *pname [] = { "PRINTER / MODEM $", "CENTRONICS PARALLEL$", }; unsigned char *protoname [] = { "X-ON / X-OFF $", "HARDWARE HANDSHAKING ON PIN 20$", }; /* -------------------------------------------------------------------- * Print the Main Menu * ------------------- */ mainmenu () { static char s; s = 0; clear (); set_cursor (s++); prs (heading); set_cursor (s++); prs (paragraph); set_cursor (s++); prs ("A) Terminal speed$"); set_cursor (s++); prs (baudname [cbaud]); set_cursor (s++); prs ("B) Printer connection$"); set_cursor (s++); prs (pname[ptype]); set_cursor (s++); prs ("C) Printer / Modem speed $"); set_cursor (s++); prs (baudname [pbaud]); set_cursor (s++); prs ("D) Printer / Modem protocol$"); set_cursor (s++); prs (protoname [protocol]); set_cursor (s++); prs ("E) Make temporary changes effective immediately.$"); set_cursor (s++); prs ("F) Save changes on CP/M disk for use after next boot.$"); set_cursor (s++); prs ("ESC) Quit without making any further changes.$"); selection (); } selection () { set_cursor (SELECTSPOT); prs ("Selection: $"); }