I want to write a game loop on CP/M 2.X (Z80) and would need to wait for some time e.g. a second. I've looked at BDOS but did not find a function, a loop depends on processor (emulation speed), interrupts like vertical blank do not exist.
Any ideas on how to write a game loop?
[Edit]
The z88dk CP/M lib says
Not (of course) CPM 1.x and 2.x, which have no real-time functions; ,nor QX/M, its clock is not BCD based.
There were action games like LADDER so there should be a way for a game loop.
[Edit2]
I could let the user check 5 secs with two keypresses and measure the speed (double loop) once to config the game - but only as a last resort.