AY-5-3600 keyboard ROM matrix mapping ===================================== X0 X1 X2 X3 X4 X5 X6 X7 X8 +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Y0 S | ! | @ | # | $ | % | ^ | & | * | ( | - | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | &11 | &17 | &05 | &12 | &14 | &19 | &15 | &09 | &0F | Y1 S | Q | W | E | R | T | Y | U | I | O | - | q | w | e | r | t | y | u | i | o | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | &01 | &13 | &04 | &06 | &07 | &08 | &0A | &0B | &0C | Y2 S | A | S | D | F | G | H | J | K | L | - | a | s | d | f | g | h | j | k | l | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | &1A | &18 | &03 | &20 | &16 | &02 | &0E | &0D | , | Y3 S | Z | X | C | &20 | V | B | N | M | < | - | z | x | c | SPC | v | b | n | m | , | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | &09 | &1E | - | &18 | &03 | : | = | / | . | Y4 S | &09 | &1E | = | &18 | &03 | * | = | ? | > | - | &09 | &1E | - | &18 | &03 | : | = | / | . | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | H | % | $ | &0D | } | > | < | ' | ; | Y5 S | H | % | $ | &0D | } | > | < | " | : | - | H | % | $ | &0D | } | > | < | ' | ; | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | + | &0D | L | &1B | &1D | ; | &10 | &0A | ] | Y6 S | + | ] | L | { | } | + | P | &0A | [ | - | + | m | L | [ | ] | ; | p | &0A | ] | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | &0E | &0F | &1F | &0B | &1F | &00 | 0 | = | &1F | Y7 S | > | &0F | &1F | &0B | = | &00 | ) | + | _ | - | &0E | &0F | &1F | &0B | _ | &00 | 0 | = | - | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | &00 | &0E | &06 | &07 | ) | * | & | &0C | 0 | Y8 S | @ | ^ | & | ' | ) | * | & | < | 0 | - | p | n | 6 | 7 | ) | * | & | &0C | 0 | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ C | &01 | &02 | &7F | " | &20 | ! | # | ( | ) | Y9 S | ! | " | [ | " | &20 | ! | # | ( | ) | - | 1 | 2 | k | " | SPC | ! | # | 8 | 9 | +-----+-----+-----+-----+-----+-----+-----+-----+-----+ X0 X1 X2 X3 X4 X5 X6 X7 X8