1 /*
2  *   Creation Date: <2004/08/28 17:29:43 greg>
3  *   Time-stamp: <2004/08/28 17:29:43 greg>
4  *
5  *	<vfd.c>
6  *
7  *	Simple text console
8  *
9  *   Copyright (C) 2004 Greg Watson
10  *
11  *   This program is free software; you can redistribute it and/or
12  *   modify it under the terms of the GNU General Public License
13  *   as published by the Free Software Foundation
14  *
15  */
16 
17 #include "config.h"
18 #include "libopenbios/bindings.h"
19 #include "briq/briq.h"
20 
21 static int vfd_is_open;
22 
23 static int
vfd_init(void)24 vfd_init( void )
25 {
26 	vfd_is_open = 1;
27 	return 0;
28 }
29 
30 void
vfd_close(void)31 vfd_close( void )
32 {
33 }
34 
35 int
vfd_draw_str(const char * str)36 vfd_draw_str( const char *str )
37 {
38 	if (!vfd_is_open)
39 		vfd_init();
40 
41 	return 0;
42 }
43