(kicad_pcb (version 20221018) (generator pcbnew)
  (general
    (thickness 1.6)
  )
  (paper "A4")
  (layers
    (0 "F.Cu" signal)
    (1 "In1.Cu" signal)
    (2 "In2.Cu" signal)
    (31 "B.Cu" signal)
    (32 "B.Adhes" user "B.Adhesive")
    (33 "F.Adhes" user "F.Adhesive")
    (34 "B.Paste" user)
    (35 "F.Paste" user)
    (36 "B.SilkS" user "B.Silkscreen")
    (37 "F.SilkS" user "F.Silkscreen")
    (38 "B.Mask" user)
    (39 "F.Mask" user)
    (40 "Dwgs.User" user "User.Drawings")
    (41 "Cmts.User" user "User.Comments")
    (42 "Eco1.User" user "User.Eco1")
    (43 "Eco2.User" user "User.Eco2")
    (44 "Edge.Cuts" user)
    (45 "Margin" user)
    (46 "B.CrtYd" user "B.Courtyard")
    (47 "F.CrtYd" user "F.Courtyard")
    (48 "B.Fab" user)
    (49 "F.Fab" user)
    (50 "User.1" user)
    (51 "User.2" user)
    (52 "User.3" user)
    (53 "User.4" user)
    (54 "User.5" user)
    (55 "User.6" user)
    (56 "User.7" user)
    (57 "User.8" user)
    (58 "User.9" user)
  )
  (setup
    (stackup
      (layer "F.SilkS" (type "Top Silk Screen"))
      (layer "F.Paste" (type "Top Solder Paste"))
      (layer "F.Mask" (type "Top Solder Mask") (thickness 0.01))
      (layer "F.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 1" (type "prepreg") (thickness 0.1) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In1.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 2" (type "core") (thickness 1.24) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "In2.Cu" (type "copper") (thickness 0.035))
      (layer "dielectric 3" (type "prepreg") (thickness 0.1) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02))
      (layer "B.Cu" (type "copper") (thickness 0.035))
      (layer "B.Mask" (type "Bottom Solder Mask") (thickness 0.01))
      (layer "B.Paste" (type "Bottom Solder Paste"))
      (layer "B.SilkS" (type "Bottom Silk Screen"))
      (copper_finish "None")
      (dielectric_constraints no)
    )
    (pad_to_mask_clearance 0)
    (grid_origin 86.233 87.249)
    (pcbplotparams
      (layerselection 0x00010fc_fffffff9)
      (plot_on_all_layers_selection 0x0000000_00000000)
      (disableapertmacros false)
      (usegerberextensions true)
      (usegerberattributes false)
      (usegerberadvancedattributes false)
      (creategerberjobfile false)
      (dashed_line_dash_ratio 12.000000)
      (dashed_line_gap_ratio 3.000000)
      (svgprecision 4)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (dxfpolygonmode true)
      (dxfimperialunits true)
      (dxfusepcbnewfont true)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (sketchpadsonfab false)
      (subtractmaskfromsilk true)
      (outputformat 1)
      (mirror false)
      (drillshape 0)
      (scaleselection 1)
      (outputdirectory "dram-837-8015-01-gerbers/")
    )
  )
  (net 0 "")
  (net 1 "unconnected-(U1-N.C.-Pad11)")
  (net 2 "GND")
  (net 3 "unconnected-(U1-N.C.-Pad15)")
  (net 4 "VCC2")
  (net 5 "unconnected-(U1-N.C.-Pad29)")
  (net 6 "unconnected-(U1-N.C.-Pad30)")
  (net 7 "D4")
  (net 8 "D3")
  (net 9 "D2")
  (net 10 "D1")
  (net 11 "D0")
  (net 12 "D15")
  (net 13 "D14")
  (net 14 "D13")
  (net 15 "D12")
  (net 16 "D11")
  (net 17 "D10")
  (net 18 "D9")
  (net 19 "D8")
  (net 20 "D7")
  (net 21 "D6")
  (net 22 "D5")
  (net 23 "~{COE}")
  (net 24 "PA8")
  (net 25 "PA7")
  (net 26 "PA6")
  (net 27 "PA5")
  (net 28 "PA4")
  (net 29 "PA3")
  (net 30 "PA2")
  (net 31 "PA1")
  (net 32 "PA0")
  (net 33 "~{PRAS}")
  (net 34 "~{PCAS}")
  (net 35 "~{CUWE}")
  (net 36 "unconnected-(IC5-N.C.-Pad10)")
  (net 37 "unconnected-(IC6-N.C.-Pad10)")
  (net 38 "unconnected-(IC7-N.C.-Pad10)")
  (net 39 "unconnected-(IC8-N.C.-Pad10)")
  (net 40 "~{CLWE}")
  (footprint "MegaCD_Footprints:ZIP-20-No-silk" (layer "F.Cu")
    (at 119.38 117.221 90)
    (descr "20-lead though-hole mounted DIP package, row spacing 7.62 mm (300 mils)")
    (tags "THT DIP DIL PDIP 2.54mm 7.62mm 300mil")
    (property "Sheetfile" "MegaCD.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "IC7" (at 2.54 -0.762 90) (layer "F.SilkS"))
    (fp_text value "MB81C4256Z" (at 1.27 26.67 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.016 -2.54 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 23 "~{COE}") (pinfunction "~{OE}") (pintype "input"))
    (pad "2" thru_hole roundrect (at 2.54 1.27 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 34 "~{PCAS}") (pinfunction "~{CAS}") (pintype "input"))
    (pad "3" thru_hole roundrect (at 0 2.54 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 17 "D10") (pinfunction "D2") (pintype "tri_state"))
    (pad "4" thru_hole roundrect (at 2.54 3.81 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 16 "D11") (pinfunction "D3") (pintype "tri_state"))
    (pad "5" thru_hole roundrect (at 0 5.08 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pinfunction "VSS") (pintype "power_in"))
    (pad "6" thru_hole roundrect (at 2.54 6.35 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 19 "D8") (pinfunction "D0") (pintype "tri_state"))
    (pad "7" thru_hole roundrect (at 0 7.62 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 18 "D9") (pinfunction "D1") (pintype "tri_state"))
    (pad "8" thru_hole roundrect (at 2.54 8.89 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 35 "~{CUWE}") (pinfunction "~{WE}") (pintype "input"))
    (pad "9" thru_hole roundrect (at 0 10.16 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 33 "~{PRAS}") (pinfunction "~{RAS}") (pintype "input"))
    (pad "10" thru_hole roundrect (at 2.54 11.43 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 38 "unconnected-(IC7-N.C.-Pad10)") (pinfunction "N.C.") (pintype "input+no_connect"))
    (pad "11" thru_hole roundrect (at 0 12.7 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 32 "PA0") (pinfunction "A0") (pintype "input"))
    (pad "12" thru_hole roundrect (at 2.54 13.97 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 31 "PA1") (pinfunction "A1") (pintype "input"))
    (pad "13" thru_hole roundrect (at 0 15.24 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 30 "PA2") (pinfunction "A2") (pintype "input"))
    (pad "14" thru_hole roundrect (at 2.54 16.51 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 29 "PA3") (pinfunction "A3") (pintype "input"))
    (pad "15" thru_hole roundrect (at 0 17.78 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 4 "VCC2") (pinfunction "VCC") (pintype "power_in"))
    (pad "16" thru_hole roundrect (at 2.54 19.05 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 28 "PA4") (pinfunction "A4") (pintype "input"))
    (pad "17" thru_hole roundrect (at 0 20.32 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 27 "PA5") (pinfunction "A5") (pintype "input"))
    (pad "18" thru_hole roundrect (at 2.54 21.59 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 26 "PA6") (pinfunction "A6") (pintype "input"))
    (pad "19" thru_hole roundrect (at 0 22.86 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 25 "PA7") (pinfunction "A7") (pintype "input"))
    (pad "20" thru_hole roundrect (at 2.54 24.13 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 24 "PA8") (pinfunction "A8") (pintype "input"))
    (model "${KICAD6_3DMODEL_DIR}/Package_DIP.3dshapes/DIP-20_W7.62mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm" (layer "F.Cu")
    (at 174.752 126.599 90)
    (descr "C, Disc series, Radial, pin pitch=2.50mm, , diameter*width=3.0*1.6mm^2, Capacitor, http://www.vishay.com/docs/45233/krseries.pdf")
    (tags "C Disc series Radial pin pitch 2.50mm  diameter 3.0mm width 1.6mm Capacitor")
    (property "Sheetfile" "MegaCD.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Polarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr through_hole)
    (fp_text reference "C2" (at 4.806 0 90) (layer "F.SilkS"))
    (fp_text value "10uF" (at 1.25 2.05 90) (layer "F.Fab"))
    (fp_text user "${VALUE}" (at 1.25 -1.905 90 unlocked) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 1.25 0 90) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0 90) (size 1.6 1.6) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 4 "VCC2") (pintype "passive"))
    (pad "2" thru_hole circle (at 2.5 0 90) (size 1.6 1.6) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_THT.3dshapes/C_Disc_D3.0mm_W1.6mm_P2.50mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "MegaCD_Footprints:ZIP-20-No-silk" (layer "F.Cu")
    (at 148.209 124.7902 90)
    (descr "20-lead though-hole mounted DIP package, row spacing 7.62 mm (300 mils)")
    (tags "THT DIP DIL PDIP 2.54mm 7.62mm 300mil")
    (property "Sheetfile" "MegaCD.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "IC6" (at 2.4892 -0.762 90) (layer "F.SilkS"))
    (fp_text value "MB81C4256Z" (at 1.27 26.67 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.016 -2.54 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 23 "~{COE}") (pinfunction "~{OE}") (pintype "input"))
    (pad "2" thru_hole roundrect (at 2.54 1.27 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 34 "~{PCAS}") (pinfunction "~{CAS}") (pintype "input"))
    (pad "3" thru_hole roundrect (at 0 2.54 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 21 "D6") (pinfunction "D2") (pintype "tri_state"))
    (pad "4" thru_hole roundrect (at 2.54 3.81 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 20 "D7") (pinfunction "D3") (pintype "tri_state"))
    (pad "5" thru_hole roundrect (at 0 5.08 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pinfunction "VSS") (pintype "power_in"))
    (pad "6" thru_hole roundrect (at 2.54 6.35 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 7 "D4") (pinfunction "D0") (pintype "tri_state"))
    (pad "7" thru_hole roundrect (at 0 7.62 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 22 "D5") (pinfunction "D1") (pintype "tri_state"))
    (pad "8" thru_hole roundrect (at 2.54 8.89 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 40 "~{CLWE}") (pinfunction "~{WE}") (pintype "input"))
    (pad "9" thru_hole roundrect (at 0 10.16 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 33 "~{PRAS}") (pinfunction "~{RAS}") (pintype "input"))
    (pad "10" thru_hole roundrect (at 2.54 11.43 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 37 "unconnected-(IC6-N.C.-Pad10)") (pinfunction "N.C.") (pintype "input+no_connect"))
    (pad "11" thru_hole roundrect (at 0 12.7 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 32 "PA0") (pinfunction "A0") (pintype "input"))
    (pad "12" thru_hole roundrect (at 2.54 13.97 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 31 "PA1") (pinfunction "A1") (pintype "input"))
    (pad "13" thru_hole roundrect (at 0 15.24 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 30 "PA2") (pinfunction "A2") (pintype "input"))
    (pad "14" thru_hole roundrect (at 2.54 16.51 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 29 "PA3") (pinfunction "A3") (pintype "input"))
    (pad "15" thru_hole roundrect (at 0 17.78 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 4 "VCC2") (pinfunction "VCC") (pintype "power_in"))
    (pad "16" thru_hole roundrect (at 2.54 19.05 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 28 "PA4") (pinfunction "A4") (pintype "input"))
    (pad "17" thru_hole roundrect (at 0 20.32 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 27 "PA5") (pinfunction "A5") (pintype "input"))
    (pad "18" thru_hole roundrect (at 2.54 21.59 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 26 "PA6") (pinfunction "A6") (pintype "input"))
    (pad "19" thru_hole roundrect (at 0 22.86 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 25 "PA7") (pinfunction "A7") (pintype "input"))
    (pad "20" thru_hole roundrect (at 2.54 24.13 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 24 "PA8") (pinfunction "A8") (pintype "input"))
    (model "${KICAD6_3DMODEL_DIR}/Package_DIP.3dshapes/DIP-20_W7.62mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "MegaCD_Footprints:SOJ-40" (layer "F.Cu")
    (at 147.193 117.856 90)
    (property "Sheetfile" "MegaCD.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "U1" (at 8.382 -1.27 90 unlocked) (layer "F.SilkS"))
    (fp_text value "HM514270" (at 6.223 27.686 90 unlocked) (layer "F.Fab"))
    (fp_text user "${VALUE}" (at 7.112 13.335 unlocked) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 5.842 13.081 180 unlocked) (layer "F.Fab"))
    (pad "1" smd rect (at 0.635 1.27 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 4 "VCC2") (pinfunction "VCC") (pintype "power_in") (thermal_bridge_angle 45))
    (pad "2" smd rect (at 0.635 2.54 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 11 "D0") (pinfunction "D0") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "3" smd rect (at 0.635 3.81 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 10 "D1") (pinfunction "D1") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "4" smd rect (at 0.635 5.08 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 9 "D2") (pinfunction "D2") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "5" smd rect (at 0.635 6.35 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 8 "D3") (pinfunction "D3") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "6" smd rect (at 0.635 7.62 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 4 "VCC2") (pinfunction "VCC") (pintype "power_in") (thermal_bridge_angle 45))
    (pad "7" smd rect (at 0.635 8.89 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 7 "D4") (pinfunction "D4") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "8" smd rect (at 0.635 10.16 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 22 "D5") (pinfunction "D5") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "9" smd rect (at 0.635 11.43 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 21 "D6") (pinfunction "D6") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "10" smd rect (at 0.635 12.7 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 20 "D7") (pinfunction "D7") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "11" smd rect (at 0.635 13.97 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "unconnected-(U1-N.C.-Pad11)") (pinfunction "N.C.") (pintype "no_connect") (thermal_bridge_angle 45))
    (pad "12" smd rect (at 0.635 15.24 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 40 "~{CLWE}") (pinfunction "~{LWE}") (pintype "input") (thermal_bridge_angle 45))
    (pad "13" smd rect (at 0.635 16.51 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 35 "~{CUWE}") (pinfunction "~{UWE}") (pintype "input") (thermal_bridge_angle 45))
    (pad "14" smd rect (at 0.635 17.78 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 33 "~{PRAS}") (pinfunction "~{RAS}") (pintype "input") (thermal_bridge_angle 45))
    (pad "15" smd rect (at 0.635 19.05 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 3 "unconnected-(U1-N.C.-Pad15)") (pinfunction "N.C.") (pintype "no_connect") (thermal_bridge_angle 45))
    (pad "16" smd rect (at 0.635 20.32 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 32 "PA0") (pinfunction "A0") (pintype "input") (thermal_bridge_angle 45))
    (pad "17" smd rect (at 0.635 21.59 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 31 "PA1") (pinfunction "A1") (pintype "input") (thermal_bridge_angle 45))
    (pad "18" smd rect (at 0.635 22.86 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 30 "PA2") (pinfunction "A2") (pintype "input") (thermal_bridge_angle 45))
    (pad "19" smd rect (at 0.635 24.13 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 29 "PA3") (pinfunction "A3") (pintype "input") (thermal_bridge_angle 45))
    (pad "20" smd rect (at 0.635 25.4 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 4 "VCC2") (pinfunction "VCC") (pintype "power_in") (thermal_bridge_angle 45))
    (pad "21" smd rect (at 10.795 25.4 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "GND") (pinfunction "VSS") (pintype "power_in") (thermal_bridge_angle 45))
    (pad "22" smd rect (at 10.795 24.13 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 28 "PA4") (pinfunction "A4") (pintype "input") (thermal_bridge_angle 45))
    (pad "23" smd rect (at 10.795 22.86 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 27 "PA5") (pinfunction "A5") (pintype "input") (thermal_bridge_angle 45))
    (pad "24" smd rect (at 10.795 21.59 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 26 "PA6") (pinfunction "A6") (pintype "input") (thermal_bridge_angle 45))
    (pad "25" smd rect (at 10.795 20.32 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 25 "PA7") (pinfunction "A7") (pintype "input") (thermal_bridge_angle 45))
    (pad "26" smd rect (at 10.795 19.05 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 24 "PA8") (pinfunction "A7") (pintype "input") (thermal_bridge_angle 45))
    (pad "27" smd rect (at 10.795 17.78 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 23 "~{COE}") (pinfunction "~{OE}") (pintype "input") (thermal_bridge_angle 45))
    (pad "28" smd rect (at 10.795 16.51 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 34 "~{PCAS}") (pinfunction "~{CAS}") (pintype "input") (thermal_bridge_angle 45))
    (pad "29" smd rect (at 10.795 15.24 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 5 "unconnected-(U1-N.C.-Pad29)") (pinfunction "N.C.") (pintype "no_connect") (thermal_bridge_angle 45))
    (pad "30" smd rect (at 10.795 13.97 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 6 "unconnected-(U1-N.C.-Pad30)") (pinfunction "N.C.") (pintype "no_connect") (thermal_bridge_angle 45))
    (pad "31" smd rect (at 10.795 12.7 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 19 "D8") (pinfunction "D8") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "32" smd rect (at 10.795 11.43 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 18 "D9") (pinfunction "D9") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "33" smd rect (at 10.795 10.16 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 17 "D10") (pinfunction "D10") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "34" smd rect (at 10.795 8.89 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 16 "D11") (pinfunction "D11") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "35" smd rect (at 10.795 7.62 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "GND") (pinfunction "VSS") (pintype "power_in") (thermal_bridge_angle 45))
    (pad "36" smd rect (at 10.795 6.35 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 15 "D12") (pinfunction "D12") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "37" smd rect (at 10.795 5.08 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 14 "D13") (pinfunction "D13") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "38" smd rect (at 10.795 3.81 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 13 "D14") (pinfunction "D14") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "39" smd rect (at 10.795 2.54 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 12 "D15") (pinfunction "D15") (pintype "tri_state") (thermal_bridge_angle 45))
    (pad "40" smd rect (at 10.795 1.27 90) (size 3.4 0.7) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "GND") (pinfunction "VSS") (pintype "power_in") (thermal_bridge_angle 45))
  )
  (footprint "MegaCD_Footprints:ZIP-20-No-silk" (layer "F.Cu")
    (at 119.38 110.3122 90)
    (descr "20-lead though-hole mounted DIP package, row spacing 7.62 mm (300 mils)")
    (tags "THT DIP DIL PDIP 2.54mm 7.62mm 300mil")
    (property "Sheetfile" "MegaCD.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "IC8" (at 2.4892 -0.762 90) (layer "F.SilkS"))
    (fp_text value "MB81C4256Z" (at 1.27 26.67 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.016 -2.54 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 23 "~{COE}") (pinfunction "~{OE}") (pintype "input"))
    (pad "2" thru_hole roundrect (at 2.54 1.27 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 34 "~{PCAS}") (pinfunction "~{CAS}") (pintype "input"))
    (pad "3" thru_hole roundrect (at 0 2.54 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 13 "D14") (pinfunction "D2") (pintype "tri_state"))
    (pad "4" thru_hole roundrect (at 2.54 3.81 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 12 "D15") (pinfunction "D3") (pintype "tri_state"))
    (pad "5" thru_hole roundrect (at 0 5.08 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pinfunction "VSS") (pintype "power_in"))
    (pad "6" thru_hole roundrect (at 2.54 6.35 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 15 "D12") (pinfunction "D0") (pintype "tri_state"))
    (pad "7" thru_hole roundrect (at 0 7.62 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 14 "D13") (pinfunction "D1") (pintype "tri_state"))
    (pad "8" thru_hole roundrect (at 2.54 8.89 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 35 "~{CUWE}") (pinfunction "~{WE}") (pintype "input"))
    (pad "9" thru_hole roundrect (at 0 10.16 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 33 "~{PRAS}") (pinfunction "~{RAS}") (pintype "input"))
    (pad "10" thru_hole roundrect (at 2.54 11.43 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 39 "unconnected-(IC8-N.C.-Pad10)") (pinfunction "N.C.") (pintype "input+no_connect"))
    (pad "11" thru_hole roundrect (at 0 12.7 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 32 "PA0") (pinfunction "A0") (pintype "input"))
    (pad "12" thru_hole roundrect (at 2.54 13.97 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 31 "PA1") (pinfunction "A1") (pintype "input"))
    (pad "13" thru_hole roundrect (at 0 15.24 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 30 "PA2") (pinfunction "A2") (pintype "input"))
    (pad "14" thru_hole roundrect (at 2.54 16.51 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 29 "PA3") (pinfunction "A3") (pintype "input"))
    (pad "15" thru_hole roundrect (at 0 17.78 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 4 "VCC2") (pinfunction "VCC") (pintype "power_in"))
    (pad "16" thru_hole roundrect (at 2.54 19.05 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 28 "PA4") (pinfunction "A4") (pintype "input"))
    (pad "17" thru_hole roundrect (at 0 20.32 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 27 "PA5") (pinfunction "A5") (pintype "input"))
    (pad "18" thru_hole roundrect (at 2.54 21.59 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 26 "PA6") (pinfunction "A6") (pintype "input"))
    (pad "19" thru_hole roundrect (at 0 22.86 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 25 "PA7") (pinfunction "A7") (pintype "input"))
    (pad "20" thru_hole roundrect (at 2.54 24.13 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 24 "PA8") (pinfunction "A8") (pintype "input"))
    (model "${KICAD6_3DMODEL_DIR}/Package_DIP.3dshapes/DIP-20_W7.62mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "MegaCD_Footprints:ZIP-20-No-silk" (layer "F.Cu")
    (at 148.209 130.8354 90)
    (descr "20-lead though-hole mounted DIP package, row spacing 7.62 mm (300 mils)")
    (tags "THT DIP DIL PDIP 2.54mm 7.62mm 300mil")
    (property "Sheetfile" "MegaCD.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "IC5" (at 2.5654 -0.762 90) (layer "F.SilkS"))
    (fp_text value "MB81C4256Z" (at 1.27 26.67 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 1.016 -2.54 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 23 "~{COE}") (pinfunction "~{OE}") (pintype "input"))
    (pad "2" thru_hole roundrect (at 2.54 1.27 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 34 "~{PCAS}") (pinfunction "~{CAS}") (pintype "input"))
    (pad "3" thru_hole roundrect (at 0 2.54 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 9 "D2") (pinfunction "D2") (pintype "tri_state"))
    (pad "4" thru_hole roundrect (at 2.54 3.81 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 8 "D3") (pinfunction "D3") (pintype "tri_state"))
    (pad "5" thru_hole roundrect (at 0 5.08 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 2 "GND") (pinfunction "VSS") (pintype "power_in"))
    (pad "6" thru_hole roundrect (at 2.54 6.35 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 11 "D0") (pinfunction "D0") (pintype "tri_state"))
    (pad "7" thru_hole roundrect (at 0 7.62 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 10 "D1") (pinfunction "D1") (pintype "tri_state"))
    (pad "8" thru_hole roundrect (at 2.54 8.89 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 40 "~{CLWE}") (pinfunction "~{WE}") (pintype "input"))
    (pad "9" thru_hole roundrect (at 0 10.16 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 33 "~{PRAS}") (pinfunction "~{RAS}") (pintype "input"))
    (pad "10" thru_hole roundrect (at 2.54 11.43 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 36 "unconnected-(IC5-N.C.-Pad10)") (pinfunction "N.C.") (pintype "input+no_connect"))
    (pad "11" thru_hole roundrect (at 0 12.7 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 32 "PA0") (pinfunction "A0") (pintype "input"))
    (pad "12" thru_hole roundrect (at 2.54 13.97 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 31 "PA1") (pinfunction "A1") (pintype "input"))
    (pad "13" thru_hole roundrect (at 0 15.24 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 30 "PA2") (pinfunction "A2") (pintype "input"))
    (pad "14" thru_hole roundrect (at 2.54 16.51 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 29 "PA3") (pinfunction "A3") (pintype "input"))
    (pad "15" thru_hole roundrect (at 0 17.78 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 4 "VCC2") (pinfunction "VCC") (pintype "power_in"))
    (pad "16" thru_hole roundrect (at 2.54 19.05 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 28 "PA4") (pinfunction "A4") (pintype "input"))
    (pad "17" thru_hole roundrect (at 0 20.32 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 27 "PA5") (pinfunction "A5") (pintype "input"))
    (pad "18" thru_hole roundrect (at 2.54 21.59 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 26 "PA6") (pinfunction "A6") (pintype "input"))
    (pad "19" thru_hole roundrect (at 0 22.86 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 25 "PA7") (pinfunction "A7") (pintype "input"))
    (pad "20" thru_hole roundrect (at 2.54 24.13 90) (size 1.3 1.4) (drill 0.8) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.25)
      (net 24 "PA8") (pinfunction "A8") (pintype "input"))
    (model "${KICAD6_3DMODEL_DIR}/Package_DIP.3dshapes/DIP-20_W7.62mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "MegaCD_Footprints:SMD_0805_HandSolder" (layer "B.Cu")
    (at 149.479 118.364)
    (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "MegaCD.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C1" (at -4.064 -1.651) (layer "B.SilkS"))
    (fp_text value "22nF" (at 0 -1.68) (layer "B.Fab"))
    (fp_text user "${VALUE}" (at -4.318 -0.127 unlocked) (layer "B.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "B.Fab"))
    (pad "1" smd roundrect (at -1.143 0) (size 1.3 1.2) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.2127658333)
      (net 4 "VCC2") (pintype "passive"))
    (pad "2" smd roundrect (at 1.143 0) (size 1.3 1.2) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.2127658333)
      (net 2 "GND") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_arc (start 146.939 133.096) (mid 146.22058 132.79842) (end 145.923 132.08)
    (layer "Edge.Cuts"))
  (gr_arc (start 176.403 132.08) (mid 176.10542 132.79842) (end 175.387 133.096)
    (layer "Edge.Cuts"))
  (gr_line (start 145.923 120.523) (end 145.923 132.08)
    (layer "Edge.Cuts"))
  (gr_line (start 176.403 132.08) (end 176.403 104.902)
    (layer "Edge.Cuts"))
  (gr_arc (start 118.11 119.507) (mid 117.39158 119.20942) (end 117.094 118.491)
    (layer "Edge.Cuts"))
  (gr_arc (start 117.094 104.902) (mid 117.39158 104.18358) (end 118.11 103.886)
    (layer "Edge.Cuts"))
  (gr_line (start 118.11 119.507) (end 144.907 119.507)
    (layer "Edge.Cuts"))
  (gr_line (start 117.094 118.491) (end 117.094 104.902)
    (layer "Edge.Cuts"))
  (gr_line (start 118.11 103.886) (end 175.387 103.886)
    (layer "Edge.Cuts"))
  (gr_line (start 146.939 133.096) (end 175.387 133.096)
    (layer "Edge.Cuts"))
  (gr_arc (start 175.387 103.886) (mid 176.10542 104.18358) (end 176.403 104.902)
    (layer "Edge.Cuts"))
  (gr_arc (start 144.907 119.507) (mid 145.62542 119.80458) (end 145.923 120.523)
    (layer "Edge.Cuts"))
  (gr_text "DO NOT USE THIS LAYER\nFOR DRC PURPOSES ONLY" (at 150.622 107.95) (layer "In1.Cu"))
  (gr_text "DO NOT USE THIS LAYER\nFOR DRC PURPOSES ONLY" (at 149.733 108.204) (layer "In2.Cu"))
  (gr_text "ZIP-TO-SOJ DRAM ADAPTER\nFOR MEGA-CD 837-8015-01\nREV 1.1 BY COSAM 08/2023" (at 160.782 111.379) (layer "B.SilkS"))
  (gr_text "REQUIRED PINS CIRCLED\nALL OTHERS OPTIONAL" (at 165.481 120.142) (layer "B.SilkS"))
  (gr_text "+" (at 173.736 129.54) (layer "F.SilkS"))
  (zone (net 2) (net_name "GND") (layer "F.Cu") (hatch edge 0.5)
    (connect_pads (clearance 0.25))
    (min_thickness 0.25) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.5) (thermal_bridge_width 0.5))
    (polygon
      (pts
        (xy 117.094 103.886)
        (xy 176.403 103.886)
        (xy 176.403 133.096)
        (xy 145.923 133.096)
        (xy 145.923 120.523)
        (xy 144.78 119.507)
        (xy 117.094 119.507)
      )
    )
  )
  (zone (net 2) (net_name "GND") (layer "B.Cu") (hatch edge 0.5)
    (connect_pads (clearance 0.25))
    (min_thickness 0.25) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.5) (thermal_bridge_width 0.5))
    (polygon
      (pts
        (xy 117.094 103.886)
        (xy 176.403 103.886)
        (xy 176.403 133.096)
        (xy 145.923 133.096)
        (xy 145.923 120.523)
        (xy 144.78 119.507)
        (xy 117.094 119.507)
      )
    )
  )
)
