> I have another 16C54 question as well. Since the '54 doesn't have > an interrupt for the RTCC what's the usual procedure for running > a given section of code periodically, say every 100mS or so? Can > you run a tight loop waiting for the RTCC to roll over from some > calculated value or will this methos "miss" the rollover if you simply > test for it to be equal to zero? I am going to have to deal with this soon too. My plan is to assign the prescaler to the RTCC and spin waiting for it to equal zero. With the prescaler, the count will be zero for several (possibly many) instruction cycles, so I shouldn't miss it. I just need to have some logic to keep from detecting the same zero multiple times. Does anyone know of a better way to do this or have I hit it on the head?