28 #include "copyright.h" 42 Console(
char *readFile,
char *writeFile, VoidFunctionPtr readAvail,
43 VoidFunctionPtr writeDone,
int callArg);
66 VoidFunctionPtr writeHandler;
68 VoidFunctionPtr readHandler;
bool Feof()
Console::Feof Initialize the simulation of a hardware console device.
Definition: console.cc:161
void PutChar(char ch)
Console::PutChar() Write a character to the simulated display, schedule an interrupt to occur in the ...
Definition: console.cc:146
void CheckCharAvail()
Console::CheckCharAvail() Periodically called to check if a character is available for input from the...
Definition: console.cc:89
~Console()
Console::~Console Clean up console emulation.
Definition: console.cc:69
Console(char *readFile, char *writeFile, VoidFunctionPtr readAvail, VoidFunctionPtr writeDone, int callArg)
Console::Console Initialize the simulation of a hardware console device.
Definition: console.cc:41
char GetChar()
Console::GetChar() Read a character from the input buffer, if there is any there. Either return the c...
Definition: console.cc:131
The following class defines a hardware console device. Input and output to the device is simulated by...
Definition: console.h:40
Miscellaneous useful definitions, including debugging routines.
void WriteDone()
Console::WriteDone() Internal routine called when it is time to invoke the interrupt handler to tell ...
Definition: console.cc:117