Programming/Assembly
| The Plus/4 Keyboard controler | | $FE | $FD | $FB | $F7 | $EF | $DF | $BF | $7F | | $FE/$01 | ins/del | 3 | 5 | 7 | 9 | Down | Right | 1 (one) | | $FD/$02 | Return | w | r | y | i | p | * | Clr/Home | | $FB/$04 | Pound | a | d | g | j | l | ] | Control's | | $F7/$08 | Help/F7 | 4 | 6 | 8 | 0 | Up | Left | 2 | | $EF/$10 | F1/F4 | z | c | b | m | > | Escape | Space | | $DF/$20 | F2/F5 | s | f | h | k | [ | = | Commodore | | $BF/$40 | F3/F6 | e | t | u | o | - | + | q | | $7F/$80 | @ sign | Shift Keys | x | v | n | < | / | Run/Stop |
Check if space key is pressed
LDA #$7F Check column 7 STA $FD30 Write to Keyboard Matrix STA $FF08 Write to Keyboard Latch LDA $FF08 Read from Keyboard Latch AND #$10 Query keyboard for "Space" BNE not_pressed space is pressed not_pressed
Keyboard Matrix |