#include <stdbool.h>
#include <devtty.h>
#include <device.h>
-#include <vt.h>
#include <tty.h>
#include <devdw.h>
#include <ttydw.h>
-#include <graphics.h>
#undef DEBUG /* UNdefine to delete debug code sequences */
#undef MC09_VIRTUAL_IN
#endif
-#define VSECT __attribute__((section(".video")))
-#define VSECTD __attribute__((section(".videodata")))
-
-
-
-uint8_t vtattr_cap;
-
-
uint8_t tbuf1[TTYSIZ]; /* virtual serial port 0: console */
uint8_t tbuf2[TTYSIZ]; /* serial port 1: UART */
uint8_t tbuf3[TTYSIZ]; /* drivewire VSER 0 */
ttyready_t tty_writeready(uint8_t minor)
{
- // [NAC HACK 2016Jul27] do I need to wait for the DW uart? Maybe I do..
uint8_t c;
if ((minor < 1) || (minor > 2)) {
return TTY_READY_NOW;
leay ,x ; return checksum in Y
puls cc,x,u,pc ; restore registers and return
-rxTimout clra ; represents CC.C=0
+rxTimout clra ; represents CC.C=0, CC.Z=0
bra rxExit