UPDATE on 18/06/2020: I've implemented a simple analog clock in my own
programming language, it's runnable on Linux (both 32-bit and 64-bit). You
can download the source code here, and, if you
are willing to accept the risk of infecting your computer with some virus
on my computer (rather than compiling that program from source), you can
download the executable
here
(the executable is called
analogClock.elf).
UPDATE on 09/08/2020: I've managed to compile the
Analog Clock program written in my
programming language to be runnable in a browser that supports
WebAssembly. I had to implement custom math functions, because WebAssembly
has no fsin and similar instructions which x86 assembly
has.
UPDATE on 09/05/2021: The Analog Clock program can now run natively on
Windows and FreeDOS. The executable for Windows in the mentioned
ZIP-archive is called
analogClockForWindows.exe, and
the executable for FreeDOS is called
analogClockForDOS.exe.
UPDATE on 10/05/2021: Here is the trajectory of the simulated pendulum.
Note that the angle the pendulum here oscillates at is 24o,
which means that the sinusoid is not a good approximation.