Skip to navigation

Elite on the BBC Micro

Keyboard: FLKB [Elite-A, Parasite]

Name: FLKB [Show more] Type: Subroutine Category: Keyboard Summary: Flush the keyboard buffer
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * EQSHP calls FLKB * MT26 calls FLKB * TT208 calls FLKB * TT219 calls FLKB
.FLKB LDA #15 \ Call OSBYTE with A = 15 and Y <> 0 to flush the input TAX \ buffers (i.e. flush the operating system's keyboard JMP OSBYTE \ buffer) and return from the subroutine using a tail \ call