TransEra 641-RTC: Difference between revisions
(added a furter explanation) |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Plugin Sidebar | |||
|manufacturer=TransEra | |||
|type=641RTC | |||
|summary=Real Time Clock | |||
|series=4051 | |||
|image=TransEra_641RTC_03.jpg | |||
|caption=TransEra 641RTC | |||
|introduced=(?) | |||
|discontinued=(?) | |||
|manuals= | |||
* Manual needed, ''please add'' [[Category:Manual needed]] | |||
{{ROM Images}} | |||
* [[Media:TransEra-641-RTC-1978.bin|Original Firmware revision 1978]] | |||
* [[Media:TransEra-641-RTC-1984.bin|Original Firmware revision 1984]] | |||
* [[Media:TE-rtc-641_y2k.bin|1984 Firmware modified for Y2K compatibility]] | |||
}} | |||
The TransEra '''641 Real Time Clock ROM Pack''' (641-RTC) is a ROM pack for the [[4051]] microcomputer. | The TransEra '''641 Real Time Clock ROM Pack''' (641-RTC) is a ROM pack for the [[4051]] microcomputer. | ||
Line 5: | Line 21: | ||
|- | |- | ||
! Command | ! Command | ||
! Rev 1 | |||
! Rev 2 | |||
! Description | ! Description | ||
|- | |- | ||
! CALL " | ! CALL "TIMSET", T | ||
| Sets the actual time. T must be a floating point number containing the count of seconds + | | 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. | |||
|- | |- | ||
! 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 | ||
| Returns the actual time. The result T is a floating point number and contains the count of seconds since | | 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. | |||
|- | |- | ||
! CALL "TIME",T$ | ! CALL "TIME",T$ | ||
| Returns the actual date & time. T$ contains a string in the format "WEK MM DD YY HH:MM:SS | | yes | ||
| yes | |||
| Returns the actual date & time.<br/> | |||
rev1:<br/> | |||
T$ contains a string in the format "MM DD YY HH:MM:SS".<br/> | |||
The string always contains the time in the 24 hour format.<br/> | |||
Examples:<br/> | |||
07 MAR 21 4:15:20<br/> | |||
07 MAR 21 16:15:20<br/> | |||
rev2:<br/> | |||
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/> | |||
As with most 4050 RTC modules this revision of 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$ | ||
| Same as "TIME",T$ | | no | ||
| yes | |||
| Same as "TIME",T$ and "TIME",T | |||
|- | |- | ||
! CALL "PAUSE",T | ! CALL "PAUSE",T | ||
| Pauses the Program for T seconds. The parameter T must be an integer value.<br/>The maximum delay is 65535 seconds (~18hours) | | 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. | |||
|- | |- | ||
! 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. | ||
|} | |} | ||
== | ==Revisions== | ||
At least 3 revisions were released. | |||
The first version came without a battery, so all time information was lost after a power cycle. | |||
The second revision added a battery for counting the seconds within the year, but the year information was still unprotected. | |||
The | |||
The manual of the [[TransEra 741-RTC]] explicitly talks about a 741-RTC and a 641-RTC with identical command set. The command set in the manual differs from the command set of the units shown on this page. | |||
Therefore, a third hardware revision of the 641 is presumed to exist. | |||
===Pictures=== | ===Pictures revision 1=== | ||
<gallery> | <gallery> | ||
TransEra_641RTC_07.jpg|Label view | |||
TransEra_641RTC_10.jpg|Top view of PCB | |||
TransEra_641RTC_11.jpg|Bottom view of PCB | |||
</gallery> | </gallery> | ||
=== | ===Pictures revision 2=== | ||
<gallery> | <gallery> | ||
TransEra_641RTC_schematic.pdf | TransEra_641RTC_02.jpg|Label view - Note: The first "TIMSET"-CALL is misspelled. | ||
TransEra_641RTC_03.jpg|Front view | |||
TransEra_641RTC_04.jpg|Top view of PCB | |||
TransEra_641RTC_05.jpg|Bottom view of PCB | |||
TransEra_641RTC_schematic.pdf|Schematic of revision 2 | |||
</gallery> | |||
===Pictures revision 3=== | |||
<gallery> | |||
Image needed.jpg | |||
</gallery> | </gallery> | ||
[[Category:ROM packs]] | [[Category:ROM packs]] |
Latest revision as of 03:41, 2 October 2023
The TransEra 641 Real Time Clock ROM Pack (641-RTC) is a ROM pack for the 4051 microcomputer.
Command set
Command | Rev 1 | Rev 2 | Description |
---|---|---|---|
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. The resolution is 1/128 of a second. |
CALL "TIMSET",T$ | yes | yes | Sets the actual date & time. T$ must be a string in the format "MM-DD-YY HH:MM:SS". The time must be always given in 24h format. |
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. The resolution is 1/128 of a second. |
CALL "TIME",T$ | yes | yes | Returns the actual date & time. rev1: |
CALL "CLOCK",T$ | no | yes | Same as "TIME",T$ and "TIME",T |
CALL "PAUSE",T | yes | yes | Pauses the Program for T seconds. The parameter T must be an integer value. The maximum delay is 65535 seconds (~18hours) After the pause the program execution starts at the next line. |
CALL "TIMER",T,L | yes | yes | Starts an asynchronous timer with the delay T and jumps to line L when the timer is done. The maximum delay is 65535 seconds (~18hours). The timer is not retriggered automatically. |
CALL "12HOUR" | no | yes | Sets the format of the returned time strings to 12-hour format. This is the default time format after a power-cycle. |
CALL "24HOUR" | no | yes | Sets the format of the returned time strings to 24-hour format. |
Revisions
At least 3 revisions were released.
The first version came without a battery, so all time information was lost after a power cycle.
The second revision added a battery for counting the seconds within the year, but the year information was still unprotected.
The manual of the TransEra 741-RTC explicitly talks about a 741-RTC and a 641-RTC with identical command set. The command set in the manual differs from the command set of the units shown on this page. Therefore, a third hardware revision of the 641 is presumed to exist.
Pictures revision 1
-
Label view
-
Top view of PCB
-
Bottom view of PCB
Pictures revision 2
-
Label view - Note: The first "TIMSET"-CALL is misspelled.
-
Front view
-
Top view of PCB
-
Bottom view of PCB
-
Schematic of revision 2