/***************************************************************************/ /***** portable Virtual Device Interface ***********************************/ /***************************************************************************/ /*#include */ /***** initialization ******************************************************/ #define GLPHnote "Glyphs pVDI (Line-A graphics) v1.0" typedef struct { int id; } Glyph; Glyph glyphTable[] = { {0}, }; GLPHinit (args) va_list args; { write (1, "\033E", 2); } GLPHexit () { write (1, "\033E", 2); } /***** input ***************************************************************/ int GLPHgetch () { return (getch ()); } /***** output **************************************************************/ GLPHprint (fmt, args) char *fmt; va_list args; { vprintf (fmt, args); } GLPHclear () { write (1, "\033E", 2); } GLPHrefresh () { } GLPHmove (y, x) int y, x; { printf ("\033Y%c%c", y + 32, x + 32); }