Real Time Clock in the eLeMeNt ZX Computer v02, 2025-06 The eLeMeNt ZX computer system uses a real-time clock (RTC) circuit. This is the type 72421A/B/72423, which can be found in newer divMMC/divSD models or in the SimpleRTC extension from Jiiira. There are several programs for displaying the time. The RTC circuit is primarily supported by the esxDOS operating system, which maintains the date and time in the attributes of directories and files. To support the RTC, you need to have the RTC.SYS driver installed in the SYS directory, esxDOS will then report "Loading RTC.SYS... [OK]" at startup. You can print the date in esxDOS with the .LS command to list files in the directory. The .CAL command displays the calendar of the current month. The .DATE command displays the day of the week, date, and time. In the eLeMeNt ZX, the RTC is already available as part of the FPGA core, so you don't need an external RTC interface. The disadvantage of such internal clocks in FPGAs is that they cannot be supplied by batteries, so the valid time only runs until the computer is turned off. You can set the date and time in various ways. Either enter it manually, e.g. using two programs from Velesoft and Busy, or automatically, using a connection to a Wi-Fi network. In the case of a Wi-Fi network, first verify that you have an access point set and an active Wi-Fi connection. You can do this with the service program ´Wi-Fi setup´ from Hood. Select the network (access point - A key, then enter the password for the connection), pressing the S key will then start setting the current internet date and time. If you already have a Wi-Fi connection in your eLeMeNt ZX, you can also use the basic system program ´SetUp´ to set the time. It is, among other things, part of the eLeMeNt ROM and you can access it by holding down the reset button for a longer time. The eLeMeNt logo shows "synchronizing the time" in dark blue colour, the computer is now looking for the internet time. If it loads it correctly, the date, day of the week and time will be displayed in white. If these data are written in dark blue, it means that Wi-Fi is not active or the time server is not available. The SetUp program also contains two internal clock settings. In the 'RTC' section, you can completely turn off the internal batteryless RTC. In the 'RTC Time Zone' section, you can switch the value range from GMT-8 to GMT+5. For example, for Central Europe, this means setting GMT+1 (Zlin) and switching to GMT+2 (Santorini) for summer time. You can quickly and easily test the functionality of the RTC in your eLeMeNt by saving the basic file to the SD card using SAVE *"name". Then type .LS and check the date in the file list. If the time is not valid, it has not been properly set or successfully loaded from the internet and usually corresponds to the version (build) date of the FPGA kernel. And if the year is 1982, this often means that the esxDOS RTC.SYS is not working for some reason or was not loaded properly when esxDOS was started. If you would like to automate the time setting even more and not have to worry about it, do it, for example, within the AUTOEXEC.BAS file. Or get Jiiira's SimpleRTC interface, it is small in size, so it can be installed even under the computer cover, on one of the internal system buses of the eLeMeNt ZX.