I cut a piece of perfboard to fit in place of the original PCB and wired everything point-to-point with wirewrap wire. The wiring is fairly simple; nearly everything is wired to the PIC. The Keyboard also need a ground reference, +5v for the power light, and a connection to the Apple's reset line. There's code that looks at RE1 to see if the reset key is pressed along with CTL, and grounds RE2 to reset the Apple, but I'm not currently using it. I put a 10uF electrolytic cap between +5v/Gnd. PIC18F48K22 wiring ------------------ 1 /MCLR - N/C 2 RA0 - Apple 12 B1/D0 3 RA1 - Apple 13 B2/D1 4 RA2 - Apple 10 B3/D2 5 RA3 - Apple 11 B4/D3 6 RA4 - Apple 6 B5/D4 7 RA5 - Apple 5 B6/D5 8 RE0 - N/C (X8 - future numeric keypad) 9 RE1 - N/C (future KB 22 /Reset in) 10 RE2 - N/C (future Apple 3 /Reset out) 11 VDD - Apple 1 +5v 12 VSS - Apple 8 Gnd 13 RA7 - Apple 2 Strobe 14 RA6 - Apple 7 B7/D6 15 RC0 - N/C (future Lowercase switch) 16 RC1 - N/C (future REPT key) 17 RC2 - KB 24 and tie high Shift Keys 18 RC3 - KB 3 and KB 21 and tie high CTL Key 19 RD0 - KB 17 X0 20 RD1 - KB 14 X1 21 RD2 - KB 13 X2 22 RD3 - KB 11 X3 23 RC4 - KB 16 and tie high Y8 24 RC5 - KB 18 and tie high Y9 25 RC6 - N/C (serial TX) 26 RC7 - N/C (serial RX) 27 RD4 - KB 2 X4 28 RD5 - N/C (X5 - future numeric keypad) 29 RD6 - N/C (X6 - future numeric keypad) 30 RD7 - N/C (X7 - future numeric keypad) 31 VSS - Apple 8 Gnd 32 VDD - Apple 1 +5v 33 RB0 - KB 5 Y0 34 RB1 - KB 6 Y1 35 RB2 - KB 7 Y2 36 RB3 - KB 8 Y3 37 RB4 - KB 9 Y4 38 RB5 - KB 10 Y5 39 RB6 - KB 12 Y6 40 RB7 - KB 15 Y7 Additional KB wiring -------------------- KB 22 /Reset - Apple 3 /Reset KB 4 +5v - Apple 1 +5v KB 23 Gnd - Apple 8 Gnd