<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="6.6.0">
<drawing>
<library>
<description>Commodore 64 connectors</description>
<packages>
<package name="CARTRIDGE">
</package>
<package name="CARTRIDGE_SMALL">
</package>
<package name="CONNECTOR">
</package>
<package name="DATASETTE">
</package>
<package name="USERPORT">
</package>
<package name="USERPORT_HOLE">
</package>
<package name="DATASSETTE_HOLE">
</package>
<package name="C16_CARTRIDGE_SMALL">
</package>
</packages>
<symbols>
<symbol name="CARTRIDGE">
<pin name="GND@3" direction="pwr"/>
<pin name="A0" direction="out"/>
<pin name="A1" direction="out"/>
<pin name="A2" direction="out"/>
<pin name="A3" direction="out"/>
<pin name="A4" direction="out"/>
<pin name="A5" direction="out"/>
<pin name="A6" direction="out"/>
<pin name="A7" direction="out"/>
<pin name="A8" direction="out"/>
<pin name="A9" direction="out"/>
<pin name="A10" direction="out"/>
<pin name="A11" direction="out"/>
<pin name="A12" direction="out"/>
<pin name="A13" direction="out"/>
<pin name="A14" direction="out"/>
<pin name="A15" direction="out"/>
<pin name="PHI2" direction="out"/>
<pin name="NMI" direction="in"/>
<pin name="RESET"/>
<pin name="ROMH" direction="out"/>
<pin name="GND@4" direction="pwr"/>
<pin name="GND@2" direction="pwr"/>
<pin name="D0"/>
<pin name="D1"/>
<pin name="D2"/>
<pin name="D3"/>
<pin name="D4"/>
<pin name="D5"/>
<pin name="D6"/>
<pin name="D7"/>
<pin name="DMA" direction="in"/>
<pin name="BA" direction="out"/>
<pin name="ROML" direction="out"/>
<pin name="I/O2" direction="out"/>
<pin name="EXROM" direction="in"/>
<pin name="GAME" direction="in"/>
<pin name="I/O1" direction="out"/>
<pin name="D_CLOCK" direction="out"/>
<pin name="R/W" direction="out"/>
<pin name="IRQ" direction="in"/>
<pin name="5V" direction="pwr"/>
<pin name="5V@1" direction="pwr"/>
<pin name="GND@1" direction="pwr"/>
</symbol>
<symbol name="USERPORT">
<pin name="GND@3"/>
<pin name="PA2"/>
<pin name="PB7"/>
<pin name="PB6"/>
<pin name="PB5"/>
<pin name="PB4"/>
<pin name="PB3"/>
<pin name="PB2"/>
<pin name="PB1"/>
<pin name="PB0"/>
<pin name="!FLAG2"/>
<pin name="GND@4"/>
<pin name="GND@2"/>
<pin name="+9VAC_B"/>
<pin name="+9VAC_A"/>
<pin name="ATN"/>
<pin name="!PC2"/>
<pin name="SP2"/>
<pin name="CNT2"/>
<pin name="SP1"/>
<pin name="CNT1"/>
<pin name="!RESET"/>
<pin name="5V"/>
<pin name="GND@1"/>
</symbol>
<symbol name="DATASETTE">
<pin name="SENSE@2"/>
<pin name="WRITE@2"/>
<pin name="READ@2"/>
<pin name="MOTOR@2"/>
<pin name="5V@2"/>
<pin name="GND@2"/>
<pin name="SENSE@1"/>
<pin name="WRITE@1"/>
<pin name="READ@1"/>
<pin name="MOTOR@1"/>
<pin name="5V@1"/>
<pin name="GND@1"/>
</symbol>
<symbol name="C16_CARTRIDGE">
<pin name="GND" direction="pwr"/>
<pin name="+5V" direction="pwr"/>
<pin name="+5V@1" direction="pwr"/>
<pin name="!IRQ"/>
<pin name="!C1H" direction="out"/>
<pin name="R/!W" direction="out"/>
<pin name="!C2L" direction="out"/>
<pin name="!C2H" direction="out"/>
<pin name="!CS1" direction="out"/>
<pin name="!CS0" direction="out"/>
<pin name="!CAS" direction="out"/>
<pin name="!MUX" direction="out"/>
<pin name="BA" direction="out"/>
<pin name="D7"/>
<pin name="D6"/>
<pin name="D5"/>
<pin name="D4"/>
<pin name="D3"/>
<pin name="D2"/>
<pin name="D1"/>
<pin name="D0"/>
<pin name="AEC" direction="out"/>
<pin name="AUDIO_IN"/>
<pin name="PH2" direction="out"/>
<pin name="GND@1" direction="pwr"/>
<pin name="GND@2" direction="pwr"/>
<pin name="!C1L" direction="out"/>
<pin name="!RESET" direction="out"/>
<pin name="!RAS" direction="out"/>
<pin name="PH0" direction="out"/>
<pin name="A15" direction="out"/>
<pin name="A14" direction="out"/>
<pin name="A13" direction="out"/>
<pin name="A12" direction="out"/>
<pin name="A11" direction="out"/>
<pin name="A10" direction="out"/>
<pin name="A9" direction="out"/>
<pin name="A8" direction="out"/>
<pin name="A7" direction="out"/>
<pin name="A6" direction="out"/>
<pin name="A5" direction="out"/>
<pin name="A4" direction="out"/>
<pin name="A3" direction="out"/>
<pin name="A2" direction="out"/>
<pin name="A1" direction="out"/>
<pin name="A0" direction="out"/>
<pin name="GND@3" direction="pwr"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="CARTRIDGE" uservalue="yes">
<gates>
<gate name="G$1" symbol="CARTRIDGE"/>
</gates>
<devices>
<device name="" package="CARTRIDGE">
<connects>
<connect gate="G$1" pin="5V" pad="3"/>
<connect gate="G$1" pin="5V@1" pad="2"/>
<connect gate="G$1" pin="A0" pad="Y"/>
<connect gate="G$1" pin="A1" pad="X"/>
<connect gate="G$1" pin="A10" pad="M"/>
<connect gate="G$1" pin="A11" pad="L"/>
<connect gate="G$1" pin="A12" pad="K"/>
<connect gate="G$1" pin="A13" pad="J"/>
<connect gate="G$1" pin="A14" pad="H"/>
<connect gate="G$1" pin="A15" pad="F"/>
<connect gate="G$1" pin="A2" pad="W"/>
<connect gate="G$1" pin="A3" pad="V"/>
<connect gate="G$1" pin="A4" pad="U"/>
<connect gate="G$1" pin="A5" pad="T"/>
<connect gate="G$1" pin="A6" pad="S"/>
<connect gate="G$1" pin="A7" pad="R"/>
<connect gate="G$1" pin="A8" pad="P"/>
<connect gate="G$1" pin="A9" pad="N"/>
<connect gate="G$1" pin="BA" pad="12"/>
<connect gate="G$1" pin="D0" pad="21"/>
<connect gate="G$1" pin="D1" pad="20"/>
<connect gate="G$1" pin="D2" pad="19"/>
<connect gate="G$1" pin="D3" pad="18"/>
<connect gate="G$1" pin="D4" pad="17"/>
<connect gate="G$1" pin="D5" pad="16"/>
<connect gate="G$1" pin="D6" pad="15"/>
<connect gate="G$1" pin="D7" pad="14"/>
<connect gate="G$1" pin="DMA" pad="13"/>
<connect gate="G$1" pin="D_CLOCK" pad="6"/>
<connect gate="G$1" pin="EXROM" pad="9"/>
<connect gate="G$1" pin="GAME" pad="8"/>
<connect gate="G$1" pin="GND@1" pad="1"/>
<connect gate="G$1" pin="GND@2" pad="22"/>
<connect gate="G$1" pin="GND@3" pad="Z"/>
<connect gate="G$1" pin="GND@4" pad="A"/>
<connect gate="G$1" pin="I/O1" pad="7"/>
<connect gate="G$1" pin="I/O2" pad="10"/>
<connect gate="G$1" pin="IRQ" pad="4"/>
<connect gate="G$1" pin="NMI" pad="D"/>
<connect gate="G$1" pin="PHI2" pad="E"/>
<connect gate="G$1" pin="R/W" pad="5"/>
<connect gate="G$1" pin="RESET" pad="C"/>
<connect gate="G$1" pin="ROMH" pad="B"/>
<connect gate="G$1" pin="ROML" pad="11"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="SMALL" package="CARTRIDGE_SMALL">
<connects>
<connect gate="G$1" pin="5V" pad="3"/>
<connect gate="G$1" pin="5V@1" pad="2"/>
<connect gate="G$1" pin="A0" pad="Y"/>
<connect gate="G$1" pin="A1" pad="X"/>
<connect gate="G$1" pin="A10" pad="M"/>
<connect gate="G$1" pin="A11" pad="L"/>
<connect gate="G$1" pin="A12" pad="K"/>
<connect gate="G$1" pin="A13" pad="J"/>
<connect gate="G$1" pin="A14" pad="H"/>
<connect gate="G$1" pin="A15" pad="F"/>
<connect gate="G$1" pin="A2" pad="W"/>
<connect gate="G$1" pin="A3" pad="V"/>
<connect gate="G$1" pin="A4" pad="U"/>
<connect gate="G$1" pin="A5" pad="T"/>
<connect gate="G$1" pin="A6" pad="S"/>
<connect gate="G$1" pin="A7" pad="R"/>
<connect gate="G$1" pin="A8" pad="P"/>
<connect gate="G$1" pin="A9" pad="N"/>
<connect gate="G$1" pin="BA" pad="12"/>
<connect gate="G$1" pin="D0" pad="21"/>
<connect gate="G$1" pin="D1" pad="20"/>
<connect gate="G$1" pin="D2" pad="19"/>
<connect gate="G$1" pin="D3" pad="18"/>
<connect gate="G$1" pin="D4" pad="17"/>
<connect gate="G$1" pin="D5" pad="16"/>
<connect gate="G$1" pin="D6" pad="15"/>
<connect gate="G$1" pin="D7" pad="14"/>
<connect gate="G$1" pin="DMA" pad="13"/>
<connect gate="G$1" pin="D_CLOCK" pad="6"/>
<connect gate="G$1" pin="EXROM" pad="9"/>
<connect gate="G$1" pin="GAME" pad="8"/>
<connect gate="G$1" pin="GND@1" pad="1"/>
<connect gate="G$1" pin="GND@2" pad="22"/>
<connect gate="G$1" pin="GND@3" pad="Z"/>
<connect gate="G$1" pin="GND@4" pad="A"/>
<connect gate="G$1" pin="I/O1" pad="7"/>
<connect gate="G$1" pin="I/O2" pad="10"/>
<connect gate="G$1" pin="IRQ" pad="4"/>
<connect gate="G$1" pin="NMI" pad="D"/>
<connect gate="G$1" pin="PHI2" pad="E"/>
<connect gate="G$1" pin="R/W" pad="5"/>
<connect gate="G$1" pin="RESET" pad="C"/>
<connect gate="G$1" pin="ROMH" pad="B"/>
<connect gate="G$1" pin="ROML" pad="11"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="CONNECTOR" package="CONNECTOR">
<connects>
<connect gate="G$1" pin="5V" pad="3"/>
<connect gate="G$1" pin="5V@1" pad="2"/>
<connect gate="G$1" pin="A0" pad="Y"/>
<connect gate="G$1" pin="A1" pad="X"/>
<connect gate="G$1" pin="A10" pad="M"/>
<connect gate="G$1" pin="A11" pad="L"/>
<connect gate="G$1" pin="A12" pad="K"/>
<connect gate="G$1" pin="A13" pad="J"/>
<connect gate="G$1" pin="A14" pad="H"/>
<connect gate="G$1" pin="A15" pad="F"/>
<connect gate="G$1" pin="A2" pad="W"/>
<connect gate="G$1" pin="A3" pad="V"/>
<connect gate="G$1" pin="A4" pad="U"/>
<connect gate="G$1" pin="A5" pad="T"/>
<connect gate="G$1" pin="A6" pad="S"/>
<connect gate="G$1" pin="A7" pad="R"/>
<connect gate="G$1" pin="A8" pad="P"/>
<connect gate="G$1" pin="A9" pad="N"/>
<connect gate="G$1" pin="BA" pad="12"/>
<connect gate="G$1" pin="D0" pad="21"/>
<connect gate="G$1" pin="D1" pad="20"/>
<connect gate="G$1" pin="D2" pad="19"/>
<connect gate="G$1" pin="D3" pad="18"/>
<connect gate="G$1" pin="D4" pad="17"/>
<connect gate="G$1" pin="D5" pad="16"/>
<connect gate="G$1" pin="D6" pad="15"/>
<connect gate="G$1" pin="D7" pad="14"/>
<connect gate="G$1" pin="DMA" pad="13"/>
<connect gate="G$1" pin="D_CLOCK" pad="6"/>
<connect gate="G$1" pin="EXROM" pad="9"/>
<connect gate="G$1" pin="GAME" pad="8"/>
<connect gate="G$1" pin="GND@1" pad="1"/>
<connect gate="G$1" pin="GND@2" pad="22"/>
<connect gate="G$1" pin="GND@3" pad="Z"/>
<connect gate="G$1" pin="GND@4" pad="A"/>
<connect gate="G$1" pin="I/O1" pad="7"/>
<connect gate="G$1" pin="I/O2" pad="10"/>
<connect gate="G$1" pin="IRQ" pad="4"/>
<connect gate="G$1" pin="NMI" pad="D"/>
<connect gate="G$1" pin="PHI2" pad="E"/>
<connect gate="G$1" pin="R/W" pad="5"/>
<connect gate="G$1" pin="RESET" pad="C"/>
<connect gate="G$1" pin="ROMH" pad="B"/>
<connect gate="G$1" pin="ROML" pad="11"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="DATASETTE">
<gates>
<gate name="G$1" symbol="DATASETTE"/>
</gates>
<devices>
<device name="" package="DATASETTE">
<connects>
<connect gate="G$1" pin="5V@1" pad="2"/>
<connect gate="G$1" pin="5V@2" pad="B"/>
<connect gate="G$1" pin="GND@1" pad="1"/>
<connect gate="G$1" pin="GND@2" pad="A"/>
<connect gate="G$1" pin="MOTOR@1" pad="3"/>
<connect gate="G$1" pin="MOTOR@2" pad="C"/>
<connect gate="G$1" pin="READ@1" pad="4"/>
<connect gate="G$1" pin="READ@2" pad="D"/>
<connect gate="G$1" pin="SENSE@1" pad="6"/>
<connect gate="G$1" pin="SENSE@2" pad="F"/>
<connect gate="G$1" pin="WRITE@1" pad="5"/>
<connect gate="G$1" pin="WRITE@2" pad="E"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="HOLES" package="DATASSETTE_HOLE">
<connects>
<connect gate="G$1" pin="5V@1" pad="2"/>
<connect gate="G$1" pin="5V@2" pad="B"/>
<connect gate="G$1" pin="GND@1" pad="1"/>
<connect gate="G$1" pin="GND@2" pad="A"/>
<connect gate="G$1" pin="MOTOR@1" pad="3"/>
<connect gate="G$1" pin="MOTOR@2" pad="C"/>
<connect gate="G$1" pin="READ@1" pad="4"/>
<connect gate="G$1" pin="READ@2" pad="D"/>
<connect gate="G$1" pin="SENSE@1" pad="6"/>
<connect gate="G$1" pin="SENSE@2" pad="F"/>
<connect gate="G$1" pin="WRITE@1" pad="5"/>
<connect gate="G$1" pin="WRITE@2" pad="E"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="USERPORT">
<gates>
<gate name="G$1" symbol="USERPORT"/>
</gates>
<devices>
<device name="" package="USERPORT">
<connects>
<connect gate="G$1" pin="!FLAG2" pad="B"/>
<connect gate="G$1" pin="!PC2" pad="8"/>
<connect gate="G$1" pin="!RESET" pad="3"/>
<connect gate="G$1" pin="+9VAC_A" pad="10"/>
<connect gate="G$1" pin="+9VAC_B" pad="11"/>
<connect gate="G$1" pin="5V" pad="2"/>
<connect gate="G$1" pin="ATN" pad="9"/>
<connect gate="G$1" pin="CNT1" pad="4"/>
<connect gate="G$1" pin="CNT2" pad="6"/>
<connect gate="G$1" pin="GND@1" pad="1"/>
<connect gate="G$1" pin="GND@2" pad="12"/>
<connect gate="G$1" pin="GND@3" pad="N"/>
<connect gate="G$1" pin="GND@4" pad="A"/>
<connect gate="G$1" pin="PA2" pad="M"/>
<connect gate="G$1" pin="PB0" pad="C"/>
<connect gate="G$1" pin="PB1" pad="D"/>
<connect gate="G$1" pin="PB2" pad="E"/>
<connect gate="G$1" pin="PB3" pad="F"/>
<connect gate="G$1" pin="PB4" pad="H"/>
<connect gate="G$1" pin="PB5" pad="J"/>
<connect gate="G$1" pin="PB6" pad="K"/>
<connect gate="G$1" pin="PB7" pad="L"/>
<connect gate="G$1" pin="SP1" pad="5"/>
<connect gate="G$1" pin="SP2" pad="7"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="HOLES" package="USERPORT_HOLE">
<connects>
<connect gate="G$1" pin="!FLAG2" pad="B"/>
<connect gate="G$1" pin="!PC2" pad="8"/>
<connect gate="G$1" pin="!RESET" pad="3"/>
<connect gate="G$1" pin="+9VAC_A" pad="10"/>
<connect gate="G$1" pin="+9VAC_B" pad="11"/>
<connect gate="G$1" pin="5V" pad="2"/>
<connect gate="G$1" pin="ATN" pad="9"/>
<connect gate="G$1" pin="CNT1" pad="4"/>
<connect gate="G$1" pin="CNT2" pad="6"/>
<connect gate="G$1" pin="GND@1" pad="1"/>
<connect gate="G$1" pin="GND@2" pad="12"/>
<connect gate="G$1" pin="GND@3" pad="N"/>
<connect gate="G$1" pin="GND@4" pad="A"/>
<connect gate="G$1" pin="PA2" pad="M"/>
<connect gate="G$1" pin="PB0" pad="C"/>
<connect gate="G$1" pin="PB1" pad="D"/>
<connect gate="G$1" pin="PB2" pad="E"/>
<connect gate="G$1" pin="PB3" pad="F"/>
<connect gate="G$1" pin="PB4" pad="H"/>
<connect gate="G$1" pin="PB5" pad="J"/>
<connect gate="G$1" pin="PB6" pad="K"/>
<connect gate="G$1" pin="PB7" pad="L"/>
<connect gate="G$1" pin="SP1" pad="5"/>
<connect gate="G$1" pin="SP2" pad="7"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="C16_CARTRIDGE">
<gates>
<gate name="G$1" symbol="C16_CARTRIDGE"/>
</gates>
<devices>
<device name="" package="C16_CARTRIDGE_SMALL">
<connects>
<connect gate="G$1" pin="!C1H" pad="6"/>
<connect gate="G$1" pin="!C1L" pad="B"/>
<connect gate="G$1" pin="!C2H" pad="8"/>
<connect gate="G$1" pin="!C2L" pad="7"/>
<connect gate="G$1" pin="!CAS" pad="11"/>
<connect gate="G$1" pin="!CS0" pad="10"/>
<connect gate="G$1" pin="!CS1" pad="9"/>
<connect gate="G$1" pin="!IRQ" pad="4"/>
<connect gate="G$1" pin="!MUX" pad="12"/>
<connect gate="G$1" pin="!RAS" pad="D"/>
<connect gate="G$1" pin="!RESET" pad="C"/>
<connect gate="G$1" pin="+5V" pad="2"/>
<connect gate="G$1" pin="+5V@1" pad="3"/>
<connect gate="G$1" pin="A0" pad="Y"/>
<connect gate="G$1" pin="A1" pad="X"/>
<connect gate="G$1" pin="A10" pad="M"/>
<connect gate="G$1" pin="A11" pad="L"/>
<connect gate="G$1" pin="A12" pad="K"/>
<connect gate="G$1" pin="A13" pad="J"/>
<connect gate="G$1" pin="A14" pad="H"/>
<connect gate="G$1" pin="A15" pad="F"/>
<connect gate="G$1" pin="A2" pad="W"/>
<connect gate="G$1" pin="A3" pad="V"/>
<connect gate="G$1" pin="A4" pad="U"/>
<connect gate="G$1" pin="A5" pad="T"/>
<connect gate="G$1" pin="A6" pad="S"/>
<connect gate="G$1" pin="A7" pad="R"/>
<connect gate="G$1" pin="A8" pad="P"/>
<connect gate="G$1" pin="A9" pad="N"/>
<connect gate="G$1" pin="AEC" pad="22"/>
<connect gate="G$1" pin="AUDIO_IN" pad="23"/>
<connect gate="G$1" pin="BA" pad="13"/>
<connect gate="G$1" pin="D0" pad="21"/>
<connect gate="G$1" pin="D1" pad="20"/>
<connect gate="G$1" pin="D2" pad="19"/>
<connect gate="G$1" pin="D3" pad="18"/>
<connect gate="G$1" pin="D4" pad="17"/>
<connect gate="G$1" pin="D5" pad="16"/>
<connect gate="G$1" pin="D6" pad="15"/>
<connect gate="G$1" pin="D7" pad="14"/>
<connect gate="G$1" pin="GND" pad="1"/>
<connect gate="G$1" pin="GND@1" pad="25"/>
<connect gate="G$1" pin="GND@2" pad="A"/>
<connect gate="G$1" pin="GND@3" pad="CC"/>
<connect gate="G$1" pin="PH0" pad="E"/>
<connect gate="G$1" pin="PH2" pad="24"/>
<connect gate="G$1" pin="R/!W" pad="5"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</drawing>
</eagle>
