/* @data - not used, needed to match interface Return: - byte read or 0 on error  */
static u8 read_console(void *data)
/* @data - not used, needed to match interface Return: - byte read or 0 on error  */
static u8 read_console(void *data)
{
	int ch;
	ch = getc();
	if (ch < 0)
		ch = 0;
	return ch;
}