Example #1
0
void tty_putc(uint8_t minor, unsigned char c)
{
	if (minor == 1) {
		vtoutput(&c, 1);
	} else
		*uart_data = c;	/* Data */
}
Example #2
0
void tty_putc(uint8_t minor, unsigned char c)
{
	if (minor == 2)
		s6402_data = c;
	else
		vtoutput(&c, 1);
}
Example #3
0
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);
}
Example #4
0
File: devtty.c Project: Abioy/FUZIX
void tty_putc(uint8_t minor, unsigned char c)
{
	minor;
	if (minor == 1) {
		vtoutput(&c, 1);
		return;
	}
	uarta = c;
}
Example #5
0
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);
}
Example #6
0
void tty_putc(uint8_t minor, unsigned char c)
{
	minor;
//
//	if (minor == 1) {
		vtoutput(&c, 1);
//		return;
//	}
	tty_debug2 = c;	
}
Example #7
0
void tty_putc(uint8_t minor, unsigned char c)
{
#if 0
	if (minor == 1) {
		vtoutput(&c, 1);
		return;
	}
#endif	
	*uart_data = c;	/* Data */
}
Example #8
0
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;
}
Example #9
0
File: devtty.c Project: 8l/FUZIX
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);
   }
}
Example #10
0
File: devtty.c Project: 8l/FUZIX
void tty_putc(uint8_t minor, unsigned char c)
{
	minor;
	vtoutput(&c, 1);
}
Example #11
0
void tty_putc(uint8_t minor, unsigned char c)
{
	//minor;
	if(minor==1) vtoutput(&c, 1);
	else UART_DAT = c;
}