void tty_putc(uint8_t minor, unsigned char c) { if (minor == 1) { vtoutput(&c, 1); } else *uart_data = c; /* Data */ }
void tty_putc(uint8_t minor, unsigned char c) { if (minor == 2) s6402_data = c; else vtoutput(&c, 1); }
void tty_putc(uint8_t minor, unsigned char c) { minor; /* FIXME: eventually add support for 64x16 text as well */ if (vmode == 0) vtoutput(&c, 1); }
void tty_putc(uint8_t minor, unsigned char c) { minor; if (minor == 1) { vtoutput(&c, 1); return; } uarta = c; }
void tty_putc(uint8_t minor, unsigned char c) { if (minor == 2) tr1865_rxtx = c; else if (minor == 3) vg_tr1865_wrst = c; else vtoutput(&c,1); }
void tty_putc(uint8_t minor, unsigned char c) { minor; // // if (minor == 1) { vtoutput(&c, 1); // return; // } tty_debug2 = c; }
void tty_putc(uint8_t minor, unsigned char c) { #if 0 if (minor == 1) { vtoutput(&c, 1); return; } #endif *uart_data = c; /* Data */ }
void tty_putc(uint8_t minor, unsigned char c) { if (minor == 1) { bugout(c); vtoutput(&c, 1); } else if (minor == 2) dart0d = c; else dart1d = c; }
void tty_putc(uint8_t minor, unsigned char c) { irqflags_t irq; if (minor == 3) tr1865_rxtx = c; else { irq = di(); if (curtty != minor -1) { /* Kill the cursor as we are changing the memory buffers. If we don't do this the next cursor_off will hit the wrong buffer */ cursor_off(); vt_save(&ttysave[curtty]); curtty = minor - 1; vt_load(&ttysave[curtty]); /* Fix up the cursor */ cursor_on(ttysave[curtty].cursory, ttysave[curtty].cursorx); } vtoutput(&c, 1); irqrestore(irq); } }
void tty_putc(uint8_t minor, unsigned char c) { minor; vtoutput(&c, 1); }
void tty_putc(uint8_t minor, unsigned char c) { //minor; if(minor==1) vtoutput(&c, 1); else UART_DAT = c; }