Prev: 93E8 Up: Map Next: 9466
945C: Test Action Key
Return non-zero when FULL-STOP or Z (action) is held.
Output
A Zero if the action key is not pressed
TestActionKey 945C LD A,$7E Read from the keyboard;
Port Number Bit
0 1 2 3 4
7E SPACE FULL-STOP M N B
Shift Z X C V
945E OUT ($FD),A
9460 IN A,($FE)
9462 CPL Flip the bits.
9463 AND %00000010 Keep only bit 1.
9465 RET Return.
Prev: 93E8 Up: Map Next: 9466