/************************************************************************************************\ |* C function to get a byte over the serial port *| \************************************************************************************************/ GetByte() { int status; status = peekb(REG_BASE + SCSR); while(!(status & 0x20)) { status = peekb(REG_BASE + SCSR); } #asm JSR HOSTCO JSR ONSCI JSR INSCI STAA _iRetVal #endasm }