Pinout of the cart slot:
This wasn't overly planned – ie: it is not designed to be reversible; if you plug cart in backwards, may Crom have mercy on your soul.
Notice the design restraints:
Schematic of the cart for a AT28C256 (32KB eeprom):
PCBs have been made for this design.. moved to this page here