Prev: 91E2 Up: Map Next: 9356
933E: Routine at 933E
Used by the routines at 8D06, 91E2 and A0F8.
933E 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
9340 OUT ($FD),A
9342 IN A,($FE)
9344 CPL Flip the bits.
9345 AND %00000001 Keep only bit 0.
9347 JR Z,$9350 If the result is zero jump to 9350.
9349 LD A,($5E5D) A=5E5D.
934C AND A If A is not zero then jump to 9354.
934D JR NZ,$9354
934F INC A Increment A by one.
9350 LD ($5E5D),A Write A to 5E5D.
9353 RET Return.
9354 XOR A A=00.
9355 RET Return.
Prev: 91E2 Up: Map Next: 9356