You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| $08-$0C | The corresponding RTC Register (see below). |
57
+
56
58
57
59
### 6000-7FFF - Latch Clock Data (Write Only)
58
60
@@ -62,18 +64,14 @@ until it becomes latched again, by repeating the write $00-\>$01
62
64
procedure. This provides a way to read the RTC registers while the
63
65
clock keeps ticking.
64
66
65
-
### The Clock Counter Registers
66
-
67
-
```
68
-
$08 RTC S Seconds 0-59 ($00-$3B)
69
-
$09 RTC M Minutes 0-59 ($00-$3B)
70
-
$0A RTC H Hours 0-23 ($00-$17)
71
-
$0B RTC DL Lower 8 bits of Day Counter ($00-$FF)
72
-
$0C RTC DH Upper 1 bit of Day Counter, Carry Bit, Halt Flag
73
-
Bit 0 Most significant bit of Day Counter (Bit 8)
74
-
Bit 6 Halt (0=Active, 1=Stop Timer)
75
-
Bit 7 Day Counter Carry Bit (1=Counter Overflow)
76
-
```
67
+
### Clock Counter Registers
68
+
| Register | Name | Description | Range |
69
+
|----------|------|-------------|-------|
70
+
| $08 | RTC S | Seconds | 0-59 ($00-$3B) |
71
+
| $09 | RTC M | Minutes | 0-59 ($00-$3B) |
72
+
| $0A | RTC H | Hours | 0-23 ($00-$17) |
73
+
| $0B | RTC DL | Lower 8 bits of Day Counter | ($00-$FF) |
74
+
| $0C | RTC DH | Upper 1 bit of Day Counter, Carry Bit, Halt Flag. <br>Bit 0: Most significant bit (Bit 8) of Day Counter<br>Bit 6: Halt (0=Active, 1=Stop Timer)<br>Bit 7: Day Counter Carry Bit (1=Counter Overflow) ||
77
75
78
76
The Halt Flag is supposed to be set before **writing** to the RTC
0 commit comments