We have an explicit emulation of the DS1315 in MAME which the Rainbow and the Apple II both use. (On A2 it was called the "No-Slot Clock").