/* (c) Marietta Systems, Inc. 1987 * All rights reserved * * demonstration program for functions disp_msg, disp_err, disp_qry */ #include "mtest.h" void main(){ int m = 1; KEYMATCH[4] = 0XFC00; KEYMATCH[5] = 0X1; /* show F3 - F9 */ clr_scrn("Disp_xxx test"); while (m) { disp_err(" Example of error message",1500); disp_msg(" Press any key to continue",1); read_kb(); disp_msg(" Example of message",36); disp_err(" Press any key to continue",1036); read_kb(); disp_msg(NULL, 0); disp_err(" Note message blanked, press key",1); read_kb(); disp_err(NULL, 0); m = disp_qry(" Do you want to do it again"); } goodbye(0); }