xref: /csrg-svn/usr.bin/window/tttvi925.c (revision 62467)
118758Sedward /*
2*62467Sbostic  * Copyright (c) 1983, 1993
3*62467Sbostic  *	The Regents of the University of California.  All rights reserved.
433514Sbostic  *
542954Sbostic  * This code is derived from software contributed to Berkeley by
642954Sbostic  * David Barto at Celerity Computer Corp.
742954Sbostic  *
842835Sbostic  * %sccs.include.redist.c%
918758Sedward  */
1018758Sedward 
1133514Sbostic #ifndef lint
12*62467Sbostic static char sccsid[] = "@(#)tttvi925.c	8.1 (Berkeley) 06/06/93";
1333514Sbostic #endif /* not lint */
1433514Sbostic 
1518211Sedward #include "ww.h"
1618211Sedward #include "tt.h"
1718211Sedward 
1818211Sedward /*
1918211Sedward  * Televideo 925 as emulated by Microterm.
2018211Sedward  */
2118211Sedward 
2218211Sedward #define G (WWM_GRP << WWC_MSHIFT)
2318211Sedward short tvi925_frame[16] = {
2418211Sedward 	' ',	'~'|G,	'|'|G,	'c'|G,
2518211Sedward 	'~'|G,	'~'|G,	'`'|G,	'e'|G,
2618211Sedward 	'|'|G,	'a'|G,	'|'|G,	'g'|G,
2718211Sedward 	'b'|G,	'f'|G,	'h'|G,	'd'|G
2818211Sedward };
2918211Sedward 
tt_tvi925()3018211Sedward tt_tvi925()
3118211Sedward {
3218211Sedward 
3318211Sedward 	if (tt_generic() < 0)
3418211Sedward 		return -1;
3518211Sedward 	tt.tt_availmodes |= WWM_GRP;
3618211Sedward 	tt.tt_frame = tvi925_frame;
3718211Sedward 	return 0;
3818211Sedward }
39