TransEra 641-RTC: Difference between revisions
Jump to navigation
Jump to search
(removed wrong picture) |
(Added 1978 firmware revision) |
||
Line 7: | Line 7: | ||
|- | |- | ||
! Command | ! Command | ||
! Rev 1 | |||
! Rev 2 | |||
! Description | ! Description | ||
|- | |- | ||
! CALL "TIMSET", T | ! CALL "TIMSET", T | ||
! yes | |||
! yes | |||
| Sets the actual time. T must be a floating point number containing the count of seconds + fractions since the 01-01 of the current year.<br/>The resolution is 1/128 of a second. | | Sets the actual time. T must be a floating point number containing the count of seconds + fractions since the 01-01 of the current year.<br/>The resolution is 1/128 of a second. | ||
|- | |- | ||
! CALL "TIMSET",T$ | ! CALL "TIMSET",T$ | ||
! yes | |||
! yes | |||
| Sets the actual date & time. T$ must be a string in the format "MM-DD-YY HH:MM:SS".<br/>The time must be always given in 24h format. | | Sets the actual date & time. T$ must be a string in the format "MM-DD-YY HH:MM:SS".<br/>The time must be always given in 24h format. | ||
|- | |- | ||
! CALL "TIME",T | ! CALL "TIME",T | ||
! yes | |||
! yes | |||
| Returns the actual time. The result T is a floating point number and contains the count of seconds since 01-01 of the current year.<br/>The resolution is 1/128 of a second. | | Returns the actual time. The result T is a floating point number and contains the count of seconds since 01-01 of the current year.<br/>The resolution is 1/128 of a second. | ||
|- | |- | ||
! CALL "TIME",T$ | ! CALL "TIME",T$ | ||
! yes | |||
! yes | |||
| Returns the actual date & time. T$ contains a string in the format "WEK MM DD YY HH:MM:SS [AM/PM]".<br/>The string is formatted depending on previous calls of 24HOUR or 12HOUR.<br/>Examples:<br/>MON 07 MAR 21 4:15:20 PM<br/>MON 07 MAR 21 16:15:20<br/>Remark:<br/>As with all 4050 RTC modules the 641-RTC is not [[Year 2000 problem|Y2K]] compatible. So in this example the weekday of march, 7th, 1921 is returned. | | Returns the actual date & time. T$ contains a string in the format "WEK MM DD YY HH:MM:SS [AM/PM]".<br/>The string is formatted depending on previous calls of 24HOUR or 12HOUR.<br/>Examples:<br/>MON 07 MAR 21 4:15:20 PM<br/>MON 07 MAR 21 16:15:20<br/>Remark:<br/>As with all 4050 RTC modules the 641-RTC is not [[Year 2000 problem|Y2K]] compatible. So in this example the weekday of march, 7th, 1921 is returned. | ||
|- | |- | ||
! CALL "CLOCK",T$ | ! CALL "CLOCK",T$ | ||
! no | |||
! yes | |||
| Same as "TIME",T$ and "TIME",T | | Same as "TIME",T$ and "TIME",T | ||
|- | |- | ||
! CALL "PAUSE",T | ! CALL "PAUSE",T | ||
! yes | |||
! yes | |||
| Pauses the Program for T seconds. The parameter T must be an integer value.<br/>The maximum delay is 65535 seconds (~18hours)<br/>After the pause the program execution starts at the next line. | | Pauses the Program for T seconds. The parameter T must be an integer value.<br/>The maximum delay is 65535 seconds (~18hours)<br/>After the pause the program execution starts at the next line. | ||
|- | |- | ||
! CALL "TIMER",T,L | ! CALL "TIMER",T,L | ||
! yes | |||
! yes | |||
| Starts an asynchronous timer with the delay T and jumps to line L when the timer is done.<br/>The maximum delay is 65535 seconds (~18hours).<br/>The timer is not retriggered automatically. | | Starts an asynchronous timer with the delay T and jumps to line L when the timer is done.<br/>The maximum delay is 65535 seconds (~18hours).<br/>The timer is not retriggered automatically. | ||
|- | |- | ||
! CALL "12HOUR" | ! CALL "12HOUR" | ||
! no | |||
! yes | |||
| Sets the format of the returned time strings to 12-hour format.<br/>This is the default time format after a power-cycle. | | Sets the format of the returned time strings to 12-hour format.<br/>This is the default time format after a power-cycle. | ||
|- | |- | ||
! CALL "24HOUR" | ! CALL "24HOUR" | ||
! no | |||
! yes | |||
| Sets the format of the returned time strings to 24-hour format. | | Sets the format of the returned time strings to 24-hour format. | ||
|} | |} | ||
Line 69: | Line 89: | ||
! Description | ! Description | ||
|- | |- | ||
| [[Media:TransEra-641-RTC- | | [[Media:TransEra-641-RTC-1978.bin|TransEra-641-RTC-1978.bin]] ([[:TransEra-641-RTC-1978.bin#filehistory|?]]) ||Original Firmware revision 1978 | ||
|- | |- | ||
| [[Media:TE-rtc-641_y2k.bin|TE-rtc-641_y2k.bin]] ([[:TE-rtc-641_y2k.bin#filehistory|?]]) ||Modified Firmware for Y2k compatibility | | [[Media:TransEra-641-RTC-1984.bin|TransEra-641-RTC-1984.bin]] ([[:TransEra-641-RTC-1984.bin#filehistory|?]]) ||Original Firmware revision 1984 | ||
|- | |||
| [[Media:TE-rtc-641_y2k.bin|TE-rtc-641_y2k.bin]] ([[:TE-rtc-641_y2k.bin#filehistory|?]]) ||Modified 1984 Firmware for Y2k compatibility | |||
|} | |} | ||
[[Category:ROM packs]] | [[Category:ROM packs]] |