Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:firmwareos:romwbw:apps [2018/11/11 04:39]
b1ackmai1er [RTC Command]
software:firmwareos:romwbw:apps [2018/11/11 07:40] (current)
b1ackmai1er [RTC Command]
Line 107: Line 107:
  
 The RTC command provides the facility to set the date and time and access the other facilities of the DS1302 Real Time Clock. Most systems can be configured with battery backup to retain the date and time The RTC command provides the facility to set the date and time and access the other facilities of the DS1302 Real Time Clock. Most systems can be configured with battery backup to retain the date and time
 +
 +The Z-System O/S can be configured to use file timestamping but CP/M does not support this capability.
  
 RTC does not have any command line options. Menu options are: RTC does not have any command line options. Menu options are:
  
 |''​E)xit'' ​  ​|Return to CP/M command line.| |''​E)xit'' ​  ​|Return to CP/M command line.|
-|''​T)ime'' ​  ​|Display the time and date in the format YY-MM-DD HH:MM:SS-NN (NN is the day of the week)|+|''​T)ime'' ​  ​|Display the date and time in the format YY-MM-DD HH:MM:SS-NN (NN is the day of the week)|
 |''​st(A)rt'' ​  |Will restart the RTC program.| |''​st(A)rt'' ​  |Will restart the RTC program.|
-|''​S)et'' ​  |Sets the previously entered time and date details into the RTC chip and starts the clock.| +|''​S)et'' ​  |Set the previously entered time and date details into the RTC chip and starts the clock. ​See ''​(I)nit'' ​
-|''​R)aw'' ​  |Displays ​the current time every time the space key is pressed until any other key is pressed.| +|''​R)aw'' ​  |Display ​the current time every time the space key is pressed until any other key is pressed.| 
-|''​L)oop'' ​  |Displays ​the current date and time every time the space key is pressed until any other key is pressed.|+|''​L)oop'' ​  |Display ​the current date and time every time the space key is pressed until any other key is pressed.|
 |''​C)harge'' ​  |Turn on the RTC facility to charge the battery or super capacitor connected to the RTC.| |''​C)harge'' ​  |Turn on the RTC facility to charge the battery or super capacitor connected to the RTC.|
 |''​N)ocharge'' ​  |Turn off the RTC facility to charge the battery or super capacitor.| |''​N)ocharge'' ​  |Turn off the RTC facility to charge the battery or super capacitor.|
-|''​D)elay'' ​  |Test the software ​timing delay in the software using a stopwatch. Instructions will be given to start and stop testing. Correct timing is indicated by a lapse to of 43s. If your board is overclocked i.e. 8Mhz your lapse time will half of this, in which case correct timing constrains are not being maintained when accessing the RTC.| +|''​D)elay'' ​  |Test the timing delay in the RTC software using a stopwatch. Instructions will be given to start and stop testing. Correct timing is indicated by an elapse time of ~43s. If your board is overclocked i.e. 8Mhz your elapse ​time will half of this, in which case correct timing constrains are not being maintained when accessing the RTC.| 
-|''​I)nit'' ​  ​| ​\\ Allows the entry of the date, time and day of week and stored it in preparation of the ''​S)et''​ command to be issued. The prompt for the entry of the date, time and day of week does not allow for ANY editing and requires each field to be typed as a two digit number. Any error entering this data will require you to enter all field requested and then restart the ''​I)nit''​ command. ​Example: ​\\   \\ Entering the date and time Saturdy ​10th November 2018 \\ |+|''​I)nit'' ​  ​|Allows the entry of the date, time and day of week and stored it in preparation of the ''​S)et''​ command to be issued. The prompt for the entry of the date, time and day of week does not allow for ANY editing and requires each field to be typed as a two digit number. Any error entering this data will require you to enter all field requested and then restart the ''​I)nit''​ command. \\   ​\\ ​Example: ​Entering the date and time Saturday ​10th November 2018 19:35PM (Day 00=Sunday .. Day 07=Saturday) ​\\  \\ {{https://​www.retrobrewcomputers.org/​lib/​plugins/​ckgedit/​fckeditor/​userfiles/​image/​software/​firmwareos/​romwbw/​apps/​rtc.jpg?​nolink&​740x332|www.retrobrewcomputers.org_lib_plugins_ckgedit_fckeditor_userfiles_image_software_firmwareos_romwbw_apps_rtc.jpg}}| 
 +|''​G)et'' ​  ​|Allows you to read and display one byte from DS1302 non-volatile memory area. Enter a two digit hex address in uppercase.| 
 +|''​P)ut'' ​  ​|Allows you to save one byte in the DS1302 non-volatile memory. Enter a two digit hex uppercase address and a two digit hex value at the data prompt.| 
 +|''​B)oot'' ​  ​|Reboot from the operating system back to the boot loader.| 
 +|''​H)elp'' ​  ​|Redisplays the menu options.|
  
 \\ \\
  
  
software/firmwareos/romwbw/apps.1541929195.txt.gz · Last modified: 2018/11/11 04:39 by b1ackmai1er
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0