There are automatic Pascal to C translators. No idea if any of them actually work.If someone wants to have a bash as translating the Pascal into 'C', please let me know.
Still no open source solution ...
Pascal is fairly C like
You need a very specific Vgs/Rds curve for this circuit to work
Another variable in the design is the use of OA91 germanium point contact diodes. These have very low forward voltage at tiny currents, but Vf is quite high and very variable at 10mA, while the reverse leakage can be poor. Nowhere near as good or predictable as a decent low voltage Schottky
Do you offset all your array indexes by 1?Can't say that it looks like it to me. But maybe that tells you that all the C I write is actually thinly dsguised FORTRAN. 8-]
Do you offset all your array indexes by 1?
The source for that project doesn't seem to include that for all the small libraries that do the interesting work. From their names it appears likely that it more or less directly emulates the electronics (eg 'diode.lib', or 'FETres.lib'.)Well apart from the one I linked to up thread...
This month's HiFi News has landed with a letter and replies about this very subject.