(export (version D)
  (design
    (source /home/danieleverducci/git/pato-z80-home-computer/pat80-computer/hardware/schematics/pat80/pat80.sch)
    (date "sab 20 mar 2021 20:24:21 CET")
    (tool "Eeschema 5.1.9+dfsg1-1~bpo10+1")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source pat80.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref U2)
      (value "256k (32k x 8) EEPROM")
      (footprint Package_DIP:DIP-28_W15.24mm_Socket_LongPads)
      (datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/doc0006.pdf)
      (libsource (lib Memory_EEPROM) (part 28C256) (description "Paged Parallel EEPROM 256Kb (32K x 8), DIP-28/SOIC-28"))
      (sheetpath (names /) (tstamps /))
      (tstamp 604F6B81))
    (comp (ref U3)
      (value "256k (32k x 8) SRAM")
      (footprint Package_DIP:DIP-28_W15.24mm_Socket_LongPads)
      (datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/doc0006.pdf)
      (libsource (lib Memory_EEPROM) (part 28C256) (description "Paged Parallel EEPROM 256Kb (32K x 8), DIP-28/SOIC-28"))
      (sheetpath (names /) (tstamps /))
      (tstamp 604FD5C5))
    (comp (ref U1)
      (value Z80CPU)
      (footprint Package_DIP:DIP-40_W15.24mm_Socket_LongPads)
      (datasheet www.zilog.com/manage_directlink.php?filepath=docs/z80/um0080)
      (libsource (lib CPU) (part Z80CPU) (description "8-bit General Purpose Microprocessor, DIP-40"))
      (sheetpath (names /) (tstamps /))
      (tstamp 604F040E))
    (comp (ref C8)
      (value 100nF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6055A1F9))
    (comp (ref C9)
      (value 56pF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6055A9DD))
    (comp (ref U11)
      (value 74HC04)
      (footprint Package_DIP:DIP-14_W7.62mm_Socket_LongPads)
      (datasheet http://www.ti.com/lit/gpn/sn74LS32)
      (libsource (lib 74xx) (part 74HC04) (description "hex inverter"))
      (sheetpath (names /) (tstamps /))
      (tstamp 605236EF))
    (comp (ref R5)
      (value 270k)
      (footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 60584118))
    (comp (ref C6)
      (value 10uF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6052B4C4))
    (comp (ref SW1)
      (value SW_Push)
      (footprint Button_Switch_THT:SW_Tactile_Straight_KSA0Axx1LFTR)
      (libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60528DA4))
    (comp (ref U10)
      (value 74HC32)
      (footprint Package_DIP:DIP-14_W7.62mm_Socket_LongPads)
      (datasheet http://www.ti.com/lit/gpn/sn74LS32)
      (libsource (lib 74xx) (part 74LS32) (description "Quad 2-input OR"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6051C888))
    (comp (ref C2)
      (value 30pF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 605648D0))
    (comp (ref C3)
      (value 30pF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60567676))
    (comp (ref R1)
      (value 3,3M)
      (footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 60581F4C))
    (comp (ref Y1)
      (value 4Mhz)
      (footprint Crystal:Crystal_HC18-U_Vertical)
      (datasheet ~)
      (libsource (lib Device) (part Crystal) (description "Two pin crystal"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6058BCE7))
    (comp (ref C11)
      (value 100nF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606345AE))
    (comp (ref C10)
      (value 56pF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606345B4))
    (comp (ref C13)
      (value 100nF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60649CA8))
    (comp (ref C12)
      (value 56pF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60649CAE))
    (comp (ref R2)
      (value 10k)
      (footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 60662809))
    (comp (ref SW2)
      (value Break)
      (footprint Button_Switch_THT:SW_Tactile_Straight_KSA0Axx1LFTR)
      (libsource (lib Switch) (part SW_Push) (description "Push button switch, generic, two pins"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6067F418))
    (comp (ref C1)
      (value 10uF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6068233C))
    (comp (ref J4)
      (value panel_btn_rst)
      (footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
      (datasheet ~)
      (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606A5B44))
    (comp (ref J1)
      (value panel_btn_brk)
      (footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
      (datasheet ~)
      (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606C1179))
    (comp (ref D1)
      (value LED)
      (footprint LED_THT:LED_D5.0mm)
      (datasheet ~)
      (libsource (lib Device) (part LED) (description "Light emitting diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606D4ECC))
    (comp (ref R4)
      (value 470)
      (footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 606E9AF9))
    (comp (ref J3)
      (value panel_led_halt)
      (footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
      (datasheet ~)
      (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60701566))
    (comp (ref U20)
      (value 74HC138)
      (footprint Package_DIP:DIP-16_W7.62mm_Socket_LongPads)
      (datasheet http://www.ti.com/lit/gpn/sn74LS138)
      (libsource (lib 74xx) (part 74LS138) (description "Decoder 3 to 8 active low outputs"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60832D85))
    (comp (ref C18)
      (value 100nF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6084DC4D))
    (comp (ref C19)
      (value 56pF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6084DC53))
    (comp (ref U21)
      (value 74HC244)
      (footprint Package_DIP:DIP-20_W7.62mm_Socket_LongPads)
      (datasheet http://www.nxp.com/documents/data_sheet/74HC_HCT244.pdf)
      (libsource (lib 74xx) (part 74HC244) (description "8-bit Buffer/Line Driver 3-state"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6057058E))
    (comp (ref C14)
      (value 100nF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6062D6ED))
    (comp (ref C15)
      (value 56pF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6062D6F3))
    (comp (ref C16)
      (value 100nF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60853D7B))
    (comp (ref C17)
      (value 56pF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60853D81))
    (comp (ref U22)
      (value 74HC245)
      (footprint Package_DIP:DIP-20_W7.62mm_Socket_LongPads)
      (datasheet http://www.ti.com/lit/gpn/sn74HC245)
      (libsource (lib 74xx) (part 74HC245) (description "Octal BUS Transceivers, 3-State outputs"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608489B5))
    (comp (ref C7)
      (value 470uF)
      (footprint Capacitor_THT:CP_Radial_D6.3mm_P2.50mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60AC0A76))
    (comp (ref J2)
      (value "Power input")
      (footprint Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical)
      (datasheet ~)
      (libsource (lib Connector) (part Conn_01x02_Male) (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60AE4278))
    (comp (ref C20)
      (value 470uF)
      (footprint Capacitor_THT:CP_Radial_D6.3mm_P2.50mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60AED147))
    (comp (ref U30)
      (value LM7805_TO220)
      (footprint Package_TO_SOT_THT:TO-220-3_Vertical)
      (datasheet http://www.fairchildsemi.com/ds/LM/LM7805.pdf)
      (libsource (lib Regulator_Linear) (part LM7805_TO220) (description "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60B8B756))
    (comp (ref C4)
      (value 0,22uF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60B9FCED))
    (comp (ref C5)
      (value 0,1uF)
      (footprint Capacitor_THT:CP_Radial_Tantal_D6.0mm_P5.00mm)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60BB291F))
    (comp (ref IOBUS1)
      (value IO_bus_conn)
      (footprint Connector_PinHeader_2.54mm:PinHeader_1x26_P2.54mm_Horizontal)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x26) (description "Generic connector, single row, 01x26, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60940D54))
    (comp (ref R3)
      (value 10k)
      (footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 60661B57))
    (comp (ref J5)
      (value nmi)
      (footprint Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical)
      (datasheet ~)
      (libsource (lib Connector) (part Conn_01x01_Male) (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60B92792)))
  (libparts
    (libpart (lib 74xx) (part 74HC244)
      (aliases
        (alias 74HCT244))
      (description "8-bit Buffer/Line Driver 3-state")
      (docs http://www.nxp.com/documents/data_sheet/74HC_HCT244.pdf)
      (footprints
        (fp TSSOP*4.4x6.5mm*P0.65mm*)
        (fp SSOP*4.4x6.5mm*P0.65mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) 74HC244))
      (pins
        (pin (num 1) (name 1OE) (type input))
        (pin (num 2) (name 1A0) (type input))
        (pin (num 3) (name 2Y0) (type output))
        (pin (num 4) (name 1A1) (type input))
        (pin (num 5) (name 2Y1) (type output))
        (pin (num 6) (name 1A2) (type input))
        (pin (num 7) (name 2Y2) (type output))
        (pin (num 8) (name 1A3) (type input))
        (pin (num 9) (name 2Y3) (type output))
        (pin (num 10) (name GND) (type power_in))
        (pin (num 11) (name 2A3) (type input))
        (pin (num 12) (name 1Y3) (type output))
        (pin (num 13) (name 2A2) (type input))
        (pin (num 14) (name 1Y2) (type output))
        (pin (num 15) (name 2A1) (type input))
        (pin (num 16) (name 1Y1) (type output))
        (pin (num 17) (name 2A0) (type input))
        (pin (num 18) (name 1Y0) (type output))
        (pin (num 19) (name 2OE) (type input))
        (pin (num 20) (name VCC) (type power_in))))
    (libpart (lib 74xx) (part 74HCT04)
      (aliases
        (alias 74HC14)
        (alias 74HC04)
        (alias 74LS14))
      (description "hex inverter")
      (docs http://www.nxp.com/documents/data_sheet/74HC_HCT04.pdf)
      (footprints
        (fp DIP?14*))
      (fields
        (field (name Reference) U)
        (field (name Value) 74HCT04))
      (pins
        (pin (num 1) (name ~) (type input))
        (pin (num 2) (name ~) (type output))
        (pin (num 3) (name ~) (type input))
        (pin (num 4) (name ~) (type output))
        (pin (num 5) (name ~) (type input))
        (pin (num 6) (name ~) (type output))
        (pin (num 7) (name GND) (type power_in))
        (pin (num 8) (name ~) (type output))
        (pin (num 9) (name ~) (type input))
        (pin (num 10) (name ~) (type output))
        (pin (num 11) (name ~) (type input))
        (pin (num 12) (name ~) (type output))
        (pin (num 13) (name ~) (type input))
        (pin (num 14) (name VCC) (type power_in))))
    (libpart (lib 74xx) (part 74LS138)
      (description "Decoder 3 to 8 active low outputs")
      (docs http://www.ti.com/lit/gpn/sn74LS138)
      (footprints
        (fp DIP?16*))
      (fields
        (field (name Reference) U)
        (field (name Value) 74LS138))
      (pins
        (pin (num 1) (name A0) (type input))
        (pin (num 2) (name A1) (type input))
        (pin (num 3) (name A2) (type input))
        (pin (num 4) (name E1) (type input))
        (pin (num 5) (name E2) (type input))
        (pin (num 6) (name E3) (type input))
        (pin (num 7) (name O7) (type output))
        (pin (num 8) (name GND) (type power_in))
        (pin (num 9) (name O6) (type output))
        (pin (num 10) (name O5) (type output))
        (pin (num 11) (name O4) (type output))
        (pin (num 12) (name O3) (type output))
        (pin (num 13) (name O2) (type output))
        (pin (num 14) (name O1) (type output))
        (pin (num 15) (name O0) (type output))
        (pin (num 16) (name VCC) (type power_in))))
    (libpart (lib 74xx) (part 74LS245)
      (aliases
        (alias 74HC245))
      (description "Octal BUS Transceivers, 3-State outputs")
      (docs http://www.ti.com/lit/gpn/sn74LS245)
      (footprints
        (fp DIP?20*))
      (fields
        (field (name Reference) U)
        (field (name Value) 74LS245))
      (pins
        (pin (num 1) (name A->B) (type input))
        (pin (num 2) (name A0) (type 3state))
        (pin (num 3) (name A1) (type 3state))
        (pin (num 4) (name A2) (type 3state))
        (pin (num 5) (name A3) (type 3state))
        (pin (num 6) (name A4) (type 3state))
        (pin (num 7) (name A5) (type 3state))
        (pin (num 8) (name A6) (type 3state))
        (pin (num 9) (name A7) (type 3state))
        (pin (num 10) (name GND) (type power_in))
        (pin (num 11) (name B7) (type 3state))
        (pin (num 12) (name B6) (type 3state))
        (pin (num 13) (name B5) (type 3state))
        (pin (num 14) (name B4) (type 3state))
        (pin (num 15) (name B3) (type 3state))
        (pin (num 16) (name B2) (type 3state))
        (pin (num 17) (name B1) (type 3state))
        (pin (num 18) (name B0) (type 3state))
        (pin (num 19) (name CE) (type input))
        (pin (num 20) (name VCC) (type power_in))))
    (libpart (lib 74xx) (part 74LS32)
      (description "Quad 2-input OR")
      (docs http://www.ti.com/lit/gpn/sn74LS32)
      (footprints
        (fp DIP?14*))
      (fields
        (field (name Reference) U)
        (field (name Value) 74LS32))
      (pins
        (pin (num 1) (name ~) (type input))
        (pin (num 2) (name ~) (type input))
        (pin (num 3) (name ~) (type output))
        (pin (num 4) (name ~) (type input))
        (pin (num 5) (name ~) (type input))
        (pin (num 6) (name ~) (type output))
        (pin (num 7) (name GND) (type power_in))
        (pin (num 8) (name ~) (type output))
        (pin (num 9) (name ~) (type input))
        (pin (num 10) (name ~) (type input))
        (pin (num 11) (name ~) (type output))
        (pin (num 12) (name ~) (type input))
        (pin (num 13) (name ~) (type input))
        (pin (num 14) (name VCC) (type power_in))))
    (libpart (lib CPU) (part Z80CPU)
      (description "8-bit General Purpose Microprocessor, DIP-40")
      (docs www.zilog.com/manage_directlink.php?filepath=docs/z80/um0080)
      (footprints
        (fp DIP*)
        (fp PDIP*))
      (fields
        (field (name Reference) U)
        (field (name Value) Z80CPU))
      (pins
        (pin (num 1) (name A11) (type output))
        (pin (num 2) (name A12) (type output))
        (pin (num 3) (name A13) (type output))
        (pin (num 4) (name A14) (type output))
        (pin (num 5) (name A15) (type output))
        (pin (num 6) (name ~CLK~) (type input))
        (pin (num 7) (name D4) (type BiDi))
        (pin (num 8) (name D3) (type BiDi))
        (pin (num 9) (name D5) (type BiDi))
        (pin (num 10) (name D6) (type BiDi))
        (pin (num 11) (name VCC) (type power_in))
        (pin (num 12) (name D2) (type BiDi))
        (pin (num 13) (name D7) (type BiDi))
        (pin (num 14) (name D0) (type BiDi))
        (pin (num 15) (name D1) (type BiDi))
        (pin (num 16) (name ~INT~) (type input))
        (pin (num 17) (name ~NMI~) (type input))
        (pin (num 18) (name ~HALT~) (type output))
        (pin (num 19) (name ~MREQ~) (type output))
        (pin (num 20) (name ~IORQ~) (type output))
        (pin (num 21) (name ~RD~) (type output))
        (pin (num 22) (name ~WR~) (type output))
        (pin (num 23) (name ~BUSACK~) (type output))
        (pin (num 24) (name ~WAIT~) (type input))
        (pin (num 25) (name ~BUSRQ~) (type input))
        (pin (num 26) (name ~RESET~) (type input))
        (pin (num 27) (name ~M1~) (type output))
        (pin (num 28) (name ~RFSH~) (type output))
        (pin (num 29) (name GND) (type power_in))
        (pin (num 30) (name A0) (type output))
        (pin (num 31) (name A1) (type output))
        (pin (num 32) (name A2) (type output))
        (pin (num 33) (name A3) (type output))
        (pin (num 34) (name A4) (type output))
        (pin (num 35) (name A5) (type output))
        (pin (num 36) (name A6) (type output))
        (pin (num 37) (name A7) (type output))
        (pin (num 38) (name A8) (type output))
        (pin (num 39) (name A9) (type output))
        (pin (num 40) (name A10) (type output))))
    (libpart (lib Connector) (part Conn_01x01_Male)
      (description "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x01_Male))
      (pins
        (pin (num 1) (name Pin_1) (type passive))))
    (libpart (lib Connector) (part Conn_01x02_Male)
      (description "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x02_Male))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_01x26)
      (description "Generic connector, single row, 01x26, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x26))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))
        (pin (num 6) (name Pin_6) (type passive))
        (pin (num 7) (name Pin_7) (type passive))
        (pin (num 8) (name Pin_8) (type passive))
        (pin (num 9) (name Pin_9) (type passive))
        (pin (num 10) (name Pin_10) (type passive))
        (pin (num 11) (name Pin_11) (type passive))
        (pin (num 12) (name Pin_12) (type passive))
        (pin (num 13) (name Pin_13) (type passive))
        (pin (num 14) (name Pin_14) (type passive))
        (pin (num 15) (name Pin_15) (type passive))
        (pin (num 16) (name Pin_16) (type passive))
        (pin (num 17) (name Pin_17) (type passive))
        (pin (num 18) (name Pin_18) (type passive))
        (pin (num 19) (name Pin_19) (type passive))
        (pin (num 20) (name Pin_20) (type passive))
        (pin (num 21) (name Pin_21) (type passive))
        (pin (num 22) (name Pin_22) (type passive))
        (pin (num 23) (name Pin_23) (type passive))
        (pin (num 24) (name Pin_24) (type passive))
        (pin (num 25) (name Pin_25) (type passive))
        (pin (num 26) (name Pin_26) (type passive))))
    (libpart (lib Device) (part C)
      (description "Unpolarized capacitor")
      (docs ~)
      (footprints
        (fp C_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part Crystal)
      (description "Two pin crystal")
      (docs ~)
      (footprints
        (fp Crystal*))
      (fields
        (field (name Reference) Y)
        (field (name Value) Crystal))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib Device) (part LED)
      (description "Light emitting diode")
      (docs ~)
      (footprints
        (fp LED*)
        (fp LED_SMD:*)
        (fp LED_THT:*))
      (fields
        (field (name Reference) D)
        (field (name Value) LED))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Device) (part R)
      (description Resistor)
      (docs ~)
      (footprints
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Memory_EEPROM) (part 28C256)
      (description "Paged Parallel EEPROM 256Kb (32K x 8), DIP-28/SOIC-28")
      (docs http://ww1.microchip.com/downloads/en/DeviceDoc/doc0006.pdf)
      (footprints
        (fp DIP*W15.24mm*)
        (fp SOIC*7.5x17.9mm*P1.27mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) 28C256))
      (pins
        (pin (num 1) (name A14) (type input))
        (pin (num 2) (name A12) (type input))
        (pin (num 3) (name A7) (type input))
        (pin (num 4) (name A6) (type input))
        (pin (num 5) (name A5) (type input))
        (pin (num 6) (name A4) (type input))
        (pin (num 7) (name A3) (type input))
        (pin (num 8) (name A2) (type input))
        (pin (num 9) (name A1) (type input))
        (pin (num 10) (name A0) (type input))
        (pin (num 11) (name D0) (type 3state))
        (pin (num 12) (name D1) (type 3state))
        (pin (num 13) (name D2) (type 3state))
        (pin (num 14) (name GND) (type power_in))
        (pin (num 15) (name D3) (type 3state))
        (pin (num 16) (name D4) (type 3state))
        (pin (num 17) (name D5) (type 3state))
        (pin (num 18) (name D6) (type 3state))
        (pin (num 19) (name D7) (type 3state))
        (pin (num 20) (name ~CS) (type input))
        (pin (num 21) (name A10) (type input))
        (pin (num 22) (name ~OE) (type input))
        (pin (num 23) (name A11) (type input))
        (pin (num 24) (name A9) (type input))
        (pin (num 25) (name A8) (type input))
        (pin (num 26) (name A13) (type input))
        (pin (num 27) (name ~WE) (type input))
        (pin (num 28) (name VCC) (type power_in))))
    (libpart (lib Regulator_Linear) (part LM7805_TO220)
      (aliases
        (alias LM7806_TO220)
        (alias LM7808_TO220)
        (alias LM7809_TO220)
        (alias LM7810_TO220)
        (alias LM7812_TO220)
        (alias LM7815_TO220)
        (alias LM7818_TO220)
        (alias LM7824_TO220)
        (alias LM78M05_TO220)
        (alias SPX2920U-3.3_TO220)
        (alias SPX2920U-5.0_TO220)
        (alias LF15_TO220)
        (alias LF18_TO220)
        (alias LF25_TO220)
        (alias LF33_TO220)
        (alias LF50_TO220)
        (alias LF60_TO220)
        (alias LF80_TO220)
        (alias LF85_TO220)
        (alias LF120_TO220)
        (alias LF47_TO220)
        (alias LF90_TO220)
        (alias LM341T-05_TO220)
        (alias LM341T-12_TO220)
        (alias LM341T-15_TO220)
        (alias LM2937xT))
      (description "Positive 1A 35V Linear Regulator, Fixed Output 5V, TO-220")
      (docs http://www.fairchildsemi.com/ds/LM/LM7805.pdf)
      (footprints
        (fp TO?220*))
      (fields
        (field (name Reference) U)
        (field (name Value) LM7805_TO220)
        (field (name Footprint) Package_TO_SOT_THT:TO-220-3_Vertical))
      (pins
        (pin (num 1) (name VI) (type power_in))
        (pin (num 2) (name GND) (type power_in))
        (pin (num 3) (name VO) (type power_out))))
    (libpart (lib Switch) (part SW_Push)
      (description "Push button switch, generic, two pins")
      (fields
        (field (name Reference) SW)
        (field (name Value) SW_Push))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive)))))
  (libraries
    (library (logical 74xx)
      (uri /usr/share/kicad/library/74xx.lib))
    (library (logical CPU)
      (uri /usr/share/kicad/library/CPU.lib))
    (library (logical Connector)
      (uri /usr/share/kicad/library/Connector.lib))
    (library (logical Connector_Generic)
      (uri /usr/share/kicad/library/Connector_Generic.lib))
    (library (logical Device)
      (uri /usr/share/kicad/library/Device.lib))
    (library (logical Memory_EEPROM)
      (uri /usr/share/kicad/library/Memory_EEPROM.lib))
    (library (logical Regulator_Linear)
      (uri /usr/share/kicad/library/Regulator_Linear.lib))
    (library (logical Switch)
      (uri /usr/share/kicad/library/Switch.lib)))
  (nets
    (net (code 2) (name /IOEN6)
      (node (ref IOBUS1) (pin 9))
      (node (ref U20) (pin 9)))
    (net (code 3) (name /IOEN7)
      (node (ref IOBUS1) (pin 10))
      (node (ref U20) (pin 7)))
    (net (code 5) (name /IOEN0)
      (node (ref IOBUS1) (pin 3))
      (node (ref U20) (pin 15)))
    (net (code 6) (name /IOEN5)
      (node (ref IOBUS1) (pin 8))
      (node (ref U20) (pin 10)))
    (net (code 7) (name "Net-(U21-Pad16)")
      (node (ref U21) (pin 16)))
    (net (code 8) (name "Net-(U21-Pad18)")
      (node (ref U21) (pin 18)))
    (net (code 9) (name "Net-(U21-Pad2)")
      (node (ref U21) (pin 2)))
    (net (code 10) (name "Net-(U21-Pad4)")
      (node (ref U21) (pin 4)))
    (net (code 11) (name /IOADDR2)
      (node (ref IOBUS1) (pin 13))
      (node (ref U21) (pin 3)))
    (net (code 12) (name /WR)
      (node (ref U21) (pin 11)))
    (net (code 13) (name /IOADDR4)
      (node (ref IOBUS1) (pin 15))
      (node (ref U21) (pin 14)))
    (net (code 14) (name /IOADDR3)
      (node (ref U21) (pin 12))
      (node (ref IOBUS1) (pin 14)))
    (net (code 15) (name /IOADDR1)
      (node (ref IOBUS1) (pin 12))
      (node (ref U21) (pin 5)))
    (net (code 16) (name /IOADDR0)
      (node (ref IOBUS1) (pin 11))
      (node (ref U21) (pin 7)))
    (net (code 17) (name /IOWR)
      (node (ref IOBUS1) (pin 24))
      (node (ref U21) (pin 9)))
    (net (code 18) (name /IORQ)
      (node (ref U21) (pin 1))
      (node (ref U21) (pin 19)))
    (net (code 19) (name /RD)
      (node (ref U2) (pin 22)))
    (net (code 20) (name /RAMEN)
      (node (ref U3) (pin 20)))
    (net (code 21) (name /ROMEN)
      (node (ref U2) (pin 20)))
    (net (code 22) (name /ROMEN)
      (node (ref U10) (pin 6)))
    (net (code 23) (name /WR)
      (node (ref U2) (pin 27)))
    (net (code 24) (name /RD)
      (node (ref U3) (pin 22)))
    (net (code 25) (name /WR)
      (node (ref U3) (pin 27)))
    (net (code 26) (name /IOEN4)
      (node (ref U20) (pin 11))
      (node (ref IOBUS1) (pin 7)))
    (net (code 27) (name /IOEN3)
      (node (ref IOBUS1) (pin 6))
      (node (ref U20) (pin 12)))
    (net (code 28) (name /IOEN2)
      (node (ref U20) (pin 13))
      (node (ref IOBUS1) (pin 5)))
    (net (code 29) (name /A12)
      (node (ref U2) (pin 2))
      (node (ref U3) (pin 2))
      (node (ref U1) (pin 2)))
    (net (code 30) (name /A13)
      (node (ref U1) (pin 3))
      (node (ref U2) (pin 26))
      (node (ref U3) (pin 26)))
    (net (code 31) (name /A14)
      (node (ref U3) (pin 1))
      (node (ref U2) (pin 1))
      (node (ref U1) (pin 4)))
    (net (code 33) (name "Net-(U11-Pad3)")
      (node (ref U11) (pin 3)))
    (net (code 34) (name "Net-(U10-Pad1)")
      (node (ref U11) (pin 4))
      (node (ref U10) (pin 1))
      (node (ref U10) (pin 4)))
    (net (code 35) (name /A15)
      (node (ref U10) (pin 5))
      (node (ref U1) (pin 5))
      (node (ref U11) (pin 1)))
    (net (code 36) (name "Net-(U10-Pad2)")
      (node (ref U11) (pin 2))
      (node (ref U10) (pin 2)))
    (net (code 37) (name /IOEN1)
      (node (ref U20) (pin 14))
      (node (ref IOBUS1) (pin 4)))
    (net (code 38) (name /RAMEN)
      (node (ref U10) (pin 3)))
    (net (code 39) (name /IORQ)
      (node (ref U20) (pin 5))
      (node (ref U20) (pin 4)))
    (net (code 40) (name /IOD2)
      (node (ref IOBUS1) (pin 18))
      (node (ref U22) (pin 4)))
    (net (code 41) (name /IOD3)
      (node (ref U22) (pin 5))
      (node (ref IOBUS1) (pin 19)))
    (net (code 42) (name /IOD4)
      (node (ref IOBUS1) (pin 20))
      (node (ref U22) (pin 6)))
    (net (code 43) (name /IOD5)
      (node (ref IOBUS1) (pin 21))
      (node (ref U22) (pin 7)))
    (net (code 44) (name /IOD6)
      (node (ref IOBUS1) (pin 22))
      (node (ref U22) (pin 8)))
    (net (code 45) (name /IOD7)
      (node (ref U22) (pin 9))
      (node (ref IOBUS1) (pin 23)))
    (net (code 46) (name VCC)
      (node (ref U30) (pin 3))
      (node (ref C5) (pin 1))
      (node (ref C7) (pin 1))
      (node (ref U1) (pin 11))
      (node (ref U1) (pin 25))
      (node (ref U22) (pin 20))
      (node (ref U3) (pin 28))
      (node (ref U1) (pin 24))
      (node (ref C20) (pin 1))
      (node (ref C9) (pin 2))
      (node (ref C16) (pin 2))
      (node (ref C17) (pin 2))
      (node (ref C12) (pin 2))
      (node (ref R5) (pin 1))
      (node (ref C13) (pin 2))
      (node (ref C10) (pin 2))
      (node (ref C15) (pin 2))
      (node (ref C14) (pin 2))
      (node (ref C11) (pin 2))
      (node (ref R2) (pin 2))
      (node (ref R3) (pin 2))
      (node (ref U21) (pin 20))
      (node (ref U2) (pin 28))
      (node (ref C18) (pin 2))
      (node (ref IOBUS1) (pin 26))
      (node (ref C19) (pin 2))
      (node (ref C8) (pin 2))
      (node (ref IOBUS1) (pin 1))
      (node (ref R4) (pin 2))
      (node (ref U20) (pin 6))
      (node (ref U20) (pin 16)))
    (net (code 47) (name /IOD1)
      (node (ref U22) (pin 3))
      (node (ref IOBUS1) (pin 17)))
    (net (code 48) (name /IOD0)
      (node (ref IOBUS1) (pin 16))
      (node (ref U22) (pin 2)))
    (net (code 49) (name GND)
      (node (ref C9) (pin 1))
      (node (ref U2) (pin 14))
      (node (ref J2) (pin 2))
      (node (ref C11) (pin 1))
      (node (ref C8) (pin 1))
      (node (ref C10) (pin 1))
      (node (ref C1) (pin 2))
      (node (ref SW2) (pin 1))
      (node (ref U3) (pin 14))
      (node (ref C13) (pin 1))
      (node (ref C12) (pin 1))
      (node (ref U1) (pin 29))
      (node (ref C6) (pin 2))
      (node (ref C20) (pin 2))
      (node (ref SW1) (pin 1))
      (node (ref C2) (pin 2))
      (node (ref C3) (pin 2))
      (node (ref C19) (pin 1))
      (node (ref C18) (pin 1))
      (node (ref U22) (pin 10))
      (node (ref U20) (pin 8))
      (node (ref IOBUS1) (pin 2))
      (node (ref IOBUS1) (pin 25))
      (node (ref U21) (pin 10))
      (node (ref C5) (pin 2))
      (node (ref C15) (pin 1))
      (node (ref C14) (pin 1))
      (node (ref C7) (pin 2))
      (node (ref C17) (pin 1))
      (node (ref C4) (pin 2))
      (node (ref C16) (pin 1))
      (node (ref U30) (pin 2)))
    (net (code 50) (name "Net-(R3-Pad1)")
      (node (ref U1) (pin 17))
      (node (ref R3) (pin 1)))
    (net (code 51) (name "Net-(J5-Pad1)")
      (node (ref J5) (pin 1)))
    (net (code 52) (name /D5)
      (node (ref U1) (pin 9))
      (node (ref U3) (pin 17))
      (node (ref U2) (pin 17))
      (node (ref U22) (pin 13)))
    (net (code 53) (name /D0)
      (node (ref U1) (pin 14))
      (node (ref U2) (pin 11))
      (node (ref U3) (pin 11))
      (node (ref U22) (pin 18)))
    (net (code 54) (name /D1)
      (node (ref U3) (pin 12))
      (node (ref U1) (pin 15))
      (node (ref U22) (pin 17))
      (node (ref U2) (pin 12)))
    (net (code 55) (name /D2)
      (node (ref U2) (pin 13))
      (node (ref U1) (pin 12))
      (node (ref U3) (pin 13))
      (node (ref U22) (pin 16)))
    (net (code 56) (name /D3)
      (node (ref U3) (pin 15))
      (node (ref U22) (pin 15))
      (node (ref U2) (pin 15))
      (node (ref U1) (pin 8)))
    (net (code 57) (name /D4)
      (node (ref U2) (pin 16))
      (node (ref U1) (pin 7))
      (node (ref U3) (pin 16))
      (node (ref U22) (pin 14)))
    (net (code 58) (name /D6)
      (node (ref U22) (pin 12))
      (node (ref U1) (pin 10))
      (node (ref U3) (pin 18))
      (node (ref U2) (pin 18)))
    (net (code 59) (name /D7)
      (node (ref U2) (pin 19))
      (node (ref U22) (pin 11))
      (node (ref U3) (pin 19))
      (node (ref U1) (pin 13)))
    (net (code 61) (name /IORQ)
      (node (ref U22) (pin 19)))
    (net (code 62) (name /WR)
      (node (ref U22) (pin 1)))
    (net (code 63) (name "Net-(C4-Pad1)")
      (node (ref U30) (pin 1))
      (node (ref C4) (pin 1))
      (node (ref J2) (pin 1)))
    (net (code 64) (name /A11)
      (node (ref U3) (pin 23))
      (node (ref U1) (pin 1))
      (node (ref U2) (pin 23)))
    (net (code 66) (name /A7)
      (node (ref U3) (pin 3))
      (node (ref U20) (pin 3))
      (node (ref U2) (pin 3))
      (node (ref U1) (pin 37)))
    (net (code 67) (name /A6)
      (node (ref U3) (pin 4))
      (node (ref U20) (pin 2))
      (node (ref U2) (pin 4))
      (node (ref U1) (pin 36)))
    (net (code 68) (name /A5)
      (node (ref U2) (pin 5))
      (node (ref U1) (pin 35))
      (node (ref U20) (pin 1))
      (node (ref U3) (pin 5)))
    (net (code 69) (name /A4)
      (node (ref U1) (pin 34))
      (node (ref U21) (pin 6))
      (node (ref U3) (pin 6))
      (node (ref U2) (pin 6)))
    (net (code 70) (name /A3)
      (node (ref U1) (pin 33))
      (node (ref U3) (pin 7))
      (node (ref U21) (pin 8))
      (node (ref U2) (pin 7)))
    (net (code 71) (name /A10)
      (node (ref U2) (pin 21))
      (node (ref U1) (pin 40))
      (node (ref U3) (pin 21)))
    (net (code 72) (name /A9)
      (node (ref U2) (pin 24))
      (node (ref U1) (pin 39))
      (node (ref U3) (pin 24)))
    (net (code 73) (name /A8)
      (node (ref U1) (pin 38))
      (node (ref U2) (pin 25))
      (node (ref U3) (pin 25)))
    (net (code 74) (name /A0)
      (node (ref U1) (pin 30))
      (node (ref U3) (pin 10))
      (node (ref U21) (pin 17))
      (node (ref U2) (pin 10)))
    (net (code 75) (name /A1)
      (node (ref U2) (pin 9))
      (node (ref U3) (pin 9))
      (node (ref U1) (pin 31))
      (node (ref U21) (pin 15)))
    (net (code 76) (name /A2)
      (node (ref U2) (pin 8))
      (node (ref U1) (pin 32))
      (node (ref U3) (pin 8))
      (node (ref U21) (pin 13)))
    (net (code 77) (name "Net-(C1-Pad1)")
      (node (ref C1) (pin 1))
      (node (ref U1) (pin 16))
      (node (ref SW2) (pin 2))
      (node (ref R2) (pin 1))
      (node (ref J1) (pin 1)))
    (net (code 78) (name "Net-(C3-Pad1)")
      (node (ref R1) (pin 2))
      (node (ref C3) (pin 1))
      (node (ref Y1) (pin 2))
      (node (ref U11) (pin 11))
      (node (ref U11) (pin 12)))
    (net (code 79) (name "Net-(U1-Pad6)")
      (node (ref U11) (pin 10))
      (node (ref U1) (pin 6)))
    (net (code 80) (name "Net-(U1-Pad27)")
      (node (ref U1) (pin 27)))
    (net (code 81) (name "Net-(U1-Pad19)")
      (node (ref U1) (pin 19)))
    (net (code 82) (name "Net-(U1-Pad23)")
      (node (ref U1) (pin 23)))
    (net (code 84) (name "Net-(U1-Pad28)")
      (node (ref U1) (pin 28)))
    (net (code 85) (name "Net-(D1-Pad2)")
      (node (ref D1) (pin 2))
      (node (ref R4) (pin 1)))
    (net (code 86) (name "Net-(D1-Pad1)")
      (node (ref J3) (pin 1))
      (node (ref D1) (pin 1))
      (node (ref U1) (pin 18)))
    (net (code 87) (name /IORQ)
      (node (ref U1) (pin 20)))
    (net (code 88) (name /RD)
      (node (ref U1) (pin 21)))
    (net (code 89) (name /WR)
      (node (ref U1) (pin 22)))
    (net (code 90) (name "Net-(U1-Pad26)")
      (node (ref U10) (pin 11))
      (node (ref U1) (pin 26)))
    (net (code 91) (name "Net-(C6-Pad1)")
      (node (ref R5) (pin 2))
      (node (ref J4) (pin 1))
      (node (ref C6) (pin 1))
      (node (ref SW1) (pin 2))
      (node (ref U10) (pin 12))
      (node (ref U10) (pin 13)))
    (net (code 92) (name "Net-(C2-Pad1)")
      (node (ref Y1) (pin 1))
      (node (ref R1) (pin 1))
      (node (ref C2) (pin 1))
      (node (ref U11) (pin 13)))))