5 ; FIFO channels for communication with avr
7 global ff.init,ff.in,ff.out,ff.i.st,ff.o.st
17 ;--------------------------------------------------------------
22 mkbuf ci.fifo_id, ci.fifo, ci.fifo_len
23 mkbuf co.fifo_id, co.fifo, co.fifo_len
26 ;--------------------------------------------------------------
30 ; Init Serial I/O for console input and output
110 ld c,(ix+o.in_idx) ;19
120 cp (ix+o.out_idx) ;19
122 ld (ix+o.in_idx),a ;19
141 ld a,(ix+o.in_idx) ;19
147 ld a,(ix+o.in_idx) ;19
151 cp (ix+o.out_idx) ;19
153 ld (ix+o.in_idx),a ;19