I miss having an NMI that you got at 50/60Hz come hell or high water.
If you really want or need reliable timers or miss those days for any reason, check out a Real Time OS.
https://www.xtof.info/Timing-on-PC-familly-under-DOS.html (wow, this is more complicated than I remember)