
(rules PCB MZ80-ROMPG
  (snap_angle 
    fortyfive_degree
  )
  (autoroute_settings
    (fanout off)
    (eu.mihosoft.freerouting.autoroute on)
    (postroute on)
    (vias on)
    (via_costs 50)
    (plane_via_costs 5)
    (start_ripup_costs 100)
    (start_pass_no 58665)
    (layer_rule F.Cu
      (active on)
      (preferred_direction horizontal)
      (preferred_direction_trace_costs 1.0)
      (against_preferred_direction_trace_costs 2.0)
    )
    (layer_rule B.Cu
      (active on)
      (preferred_direction vertical)
      (preferred_direction_trace_costs 1.0)
      (against_preferred_direction_trace_costs 2.0)
    )
  )
  (rule
    (width 250.0)
    (clear 200.2)
    (clear 125.0 (type smd_to_turn_gap))
    (clear 50.0 (type smd_smd))
  )
  (padstack "Via[0-1]_800:400_um"
    (shape
      (circle F.Cu 800.0 0.0 0.0)
    )
    (shape
      (circle B.Cu 800.0 0.0 0.0)
    )
    (attach off)
  )
  (via 
    "Via[0-1]_800:400_um" "Via[0-1]_800:400_um" default
  )
  (via 
    "Via[0-1]_800:400_um-kicad_default" "Via[0-1]_800:400_um" "kicad_default"
  )
  (via_rule
    default "Via[0-1]_800:400_um"
  )
  (via_rule
    "kicad_default" "Via[0-1]_800:400_um-kicad_default"
  )
  (class default
    (clearance_class default)
    (via_rule default)
    (rule
      (width 250.0)
    )
    (circuit 
      (use_layer F.Cu B.Cu)
    )
  )
  (class "kicad_default"
    GNDPWR +5V ~CSUSR~ /CONTROLLOGIC/~CS~ /CONTROLLOGIC/SCLK /CONTROLLOGIC/MOSI /CONTROLLOGIC/MISO "Net-(JP1-Pad2)"
    ~WR~ "Net-(JP2-Pad2)" "Net-(JP3-Pad2)" "Net-(JP4-Pad1)" /CONTROLLOGIC/BBSCLK /CONTROLLOGIC/BBMOSI "Net-(JP6-Pad1)" "Net-(R2-Pad2)"
    "Net-(R2-Pad1)" "Net-(R3-Pad1)" "Net-(R4-Pad1)" /MEMORY/RD2 /MEMORY/RD1 /MEMORY/RD0 /MEMORY/~CSMROM~ /MEMORY/RD7
    /MEMORY/RD6 /MEMORY/RD5 /MEMORY/RD4 /MEMORY/RD3 "Net-(U2-Pad18)" ~RD~ ~CSUFLSH1~ ~CSUFLSH2~
    ~CSRAM~ "Net-(U12-Pad11)" "Net-(U13-Pad11)" "Net-(U14-Pad11)" "Net-(U11-Pad1)" "Net-(U15-Pad4)" "Net-(U15-Pad5)" "Net-(U15-Pad2)"
    "Net-(U10-Pad12)" "Net-(U10-Pad11)" "Net-(U10-Pad10)" "Net-(U10-Pad9)" "Net-(U12-Pad19)" /CONTROLLOGIC/BK2A20 /CONTROLLOGIC/BK2A19 /CONTROLLOGIC/CDLTCH3
    /CONTROLLOGIC/CDLTCH2 /CONTROLLOGIC/CDLTCH1 "Net-(U15-Pad11)" "Net-(U15-Pad6)" "Net-(U15-Pad3)" "Net-(U16-Pad11)" "Net-(U16-Pad8)" "Net-(U16-Pad6)"
    "Net-(U16-Pad1)" "Net-(U17-Pad14)" "Net-(U17-Pad13)" "Net-(U18-Pad3)" "Net-(U18-Pad2)" "Net-(U19-Pad7)" "Net-(U20-Pad9)" "Net-(U21-Pad13)"
    "Net-(U21-Pad12)" "Net-(U21-Pad11)" "Net-(U21-Pad6)" "Net-(U21-Pad5)" "Net-(U21-Pad4)" "Net-(U21-Pad3)" "Net-(C17-Pad1)" "Net-(U10-Pad1)"
    "Net-(U10-Pad7)" "Net-(U19-Pad13)" "Net-(U19-Pad6)" "Net-(U19-Pad3)" "Net-(U19-Pad2)" "Net-(U22-Pad7)" BK2A14 BK2A16
    BK2A15 BK1A17 BK1A14 BK1A13 A0 A8 A1 A9
    A2 A11 A3 A4 A10 A5 A6 A7
    BK1A12 BK1A15 BK1A16 BK1A18 /MEMORY/UA8 UD2 /MEMORY/UA9 UD1
    UD0 /MEMORY/UA0 /MEMORY/UA10 /MEMORY/UA1 /MEMORY/UA2 UD7 /MEMORY/UA3 UD6
    /MEMORY/UA4 UD5 /MEMORY/UA5 UD4 /MEMORY/UA6 UD3 /MEMORY/UA7 BK2A13
    BK2A11 BK2A12 BK2A17 BK2A18 "Net-(U18-Pad1)" "Net-(U21-Pad2)" "Net-(JP7-Pad1)" "Net-(JP8-Pad1)"
    "Net-(JP9-Pad1)" /CONTROLLOGIC/0xEFF8 "/CONTROLLOGIC/0xEFF8-0xEFFF" /CONTROLLOGIC/0xEFFD /CONTROLLOGIC/0xEFFE /CONTROLLOGIC/0xEFFF /CONTROLLOGIC/0xEFFB /CONTROLLOGIC/0xEFFC
    "Net-(R9-Pad1)" "Net-(U18-Pad12)" "Net-(U18-Pad9)"
    (clearance_class "kicad_default")
    (via_rule kicad_default)
    (rule
      (width 250.0)
    )
    (circuit 
      (use_layer F.Cu B.Cu)
    )
  )
)