SET CLOCK ROUTINE by Don Retzlaff After getting the Real Time Clock running with the display on the screen, I wanted a way to set the clock. Initially I did this through a Basic program using POKE statements. What a pain - having to call in Basic, just to set the clock. Obviously and Assembly language routine was in order. The following SETCLK routine does the job. When you run SETCLK, the following prompts are displayed on the screen: ENTER YEAR ENTER MONTH ENTER DAY ENTER HOUR ENTER MIN After each prompt a two digit number is expected. Use a leading 0 if necessary. If an error is made on the first digit you can backspace (ctl-H) and re-enter it. If an error is made on the second digit - too bad - C/R through the rest of the prompts and call up SETCLK again and reset the clock. No carrage returns are expected after the second digit. If you do not want to set the Year, Month, and Day - enter a C/R after the first prompt (ENTER YEAR) and the next prompt will be ENTER HOUR. Works great - Try it!