home *** CD-ROM | disk | FTP | other *** search
- /*
- * %Z% %M% %I% %D% %Q%
- *
- * Copyright (C) The Santa Cruz Operation, 1987, 1988.
- *
- * This Module contains Proprietary Information of the Santa
- * Cruz Operation and should be treated as confidential.
- *
- */
-
- #include "../h/types.h"
- #include "../h/map.h"
- #include "../h/vid.h"
-
- struct mapent cnmement[MAXSCRN+1];
- struct map cnmemmap = {0, MAXSCRN+1, cnmement};
-
- extern int monoinit(), monoinitscreen();
- extern void monoscroll(), monocopy(), monoclear();
- extern void monopchar(), monoscurs(), monosgr();
- extern int monoioctl(), monoadapctl();
-
- extern int cgainit(), cgainitscreen();
- extern void cgascroll(), cgacopy(), cgaclear();
- extern void cgapchar(), cgascurs(), cgasgr();
- extern int cgaioctl(), cgaadapctl();
-
- extern int egainit(), egacmos(), egainitscreen();
- extern void egascroll(), egacopy(), egaclear();
- extern void egapchar(), egascurs(), egasgr();
- extern int egaioctl(), egaadapctl();
-
- extern int vgainit(), vgacmos(), vgainitscreen();
- extern void vgascroll(), vgacopy(), vgaclear();
- extern void vgapchar(), vgascurs(), vgasgr();
- extern int vgaioctl(), vgaadapctl();
-
- extern int nulldev();
-
- struct adapter cn_adapsw[MAXADAPTERS] = {
- {
- "mono", MONO, 0, 0, 0,
- monoinit, nulldev, monoinitscreen,
- monoscroll, monocopy, monoclear, monopchar, monoscurs,
- monosgr, monoioctl, monoadapctl
- },
- {
- "cga", CGA, 0, 0, 0,
- cgainit, nulldev, cgainitscreen,
- cgascroll, cgacopy, cgaclear, cgapchar, cgascurs,
- cgasgr, cgaioctl, cgaadapctl
- },
- {
- "vga", VGA, 0, 0, 0,
- vgainit, vgacmos, vgainitscreen,
- vgascroll, vgacopy, vgaclear, vgapchar, vgascurs,
- vgasgr, vgaioctl, vgaadapctl
- },
- {
- "ega", EGA, 0, 0, 0,
- egainit, egacmos, egainitscreen,
- egascroll, egacopy, egaclear, egapchar, egascurs,
- egasgr, egaioctl, egaadapctl
- },
- {
- (char*) 0
- }
- };
-