Hi folks
I have RTFM'd this time, honestly ;)
Is there a way for a CP/M program to determine, safely, that it has access to ROMWBW, rather than some other kind of BIOS or firmware?
Suppose, for example, that I have a utility that needs to know the date. There is a ROMWBW function that provides this information (assuming suitable hardware is installed), but no general CP/M call to link it to. If my program has access to ROMWBW, I would like it to use the appropriate API to get the date; otherwise, it will have to prompt the user.
I see there is an API call to determine whether an RTC device is installed, but how can I tell that ROMWBW is installed? Is there some specific memory signature that can be relied upon?
Best wishes
Kevin