Skip to navigation

Elite on the BBC Micro

Keyboard: FLKB (6502SP version)

Name: FLKB [View in context] Type: Subroutine [Compare versions] Category: Keyboard Summary: Flush the keyboard buffer
.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