1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00
2015-10-16 10:27:28 +07:00

42 lines
395 B
C
Executable File

/*
* Implementation for the vimlac KB device (keyboard).
*/
#include "vimlac.h"
#include "kb.h"
/*****
* constants for the KB device
******/
/*****
* State variables for the PTR device
******/
static bool flag; /* true if char ready to read */
void
kb_clear_flag(void)
{
flag = false;
}
BYTE
kb_get_char(void)
{
return ' ';
}
bool
kb_ready(void)
{
return flag;
}