3 ; Simple polling drivers for ASCI0 and ASCI1
18 ;--------------------------------------------------------------
21 ; TC = (f PHI /(2*baudrate*Clock_mode)) - 2
23 ; TC = (f PHI / (32 * baudrate)) - 2
28 ; Init Serial I/O for console input and output (ASCI1)
45 db 1,stat0,0 ;Disable rx/tx interrupts
46 ;Enable baud rate generator
47 db 1,asext0,M_BRGMOD+M_DCD0DIS+M_CTS0DIS
48 db 2,astc0l,low 28, high 28
49 db 1,cntlb0,M_MPBT ;No MP Mode, X16
50 db 1,cntla0,M_RE+M_TE+M_MOD2 ;Rx/Tx enable, 8N1
54 db 1,stat1,0 ;Disable rx/tx ints, disable CTS1
55 db 1,asext1,M_BRGMOD ;Enable baud rate generator
56 db 2,astc1l,low 3, high 3
57 db 1,cntlb1,M_MPBT ;No MP Mode, X16
58 db 1,cntla1,M_RE+M_TE+M_MOD2 ;Rx/Tx enable, 8N1
62 ;--------------------------------------------------------------