Amiga 2000 revision 6.2 motherboard re-done in KiCAD.
Schematics and PCB done, and working, see README for notes.
WARNING: stability issue with Wicher 500i, could be noise related from accelerator speed.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

extract_labels.py 787B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python3
  2. import re, os, sys
  3. #monster = re.compile("^Text GLabel (?P<posx>[\d]+) (?P<posy>[\d]+) (?P<orientation>[\d]+)(?:[\s]+)(?P<dimension>[\d]+)(?:[\s]+)(?P<shape>[\w]+) (?:.*)$\n^(?P<text>.+)$", re.MULTILINE)
  4. monster = re.compile("^Text GLabel (?P<posx>[\d]+)(?:[\s]+)(?P<posy>[\d]+)(?:[\s]+)(?P<orientation>[\d]+)(?:.*)$\n^(?P<text>.+)$", re.MULTILINE)
  5. labels = {}
  6. if len(sys.argv) <= 1:
  7. print(f"Usage: {sys.argv[0]} file1 file2 file3...")
  8. exit(1)
  9. for f in sys.argv[1:]:
  10. with open(f, 'r') as ff:
  11. labels[f] = {}
  12. labels[f]['raw'] = monster.findall("".join(ff.readlines()))
  13. for f in labels:
  14. ls = labels[f]['raw']
  15. lls = list(set([a[-1] for a in ls]))
  16. labels[f]['labels'] = lls
  17. print(f"{f}: {', '.join(lls)}")
  18. print()