This is an ascii pinout of the main CPU created from jwdonaldson's schematic.
.----------.
VCC |1 59| VCC
VCC |34 85| VCC
| |
XIN |48 78| RAMSEL
RESET |50 77| ROMSEL
HBLANK |43 92| CPURD
VBLANK |44 91| CPUWR
JPIO7 |23 17| CA23
JPIO6 |25 16| CA22
JPIO5 |24 15| CA21
JPIO4 |23 14| CA20
JPIO3 |22 13| CA19
JPIO2 |21 12| CA18
JPIO1 |20 11| CA17
JPIO0 |19 10| CA16
4017.D4 |31 9 | CA16
4017.D3 |30 8 | CA14
4017.D2 |29 7 | CA13
4017.D1 |28 6 | CA12
4017.D0 |27 5 | CA11
4016.D1 |33 4 | CA10
4016.D0 |32 3 | CA9
JPCLK2 |36 2 | CA8
JPCLK1 |35 100| CA7
JPOUT2 |39 99| CA6
JPOUT1 |38 98| CA5
JPOUT0 |37 97| CA4
REFRESH |40 96| CA3
DRAMMODE |49 95| CA2
NMI |45 94| CA1
IRQ |46 93| CA0
ABORT |76 68| PARD
DMA |70 69| PAWR
CPUSK |71 58| PA7
SYSCK |72 57| PA6
R/W |80 56| PA5
ALCK |88 55| PA4
VP |89 54| PA3
VDA |87 53| PA2
VPA |86 52| PA1
XF |84 51| PA0
MF |83 67| D7
ML |82 66| D6
TCKSEL1 |42 65| D5
TCKSEL0 |41 64| D4
TM |73 63| D3
HVCMODE |74 62| D2
HALT |75 61| D1
RDY |81 60| D0
| |
GND |18 79| GND
GND |47 90| GND
.----------.