home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / sys / io / cnconf.c next >
Encoding:
C/C++ Source or Header  |  1989-01-11  |  1.8 KB  |  69 lines

  1. /* 
  2.  *      %Z% %M% %I% %D% %Q%
  3.  *
  4.  *      Copyright (C) The Santa Cruz Operation, 1987, 1988.
  5.  * 
  6.  *      This Module contains Proprietary Information of the Santa
  7.  *      Cruz Operation and should be treated as confidential. 
  8.  *
  9.  */
  10.  
  11. #include "../h/types.h"
  12. #include "../h/map.h"
  13. #include "../h/vid.h"
  14.  
  15. struct mapent    cnmement[MAXSCRN+1];
  16. struct map    cnmemmap = {0, MAXSCRN+1, cnmement};
  17.  
  18. extern int monoinit(), monoinitscreen();
  19. extern void monoscroll(), monocopy(), monoclear();
  20. extern void monopchar(), monoscurs(), monosgr();
  21. extern int monoioctl(), monoadapctl();
  22.  
  23. extern int cgainit(), cgainitscreen();
  24. extern void cgascroll(), cgacopy(), cgaclear();
  25. extern void cgapchar(), cgascurs(), cgasgr();
  26. extern int cgaioctl(), cgaadapctl();
  27.  
  28. extern int egainit(), egacmos(), egainitscreen();
  29. extern void egascroll(), egacopy(), egaclear();
  30. extern void egapchar(), egascurs(), egasgr();
  31. extern int egaioctl(), egaadapctl();
  32.  
  33. extern int vgainit(), vgacmos(), vgainitscreen();
  34. extern void vgascroll(), vgacopy(), vgaclear();
  35. extern void vgapchar(), vgascurs(), vgasgr();
  36. extern int vgaioctl(), vgaadapctl();
  37.  
  38. extern int nulldev();
  39.  
  40. struct adapter cn_adapsw[MAXADAPTERS] = {
  41.     {
  42.         "mono", MONO, 0, 0, 0,
  43.         monoinit, nulldev, monoinitscreen,
  44.         monoscroll, monocopy, monoclear, monopchar, monoscurs,
  45.         monosgr, monoioctl, monoadapctl
  46.     },
  47.     {
  48.         "cga", CGA, 0, 0, 0,
  49.         cgainit, nulldev, cgainitscreen,
  50.         cgascroll, cgacopy, cgaclear, cgapchar, cgascurs,
  51.         cgasgr, cgaioctl, cgaadapctl
  52.     },
  53.     {
  54.         "vga", VGA, 0, 0, 0,
  55.         vgainit, vgacmos, vgainitscreen,
  56.         vgascroll, vgacopy, vgaclear, vgapchar, vgascurs,
  57.         vgasgr, vgaioctl, vgaadapctl
  58.     },
  59.     {
  60.         "ega", EGA, 0, 0, 0,
  61.         egainit, egacmos, egainitscreen,
  62.         egascroll, egacopy, egaclear, egapchar, egascurs,
  63.         egasgr, egaioctl, egaadapctl
  64.     },
  65.     {
  66.         (char*) 0
  67.     }
  68. };
  69.