;====================================================================== ; SERIAL PORT - TRANSMISSION TO HOST include common.inc code ;---------------------------------------- serial_addbyte ; W byte to xmit to host trashed ; FSR0 any set for serial_addbyte_another ; outbuf, outmsg_* buffer not full adjusted appropriately ; STATUS any trashed ; all others any not interfered with ; mov_lfsr outbuf, 0 mov_ff outmsg_end, FSR0L ;... serial_addbyte_another ; W byte to xmit to host trashed ; FSR0 from _addbyte[_another] updated for ..._another again ; outbuf, outmsg_* buffer not full adjusted appropriately ; STATUS any trashed ; all others any not interfered with ; mov_wf POSTINC0 bc_f FSR0L, 7 mov_fw FSR0L mov_wf outmsg_end cmp_fw_ifne outmsg_begin return ; too many panic morse_HB ;====================================================================== include final.inc