Index: CPC stuff/ch376/ramcard.net
===================================================================
--- CPC stuff/ch376/ramcard.net	(revision 1932780f39bbfffcf1ac6ba7459e06dacaf4ae44)
+++ CPC stuff/ch376/ramcard.net	(revision f3b60868a22121cdf968b7f5f2912e66b33a106f)
@@ -1,15 +1,15 @@
 (export (version D)
   (design
-    (source "C:\\Users\\pulkomandy\\Documents\\DEV\\avrstuff\\CPC stuff\\ch376\\ramcard.sch")
-    (date "18/10/2015 12:18:45")
+    (source "C:/Users/pulkomandy/Documents/DEV/avrstuff/CPC stuff/ch376/ramcard.sch")
+    (date "18/10/2015 18:21:38")
     (tool "Eeschema 4.0.0-rc1-stable")
     (sheet (number 1) (name /) (tstamps /)
       (title_block
-        (title "CH376 CPC USB interface")
+        (title Albireo)
         (company PulkoTronics)
         (rev)
         (date 2015-10-14)
         (source ramcard.sch)
-        (comment (number 1) (value ""))
+        (comment (number 1) (value "Mass storage, USB and Serial interface for Amstrad CPC"))
         (comment (number 2) (value ""))
         (comment (number 3) (value ""))
@@ -172,22 +172,4 @@
       (sheetpath (names /) (tstamps /))
       (tstamp 56237A25))
-    (comp (ref U5)
-      (value 74LS00)
-      (footprint Housings_SOIC:SOIC-14_3.9x8.7mm_Pitch1.27mm)
-      (libsource (lib 74xx) (part 74LS00))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 56239F5E))
-    (comp (ref D1)
-      (value D)
-      (footprint Diodes_ThroughHole:Diode_DO-41_SOD81_Horizontal_RM10)
-      (libsource (lib device) (part D))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 5623AA99))
-    (comp (ref D2)
-      (value D)
-      (footprint Diodes_ThroughHole:Diode_DO-41_SOD81_Horizontal_RM10)
-      (libsource (lib device) (part D))
-      (sheetpath (names /) (tstamps /))
-      (tstamp 5623ABED))
     (comp (ref JP3)
       (value JUMPER)
@@ -207,5 +189,17 @@
       (libsource (lib device) (part JUMPER3))
       (sheetpath (names /) (tstamps /))
-      (tstamp 5623E7BA)))
+      (tstamp 5623E7BA))
+    (comp (ref U5)
+      (value 74LS38)
+      (footprint Housings_SOIC:SOIC-14_3.9x8.7mm_Pitch1.27mm)
+      (libsource (lib 74xx) (part 74LS38))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5623C69E))
+    (comp (ref R6)
+      (value 4K7)
+      (footprint Resistors_SMD:R_0805)
+      (libsource (lib device) (part R))
+      (sheetpath (names /) (tstamps /))
+      (tstamp 5623E101)))
   (libparts
     (libpart (lib device) (part C)
@@ -238,18 +232,27 @@
         (pin (num 1) (name ~) (type passive))
         (pin (num 2) (name ~) (type passive))))
-    (libpart (lib device) (part D)
-      (description Diode)
+    (libpart (lib regul) (part LD1117S33TR)
+      (aliases
+        (alias LD1117S33CTR)
+        (alias LD1117S12TR)
+        (alias LD1117S12CTR)
+        (alias LD1117S18TR)
+        (alias LD1117S18CTR)
+        (alias LD1117S25TR)
+        (alias LD1117S25CTR)
+        (alias LD1117S50TR)
+        (alias LD1117S50CTR))
+      (description "800mA Fixed Low Drop Positive Voltage Regulator, Fixed Output 3.3V, SOT223")
+      (docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00000544.pdf)
       (footprints
-        (fp Diode_*)
-        (fp D-Pak_TO252AA)
-        (fp *SingleDiode)
-        (fp *_Diode_*)
-        (fp *SingleDiode*))
-      (fields
-        (field (name Reference) D)
-        (field (name Value) D))
-      (pins
-        (pin (num 1) (name K) (type passive))
-        (pin (num 2) (name A) (type passive))))
+        (fp SOT223))
+      (fields
+        (field (name Reference) U)
+        (field (name Value) LD1117S33TR)
+        (field (name Footprint) SOT-223))
+      (pins
+        (pin (num 1) (name GND) (type power_in))
+        (pin (num 2) (name VO) (type power_out))
+        (pin (num 3) (name VI) (type power_in))))
     (libpart (lib device) (part JUMPER)
       (fields
@@ -304,32 +307,4 @@
         (pin (num 4) (name GND) (type power_in))
         (pin (num 5) (name shield) (type passive))))
-    (libpart (lib 74xx) (part 74LS00)
-      (aliases
-        (alias 74LS37)
-        (alias 7400)
-        (alias 74HCT00)
-        (alias 74HC00))
-      (description "Quad nand2")
-      (footprints
-        (fp 14DIP300*)
-        (fp SO14*))
-      (fields
-        (field (name Reference) U)
-        (field (name Value) 74LS00))
-      (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 74xx) (part 74LS02)
       (aliases
@@ -400,4 +375,26 @@
         (pin (num 9) (name ~) (type input))
         (pin (num 10) (name ~) (type input))
+        (pin (num 12) (name ~) (type input))
+        (pin (num 13) (name ~) (type input))
+        (pin (num 14) (name VCC) (type power_in))))
+    (libpart (lib 74xx) (part 74LS26)
+      (aliases
+        (alias 74LS38))
+      (description "Quad Nand 2 inputs Open collect.")
+      (fields
+        (field (name Reference) U)
+        (field (name Value) 74LS26))
+      (pins
+        (pin (num 1) (name ~) (type input))
+        (pin (num 2) (name ~) (type input))
+        (pin (num 3) (name ~) (type openCol))
+        (pin (num 4) (name ~) (type input))
+        (pin (num 5) (name ~) (type input))
+        (pin (num 6) (name ~) (type openCol))
+        (pin (num 7) (name GND) (type power_in))
+        (pin (num 8) (name ~) (type openCol))
+        (pin (num 9) (name ~) (type input))
+        (pin (num 10) (name ~) (type input))
+        (pin (num 11) (name ~) (type openCol))
         (pin (num 12) (name ~) (type input))
         (pin (num 13) (name ~) (type input))
@@ -510,27 +507,4 @@
         (pin (num 47) (name D4) (type BiDi))
         (pin (num 48) (name ~) (type NotConnected))))
-    (libpart (lib regul) (part LD1117S33TR)
-      (aliases
-        (alias LD1117S33CTR)
-        (alias LD1117S12TR)
-        (alias LD1117S12CTR)
-        (alias LD1117S18TR)
-        (alias LD1117S18CTR)
-        (alias LD1117S25TR)
-        (alias LD1117S25CTR)
-        (alias LD1117S50TR)
-        (alias LD1117S50CTR))
-      (description "800mA Fixed Low Drop Positive Voltage Regulator, Fixed Output 3.3V, SOT223")
-      (docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00000544.pdf)
-      (footprints
-        (fp SOT223))
-      (fields
-        (field (name Reference) U)
-        (field (name Value) LD1117S33TR)
-        (field (name Footprint) SOT-223))
-      (pins
-        (pin (num 1) (name GND) (type power_in))
-        (pin (num 2) (name VO) (type power_out))
-        (pin (num 3) (name VI) (type power_in))))
     (libpart (lib opendous) (part CONN_SD)
       (fields
@@ -607,4 +581,6 @@
         (pin (num 50) (name P50) (type passive)))))
   (libraries
+    (library (logical opendous)
+      (uri "C:\\Users\\pulkomandy\\Documents\\DEV\\avrstuff\\CPC stuff\\kicadlibs\\Opendous_KiCad_Libraries\\library\\opendous.lib"))
     (library (logical device)
       (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\device.lib"))
@@ -617,6 +593,4 @@
     (library (logical regul)
       (uri "C:\\Program Files\\KiCad\\share\\kicad\\library\\regul.lib"))
-    (library (logical opendous)
-      (uri "C:\\Users\\pulkomandy\\Documents\\DEV\\avrstuff\\CPC stuff\\kicadlibs\\Opendous_KiCad_Libraries\\library\\opendous.lib"))
     (library (logical ramcard-cache)
       (uri "C:\\Users\\pulkomandy\\Documents\\DEV\\avrstuff\\CPC stuff\\ch376\\ramcard-cache.lib")))
@@ -649,11 +623,11 @@
       (node (ref U3) (pin 22)))
     (net (code 11) (name /D2)
+      (node (ref U3) (pin 45))
       (node (ref P1) (pin 24))
-      (node (ref U3) (pin 45))
       (node (ref IC4) (pin 17)))
     (net (code 12) (name //WR)
-      (node (ref U3) (pin 16))
+      (node (ref IC4) (pin 3))
       (node (ref P1) (pin 33))
-      (node (ref IC4) (pin 3)))
+      (node (ref U3) (pin 16)))
     (net (code 13) (name /A2)
       (node (ref P1) (pin 16))
@@ -664,87 +638,87 @@
     (net (code 15) (name /D3)
       (node (ref P1) (pin 23))
-      (node (ref U3) (pin 46))
-      (node (ref IC4) (pin 18)))
+      (node (ref IC4) (pin 18))
+      (node (ref U3) (pin 46)))
     (net (code 16) (name /A1)
-      (node (ref IC2) (pin 12))
       (node (ref U3) (pin 27))
-      (node (ref P1) (pin 17)))
+      (node (ref P1) (pin 17))
+      (node (ref IC2) (pin 12)))
     (net (code 17) (name "Net-(U3-Pad37)")
       (node (ref U3) (pin 37)))
     (net (code 18) (name /D4)
-      (node (ref U3) (pin 47))
+      (node (ref IC4) (pin 19))
       (node (ref P1) (pin 22))
-      (node (ref IC4) (pin 19)))
+      (node (ref U3) (pin 47)))
     (net (code 19) (name /TX)
-      (node (ref U4) (pin 4))
-      (node (ref U3) (pin 8)))
+      (node (ref U3) (pin 8))
+      (node (ref U4) (pin 4)))
     (net (code 20) (name /SD_DO)
       (node (ref U2) (pin 7))
       (node (ref IC4) (pin 7)))
     (net (code 21) (name /SD_DI)
-      (node (ref IC4) (pin 25))
-      (node (ref U2) (pin 2)))
+      (node (ref U2) (pin 2))
+      (node (ref IC4) (pin 25)))
     (net (code 22) (name "Net-(U3-Pad1)")
       (node (ref U3) (pin 1)))
     (net (code 23) (name /D5)
       (node (ref P1) (pin 21))
-      (node (ref IC4) (pin 20))
-      (node (ref U3) (pin 2)))
+      (node (ref U3) (pin 2))
+      (node (ref IC4) (pin 20)))
     (net (code 24) (name /D6)
+      (node (ref IC4) (pin 21))
       (node (ref P1) (pin 20))
-      (node (ref U3) (pin 3))
-      (node (ref IC4) (pin 21)))
+      (node (ref U3) (pin 3)))
     (net (code 25) (name /D7)
+      (node (ref P1) (pin 19))
       (node (ref IC4) (pin 22))
-      (node (ref U3) (pin 4))
-      (node (ref P1) (pin 19)))
+      (node (ref U3) (pin 4)))
     (net (code 26) (name "Net-(U3-Pad6)")
       (node (ref U3) (pin 6)))
     (net (code 27) (name /RX)
-      (node (ref U4) (pin 1))
-      (node (ref U3) (pin 7)))
+      (node (ref U3) (pin 7))
+      (node (ref U4) (pin 1)))
     (net (code 28) (name /A5)
-      (node (ref U3) (pin 9))
+      (node (ref IC2) (pin 9))
       (node (ref P1) (pin 13))
-      (node (ref IC2) (pin 9)))
+      (node (ref U3) (pin 9)))
     (net (code 29) (name /A4)
-      (node (ref U3) (pin 10))
+      (node (ref P1) (pin 14))
       (node (ref IC2) (pin 11))
-      (node (ref P1) (pin 14)))
+      (node (ref U3) (pin 10)))
     (net (code 30) (name GND)
+      (node (ref IC4) (pin 5))
+      (node (ref U5) (pin 7))
+      (node (ref IC4) (pin 12))
+      (node (ref U4) (pin 5))
+      (node (ref U3) (pin 17))
+      (node (ref C3) (pin 2))
+      (node (ref C4) (pin 2))
+      (node (ref P1) (pin 49))
+      (node (ref C2) (pin 2))
+      (node (ref IC2) (pin 7))
+      (node (ref P1) (pin 2))
+      (node (ref C1) (pin 2))
       (node (ref IC3) (pin 8))
-      (node (ref C1) (pin 2))
-      (node (ref IC4) (pin 12))
-      (node (ref C6) (pin 2))
-      (node (ref P2) (pin 4))
-      (node (ref P2) (pin 5))
-      (node (ref C4) (pin 2))
-      (node (ref C3) (pin 2))
-      (node (ref P1) (pin 2))
-      (node (ref C2) (pin 2))
-      (node (ref P1) (pin 49))
+      (node (ref R3) (pin 2))
+      (node (ref U4) (pin 13))
+      (node (ref U3) (pin 24))
       (node (ref C8) (pin 2))
       (node (ref C9) (pin 2))
       (node (ref P3) (pin 4))
-      (node (ref U4) (pin 5))
-      (node (ref IC2) (pin 7))
-      (node (ref U4) (pin 13))
-      (node (ref IC4) (pin 5))
-      (node (ref R3) (pin 2))
+      (node (ref IC1) (pin 7))
       (node (ref U2) (pin 9))
+      (node (ref U2) (pin 16))
+      (node (ref U2) (pin 17))
+      (node (ref U2) (pin 6))
+      (node (ref C7) (pin 2))
+      (node (ref U2) (pin 3))
+      (node (ref C5) (pin 2))
+      (node (ref U3) (pin 18))
+      (node (ref U3) (pin 20))
       (node (ref U1) (pin 1))
-      (node (ref U2) (pin 3))
-      (node (ref U3) (pin 17))
-      (node (ref C7) (pin 2))
-      (node (ref U2) (pin 6))
-      (node (ref U2) (pin 17))
-      (node (ref U2) (pin 16))
-      (node (ref U3) (pin 20))
-      (node (ref U3) (pin 18))
-      (node (ref IC1) (pin 7))
-      (node (ref U5) (pin 7))
+      (node (ref C6) (pin 2))
       (node (ref C10) (pin 2))
-      (node (ref U3) (pin 24))
-      (node (ref C5) (pin 2)))
+      (node (ref P2) (pin 4))
+      (node (ref P2) (pin 5)))
     (net (code 31) (name /INTRPT)
       (node (ref U5) (pin 2))
@@ -754,38 +728,39 @@
       (node (ref U3) (pin 21)))
     (net (code 33) (name //OUT2)
-      (node (ref U5) (pin 5))
-      (node (ref U3) (pin 31)))
+      (node (ref U3) (pin 31))
+      (node (ref U5) (pin 5)))
     (net (code 34) (name "Net-(U3-Pad12)")
-      (node (ref U3) (pin 5))
-      (node (ref U3) (pin 12)))
+      (node (ref U3) (pin 12))
+      (node (ref U3) (pin 5)))
     (net (code 35) (name "Net-(U3-Pad29)")
       (node (ref U3) (pin 29)))
     (net (code 36) (name /24MHz)
-      (node (ref U4) (pin 7))
-      (node (ref U3) (pin 14)))
+      (node (ref U3) (pin 14))
+      (node (ref U4) (pin 7)))
     (net (code 37) (name VCC)
-      (node (ref U1) (pin 3))
-      (node (ref IC1) (pin 14))
+      (node (ref C1) (pin 1))
       (node (ref C3) (pin 1))
-      (node (ref C4) (pin 1))
-      (node (ref P1) (pin 27))
-      (node (ref C2) (pin 1))
-      (node (ref IC2) (pin 14))
       (node (ref U5) (pin 12))
       (node (ref U5) (pin 13))
+      (node (ref C4) (pin 1))
+      (node (ref IC4) (pin 28))
+      (node (ref P1) (pin 27))
+      (node (ref IC2) (pin 14))
+      (node (ref U5) (pin 14))
+      (node (ref U3) (pin 42))
+      (node (ref IC1) (pin 14))
+      (node (ref R1) (pin 2))
+      (node (ref C2) (pin 1))
+      (node (ref U4) (pin 12))
+      (node (ref R6) (pin 1))
       (node (ref IC3) (pin 16))
-      (node (ref IC4) (pin 28))
-      (node (ref U3) (pin 42))
-      (node (ref R1) (pin 2))
-      (node (ref C1) (pin 1))
-      (node (ref U4) (pin 12))
-      (node (ref U5) (pin 14)))
+      (node (ref U1) (pin 3)))
     (net (code 38) (name /12MHz)
       (node (ref IC4) (pin 13))
       (node (ref U4) (pin 14)))
     (net (code 39) (name /A0)
-      (node (ref P1) (pin 18))
       (node (ref U3) (pin 28))
-      (node (ref IC4) (pin 8)))
+      (node (ref IC4) (pin 8))
+      (node (ref P1) (pin 18)))
     (net (code 40) (name //CTS)
       (node (ref U4) (pin 2))
@@ -794,19 +769,19 @@
       (node (ref U3) (pin 48)))
     (net (code 42) (name //RD)
-      (node (ref P1) (pin 32))
+      (node (ref U3) (pin 19))
       (node (ref IC4) (pin 4))
-      (node (ref U3) (pin 19)))
+      (node (ref P1) (pin 32)))
     (net (code 43) (name "Net-(U3-Pad39)")
       (node (ref U3) (pin 39)))
     (net (code 44) (name /SD_CLK)
-      (node (ref IC4) (pin 26))
-      (node (ref U2) (pin 5)))
+      (node (ref U2) (pin 5))
+      (node (ref IC4) (pin 26)))
     (net (code 45) (name "Net-(C5-Pad1)")
+      (node (ref R1) (pin 1))
       (node (ref P2) (pin 1))
-      (node (ref R1) (pin 1))
       (node (ref C5) (pin 1)))
     (net (code 46) (name "Net-(C6-Pad1)")
-      (node (ref C6) (pin 1))
-      (node (ref IC4) (pin 9)))
+      (node (ref IC4) (pin 9))
+      (node (ref C6) (pin 1)))
     (net (code 47) (name //SD_CS)
       (node (ref IC4) (pin 23))
@@ -815,193 +790,188 @@
       (node (ref IC4) (pin 24)))
     (net (code 49) (name +3V3)
-      (node (ref U2) (pin 4))
+      (node (ref U1) (pin 2))
       (node (ref C7) (pin 1))
-      (node (ref U1) (pin 2)))
-    (net (code 50) (name "Net-(IC4-Pad1)")
+      (node (ref U2) (pin 4)))
+    (net (code 50) (name "Net-(IC4-Pad6)")
+      (node (ref IC4) (pin 6)))
+    (net (code 51) (name "Net-(IC4-Pad10)")
+      (node (ref P2) (pin 3))
+      (node (ref IC4) (pin 10)))
+    (net (code 52) (name "Net-(IC4-Pad11)")
+      (node (ref IC4) (pin 11))
+      (node (ref P2) (pin 2)))
+    (net (code 53) (name "Net-(U2-Pad14)")
+      (node (ref U2) (pin 14)))
+    (net (code 54) (name "Net-(U2-Pad15)")
+      (node (ref U2) (pin 15)))
+    (net (code 55) (name "Net-(U2-Pad8)")
+      (node (ref U2) (pin 8)))
+    (net (code 56) (name "Net-(IC4-Pad2)")
+      (node (ref JP3) (pin 2))
+      (node (ref IC4) (pin 2)))
+    (net (code 57) (name //DCD)
+      (node (ref JP2) (pin 1))
+      (node (ref U3) (pin 40)))
+    (net (code 58) (name "Net-(IC4-Pad1)")
       (node (ref IC4) (pin 1))
       (node (ref JP2) (pin 2)))
-    (net (code 51) (name "Net-(IC4-Pad2)")
-      (node (ref IC4) (pin 2))
-      (node (ref JP3) (pin 2)))
-    (net (code 52) (name "Net-(IC4-Pad6)")
-      (node (ref IC4) (pin 6)))
-    (net (code 53) (name "Net-(IC4-Pad10)")
-      (node (ref P2) (pin 3))
-      (node (ref IC4) (pin 10)))
-    (net (code 54) (name "Net-(IC4-Pad11)")
-      (node (ref IC4) (pin 11))
-      (node (ref P2) (pin 2)))
-    (net (code 55) (name "Net-(U2-Pad14)")
-      (node (ref U2) (pin 14)))
-    (net (code 56) (name "Net-(U2-Pad15)")
-      (node (ref U2) (pin 15)))
-    (net (code 57) (name "Net-(U2-Pad8)")
-      (node (ref U2) (pin 8)))
-    (net (code 58) (name "Net-(U5-Pad11)")
-      (node (ref U5) (pin 11)))
-    (net (code 59) (name "Net-(D1-Pad1)")
-      (node (ref D1) (pin 1))
-      (node (ref U5) (pin 3)))
-    (net (code 60) (name "Net-(D2-Pad1)")
-      (node (ref D2) (pin 1))
-      (node (ref U5) (pin 6)))
-    (net (code 61) (name /PRESET)
-      (node (ref U5) (pin 8))
-      (node (ref U3) (pin 35))
-      (node (ref JP3) (pin 1)))
-    (net (code 62) (name //RI)
+    (net (code 59) (name //RI)
       (node (ref JP1) (pin 1))
       (node (ref U3) (pin 41)))
-    (net (code 63) (name //DCD)
-      (node (ref JP2) (pin 1))
-      (node (ref U3) (pin 40)))
-    (net (code 64) (name /GPO2)
+    (net (code 60) (name /GPO2)
       (node (ref JP1) (pin 2))
       (node (ref U4) (pin 15)))
-    (net (code 65) (name "Net-(C10-Pad1)")
-      (node (ref U4) (pin 11))
+    (net (code 61) (name /PRESET)
+      (node (ref JP3) (pin 1))
+      (node (ref R6) (pin 2))
+      (node (ref U5) (pin 8))
+      (node (ref U3) (pin 35)))
+    (net (code 62) (name "Net-(U5-Pad11)")
+      (node (ref U5) (pin 11)))
+    (net (code 63) (name "Net-(C10-Pad1)")
+      (node (ref U4) (pin 3))
+      (node (ref U4) (pin 10))
       (node (ref C10) (pin 1))
-      (node (ref U4) (pin 3))
-      (node (ref U4) (pin 10)))
-    (net (code 66) (name "Net-(P3-Pad1)")
+      (node (ref U4) (pin 11)))
+    (net (code 64) (name "Net-(P3-Pad1)")
       (node (ref P3) (pin 1))
       (node (ref R2) (pin 1)))
-    (net (code 67) (name /VBUS_Sense)
-      (node (ref R3) (pin 1))
+    (net (code 65) (name /VBUS_Sense)
+      (node (ref U4) (pin 16))
       (node (ref R2) (pin 2))
-      (node (ref U4) (pin 16)))
-    (net (code 68) (name "Net-(R4-Pad1)")
-      (node (ref R4) (pin 1))
-      (node (ref U4) (pin 9)))
-    (net (code 69) (name "Net-(R5-Pad1)")
-      (node (ref R5) (pin 1))
-      (node (ref U4) (pin 8)))
-    (net (code 70) (name "Net-(C9-Pad1)")
+      (node (ref R3) (pin 1)))
+    (net (code 66) (name "Net-(R4-Pad1)")
+      (node (ref U4) (pin 9))
+      (node (ref R4) (pin 1)))
+    (net (code 67) (name "Net-(R5-Pad1)")
+      (node (ref U4) (pin 8))
+      (node (ref R5) (pin 1)))
+    (net (code 68) (name "Net-(C9-Pad1)")
       (node (ref R4) (pin 2))
       (node (ref P3) (pin 2))
       (node (ref C9) (pin 1)))
-    (net (code 71) (name "Net-(C8-Pad1)")
+    (net (code 69) (name "Net-(C8-Pad1)")
+      (node (ref C8) (pin 1))
       (node (ref R5) (pin 2))
-      (node (ref C8) (pin 1))
       (node (ref P3) (pin 3)))
-    (net (code 72) (name "Net-(P3-Pad5)")
+    (net (code 70) (name "Net-(P3-Pad5)")
       (node (ref P3) (pin 5)))
-    (net (code 73) (name //NMI)
+    (net (code 71) (name //NMI)
       (node (ref P1) (pin 36))
-      (node (ref D1) (pin 2)))
-    (net (code 74) (name //INT)
-      (node (ref P1) (pin 35))
-      (node (ref D2) (pin 2)))
-    (net (code 75) (name /BUSRST)
+      (node (ref U5) (pin 6)))
+    (net (code 72) (name //INT)
+      (node (ref U5) (pin 3))
+      (node (ref P1) (pin 35)))
+    (net (code 73) (name /BUSRST)
       (node (ref P1) (pin 40))
       (node (ref JP1) (pin 3)))
-    (net (code 76) (name //RESET)
-      (node (ref P1) (pin 41))
+    (net (code 74) (name //RESET)
       (node (ref U5) (pin 9))
-      (node (ref U5) (pin 10)))
-    (net (code 77) (name "Net-(P1-Pad28)")
+      (node (ref U5) (pin 10))
+      (node (ref P1) (pin 41)))
+    (net (code 75) (name "Net-(P1-Pad28)")
       (node (ref P1) (pin 28)))
-    (net (code 78) (name //IORQ)
-      (node (ref IC3) (pin 5))
-      (node (ref P1) (pin 31)))
-    (net (code 79) (name /FE80)
-      (node (ref IC4) (pin 27))
-      (node (ref IC3) (pin 7)))
-    (net (code 80) (name "Net-(IC3-Pad9)")
+    (net (code 76) (name //IORQ)
+      (node (ref P1) (pin 31))
+      (node (ref IC3) (pin 5)))
+    (net (code 77) (name /FE80)
+      (node (ref IC3) (pin 7))
+      (node (ref IC4) (pin 27)))
+    (net (code 78) (name "Net-(IC3-Pad9)")
       (node (ref IC3) (pin 9)))
-    (net (code 81) (name "Net-(IC3-Pad10)")
+    (net (code 79) (name "Net-(IC3-Pad10)")
       (node (ref IC3) (pin 10)))
-    (net (code 82) (name "Net-(IC3-Pad11)")
+    (net (code 80) (name "Net-(IC3-Pad11)")
       (node (ref IC3) (pin 11)))
-    (net (code 83) (name "Net-(IC3-Pad12)")
+    (net (code 81) (name "Net-(IC3-Pad12)")
       (node (ref IC3) (pin 12)))
-    (net (code 84) (name "Net-(IC3-Pad13)")
+    (net (code 82) (name "Net-(IC3-Pad13)")
       (node (ref IC3) (pin 13)))
-    (net (code 85) (name /FEBx)
+    (net (code 83) (name /FEBx)
       (node (ref U3) (pin 11))
       (node (ref IC3) (pin 14)))
-    (net (code 86) (name "Net-(IC3-Pad15)")
+    (net (code 84) (name "Net-(IC3-Pad15)")
       (node (ref IC3) (pin 15)))
-    (net (code 87) (name "Net-(P1-Pad42)")
+    (net (code 85) (name "Net-(P1-Pad42)")
       (node (ref P1) (pin 42)))
-    (net (code 88) (name "Net-(P1-Pad43)")
+    (net (code 86) (name "Net-(P1-Pad43)")
       (node (ref P1) (pin 43)))
-    (net (code 89) (name /CE1)
+    (net (code 87) (name /CE1)
       (node (ref IC3) (pin 6))
       (node (ref IC2) (pin 1)))
-    (net (code 90) (name "Net-(IC2-Pad10)")
+    (net (code 88) (name "Net-(IC2-Pad10)")
       (node (ref IC2) (pin 10))
       (node (ref IC3) (pin 2)))
-    (net (code 91) (name "Net-(IC2-Pad4)")
-      (node (ref IC3) (pin 1))
-      (node (ref IC2) (pin 4)))
-    (net (code 92) (name /A8)
+    (net (code 89) (name "Net-(IC2-Pad4)")
+      (node (ref IC2) (pin 4))
+      (node (ref IC3) (pin 1)))
+    (net (code 90) (name /A8)
       (node (ref P1) (pin 10))
       (node (ref IC2) (pin 5)))
-    (net (code 93) (name /A6)
+    (net (code 91) (name /A6)
       (node (ref IC2) (pin 6))
       (node (ref P1) (pin 12)))
-    (net (code 94) (name "Net-(P1-Pad38)")
+    (net (code 92) (name "Net-(P1-Pad38)")
       (node (ref P1) (pin 38)))
-    (net (code 95) (name "Net-(P1-Pad34)")
+    (net (code 93) (name "Net-(P1-Pad34)")
       (node (ref P1) (pin 34)))
-    (net (code 96) (name "Net-(P1-Pad30)")
+    (net (code 94) (name "Net-(P1-Pad30)")
       (node (ref P1) (pin 30)))
-    (net (code 97) (name /A12)
+    (net (code 95) (name /A12)
       (node (ref IC1) (pin 1))
       (node (ref P1) (pin 6)))
-    (net (code 98) (name /A13)
-      (node (ref IC1) (pin 2))
-      (node (ref P1) (pin 5)))
-    (net (code 99) (name /A14)
-      (node (ref IC1) (pin 4))
-      (node (ref P1) (pin 4)))
-    (net (code 100) (name /A15)
-      (node (ref IC1) (pin 5))
-      (node (ref P1) (pin 3)))
-    (net (code 101) (name "Net-(IC1-Pad6)")
-      (node (ref IC1) (pin 6))
-      (node (ref IC2) (pin 2)))
-    (net (code 102) (name "Net-(IC1-Pad8)")
-      (node (ref IC1) (pin 8))
-      (node (ref IC2) (pin 3)))
-    (net (code 103) (name /A10)
+    (net (code 96) (name /A13)
+      (node (ref P1) (pin 5))
+      (node (ref IC1) (pin 2)))
+    (net (code 97) (name /A14)
+      (node (ref P1) (pin 4))
+      (node (ref IC1) (pin 4)))
+    (net (code 98) (name /A15)
+      (node (ref P1) (pin 3))
+      (node (ref IC1) (pin 5)))
+    (net (code 99) (name "Net-(IC1-Pad6)")
+      (node (ref IC2) (pin 2))
+      (node (ref IC1) (pin 6)))
+    (net (code 100) (name "Net-(IC1-Pad8)")
+      (node (ref IC2) (pin 3))
+      (node (ref IC1) (pin 8)))
+    (net (code 101) (name /A10)
       (node (ref P1) (pin 8))
       (node (ref IC1) (pin 9)))
-    (net (code 104) (name /A9)
-      (node (ref P1) (pin 9))
-      (node (ref IC1) (pin 10)))
-    (net (code 105) (name /A7)
-      (node (ref IC1) (pin 12))
-      (node (ref P1) (pin 11)))
-    (net (code 106) (name /A11)
+    (net (code 102) (name /A9)
+      (node (ref IC1) (pin 10))
+      (node (ref P1) (pin 9)))
+    (net (code 103) (name /A7)
+      (node (ref P1) (pin 11))
+      (node (ref IC1) (pin 12)))
+    (net (code 104) (name /A11)
       (node (ref P1) (pin 7))
       (node (ref IC1) (pin 13)))
-    (net (code 107) (name "Net-(P1-Pad50)")
+    (net (code 105) (name "Net-(P1-Pad50)")
       (node (ref P1) (pin 50)))
-    (net (code 108) (name "Net-(P1-Pad29)")
+    (net (code 106) (name "Net-(P1-Pad29)")
       (node (ref P1) (pin 29)))
-    (net (code 109) (name "Net-(P1-Pad37)")
+    (net (code 107) (name "Net-(P1-Pad37)")
       (node (ref P1) (pin 37)))
-    (net (code 110) (name "Net-(P1-Pad39)")
+    (net (code 108) (name "Net-(P1-Pad39)")
       (node (ref P1) (pin 39)))
-    (net (code 111) (name "Net-(P1-Pad45)")
+    (net (code 109) (name "Net-(P1-Pad45)")
       (node (ref P1) (pin 45)))
-    (net (code 112) (name "Net-(P1-Pad47)")
+    (net (code 110) (name "Net-(P1-Pad47)")
       (node (ref P1) (pin 47)))
-    (net (code 113) (name "Net-(P1-Pad48)")
+    (net (code 111) (name "Net-(P1-Pad48)")
       (node (ref P1) (pin 48)))
-    (net (code 114) (name "Net-(P1-Pad1)")
+    (net (code 112) (name "Net-(P1-Pad1)")
       (node (ref P1) (pin 1)))
-    (net (code 115) (name /A3)
-      (node (ref IC3) (pin 4))
-      (node (ref P1) (pin 15)))
-    (net (code 116) (name "Net-(P1-Pad44)")
+    (net (code 113) (name /A3)
+      (node (ref P1) (pin 15))
+      (node (ref IC3) (pin 4)))
+    (net (code 114) (name "Net-(P1-Pad44)")
       (node (ref P1) (pin 44)))
-    (net (code 117) (name "Net-(P1-Pad46)")
+    (net (code 115) (name "Net-(P1-Pad46)")
       (node (ref P1) (pin 46)))
-    (net (code 118) (name "Net-(IC2-Pad13)")
+    (net (code 116) (name "Net-(IC2-Pad13)")
       (node (ref IC3) (pin 3))
       (node (ref IC2) (pin 13)))
-    (net (code 119) (name "Net-(IC4-Pad14)")
+    (net (code 117) (name "Net-(IC4-Pad14)")
       (node (ref IC4) (pin 14)))))
