home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / pocketbk / developmen / s3c111 / SHELL.C < prev    next >
C/C++ Source or Header  |  1994-12-02  |  409b  |  28 lines

  1. /* S3 Users comment in the next line */
  2. /* #define s3 1*/
  3.  
  4.  
  5. #linkpath "a:\c\"
  6. #link "-i0 -om:\img\shell.img shell.o stdio.o"
  7. #run "m:\img\shell.img"
  8.  
  9.  
  10. #include "stdio.h"
  11.  
  12. #define WS_FONT_BASE 0x4000
  13.  
  14. main()
  15. {
  16.  
  17. #ifdef s3
  18.     openshell(WS_FONT_BASE+11,TRUE,FALSE,15,3);
  19. #else
  20.     openshell(WS_FONT_BASE+11,FALSE,FALSE,30,5);
  21. #endif
  22.  
  23.     printf("hello world\n\r");
  24.      fgetc(stdin);
  25.     exit(0);
  26. }
  27.  
  28.