1 static volatile char *data
= (char *)(0x20);
2 static volatile char *control
= (char *)(0x24);
4 extern void _outb (volatile char*, unsigned char);
5 extern unsigned char _inb (volatile char*);
8 read_scc_reg (unsigned char n
)
14 static void write_scc_data (unsigned char n
)
20 _write (int dev
, void *buf
, unsigned int len
)
23 char *string
= (char*)buf
;
25 for (i
= 0; i
< len
; i
++)
29 for (j
= 0 ; j
< 5000; j
++)
31 write_scc_data (string
[i
]);