you connect an external ram and a decoder to it or an FPGA with a rom programed.
connect an external ram and a decoder to it.
FPGA or ram and demultiplexer
| # | Input | Output |
|---|---|---|
| 0 | clock | pc[0]/c |
| 1 | reset | pc[1]/c |
| 2 | in1 | pc[2]/c |
| 3 | in2 | pc[3]/c |
| 4 | in3 | pc[4]/c |
| 5 | in4 | pc[5]/c |
| 6 | in5 | pc[6]/c |
| 7 | in6 | pc[7]/c |