Plans/schematics/code for a 12-bit sampler based on 7400 logic