Skip to navigation

Demo: PressMissileKey

[Elite Demonstration Disc]

Name: PressMissileKey [Show more] Type: Subroutine Category: Demo Summary: "Press" a key by populating the key logger directly
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * Main flight loop (Part 11 of 16) calls PressMissileKey * TACTICS (Part 6 of 7) calls PressMissileKey

Arguments: A The internal key number to be "pressed"
\ --- Mod: Code added for Demonstration Disc: ---------> .PressMissileKey ORA #%10000000 \ Set bit 7 of the key that we need to "press", so that \ it registers as a key press when we add it to the key \ logger STA KL \ Store the key press in the key logger to "press" the \ specified key RTS \ Return from the subroutine \ --- End of added code ------------------------------->