A page from my notebook while I was working out what the pins from the CPU do. The K numbers refer to the keyboard. XTAL and YTAL are the pins for the crystal oscillator (the clock).