1 Decoded Scan Mode in 8279
2
3 The Decoded Scan Mode is another operational mode of the Intel 8279 Keyboard/Display Controller, specifically for handling
keyboard inputs. In this mode, the 8279 directly outputs the row and column signals of the pressed key, allowing external
decoding circuits to identify the specific key in the matrix.
4 How Decoded Scan Mode Works
5
6 Keyboard Matrix Scanning:
7 The 8279 scans the rows and columns of a keyboard matrix sequentially using its internal scan counter.
8 For an N×M keyboard matrix, the rows are driven one at a time, while the columns are monitored to detect key presses.
9
10 Row and Column Output:
11 When a key is pressed, the row and column corresponding to that key are output directly by the 8279.
12 The row signal is output in decoded form (one row is activated at a time).
13 The column signal is presented as input to the 8279 and needs external circuitry (like a priority encoder) to
determine the specific column.
14
15 Key Detection:
16 The row and column signals are sent to external decoding logic (e.g., a priority encoder or multiplexer) to identify
the specific key pressed.
17
18 Interrupt Handling:
19 When a key is detected, the 8279 can generate an interrupt to notify the CPU.