Skip to navigation


Keyboard: KYTB

[Commodore 64 version]

Name: KYTB [Show more] Type: Variable Category: Keyboard Summary: Lookup table for in-flight keyboard controls Deep dive: The key logger
Context: See this variable in context in the source code References: No direct references to this variable in this source file

This table is not used by the Commodore 64 version of Elite, and is left over from the BBC Micro version.
.KYTB RTS ; Return from the subroutine (used as an entry point and ; a fall-through from above) ; These are the primary flight controls (pitch, roll, ; speed and lasers): EQUB $68 + 128 ; ? KYTB+1 Slow down EQUB $62 + 128 ; Space KYTB+2 Speed up EQUB $66 + 128 ; < KYTB+3 Roll left EQUB $67 + 128 ; > KYTB+4 Roll right EQUB $42 + 128 ; X KYTB+5 Pull up EQUB $51 + 128 ; S KYTB+6 Pitch down EQUB $41 + 128 ; A KYTB+7 Fire lasers ; These are the secondary flight controls: EQUB $60 ; TAB KYTB+8 Energy bomb EQUB $70 ; ESCAPE KYTB+9 Launch escape pod EQUB $23 ; T KYTB+10 Arm missile EQUB $35 ; U KYTB+11 Unarm missile EQUB $65 ; M KYTB+12 Fire missile EQUB $22 ; E KYTB+13 E.C.M. EQUB $45 ; J KYTB+14 In-system jump EQUB $52 ; C KYTB+15 Docking computer EQUB $37 ; P KYTB+16 Cancel docking computer