mirror of
https://github.com/rzzzwilson/pymlac.git
synced 2025-06-10 09:32:41 +00:00
42 lines
410 B
C
Executable File
42 lines
410 B
C
Executable File
/*
|
|
* Implementation for the vimlac TTY output device.
|
|
*/
|
|
|
|
#include "vimlac.h"
|
|
#include "ttyout.h"
|
|
|
|
|
|
/*****
|
|
* constants for the TTYOUT device
|
|
******/
|
|
|
|
|
|
/*****
|
|
* State variables for the TTYOUT device
|
|
******/
|
|
|
|
static bool flag; /* true if char ready to read */
|
|
|
|
|
|
void
|
|
ttyout_clear_flag(void)
|
|
{
|
|
flag = false;
|
|
}
|
|
|
|
|
|
void
|
|
ttyout_send(BYTE ch)
|
|
{
|
|
return;
|
|
}
|
|
|
|
|
|
bool
|
|
ttyout_ready(void)
|
|
{
|
|
return flag;
|
|
}
|
|
|
|
|