Rob Finch wrote:
In the time of day clock in the 6526 do the hours go from 0 to 11 or from 1 to 12 ?
00:00:00 to 11:59:59 or
01:00:00 to 12:59:59
Rob
Rob,
As I recall, it will run from 01:00:00 to 12:59:59. However, the AM/PM flag is the high bit of the hour register. I don't recall all the specifics.
I did write TOD print and TOD set commands for my SBC-1. If you go to the Downloads section of my website and download the sbcmonitor.zip file, there is a file included called 6526.asm that contains the assembly code.
http://65c02.tripod.com/
Hope this helps.
Daryl