home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 309_01 / test.c < prev    next >
Text File  |  1990-03-20  |  651b  |  27 lines

  1. #include startup.h
  2.  
  3. #include headers\hercs.h
  4. #include headers\acia.h
  5. #include headers\dioboard.h
  6.  
  7. #code
  8. main()
  9. {
  10.         char ch, ch1;
  11.         initvideo();
  12.         initacia();
  13.         initdio();
  14.         ch1 = 0;
  15.         while( 1 ) {
  16.                 writeattr("This is bold text",BOLD);
  17.                 writeln(" ");
  18.                 for( ch = 'a'; ch <= 'z'; ch++) {
  19.                         writecharattr(ch, REVERSE);
  20.                         writeleds(ch);
  21.                         putchar(ch);
  22.                         writeseg( ch1 ); ch1++;
  23.                         if( ch1 > '9' ) ch1 = '0';
  24.                 }
  25.         }
  26. }
  27.