Skip to content

Commit 7b9d695

Browse files
authored
SMC 0x04
1 parent 08c637c commit 7b9d695

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Query Real Time Clock
2+
3+
The reply to the SMC command 0x04 will contain big-endian count of miliseconds since `11-15-2001 00:00:00 UTC`, represented in hex. This code is identical to the original Xbox Real Time Clock (RTC) code.
4+
5+
This value wraps around once it reaches `FFFFFFFFFF`, representing `09/17/2036 19:53:47 UTC`.
6+
7+
| | |
8+
| -------- | ------------------- |
9+
| Message: | `04` |
10+
| Reply: | `04 XX XX XX XX XX YY ZZ` |
11+
12+
| | Meaning |
13+
| -- | ----------------------------------- |
14+
| XX | Number of miliseconds since epoch. |
15+
| YY | Boolean; whether time is in sync. |
16+
| ZZ | Unknown; seemingly always 00. |

0 commit comments

Comments
 (0)