> I wrote the model in Go first and once that was working I converted it to C which very straight forward. Once in C I used Z88DK as the compiler, this comes with tools to create a zx81 application. The IDE was VSCode running on a Mac with a few scripts to build and launch the Clock Signal ZX81 Emulator for testing before creating a tzxduino file. I think I detailed it on https://glasstty.com .
> I use the same environment for writing nascom stuff. Its more straight forward than it sounds.
https://retrocomputing.stackexchange.com/questions/6095/why-...
I am not a nuclear physicist but out son is (he designs reactor cores), he helped me to understand some of the maths. The ZX81 code does model the various interactions in tempreture, radioactivity etc. and remarkably, once the code snippet mentioned above was added the model moves quickly to criticality and returns again after a rod change etc. I couldn't quite believe it really. However, once this was achieved in go (golang), I just ported it to C and used Z88DK to target a ZX81.