Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/Hardware/Console/SMC_Command_0x04.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Query Real Time Clock

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.
The reply to the SMC command 0x04 will contain the count of milliseconds since `11-15-2001 00:00:00 UTC`, represented in hex, with the least significant byte being first. This code is identical to the original Xbox Real Time Clock (RTC) code.

This value wraps around once it reaches `FFFFFFFFFF`, representing `09/17/2036 19:53:47 UTC`.

| | |
| -------- | ------------------- |
| Message: | `04` |
| Reply: | `04 XX XX XX XX XX YY ZZ` |
| | |
| -------- | ---------------------------- |
| Message: | `04` |
| Reply: | `04 XX XX XX XX XX XX YY ZZ` |

| | Meaning |
| -- | ----------------------------------- |
Expand Down
8 changes: 4 additions & 4 deletions docs/Hardware/Console/SMC_Command_0x85.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## Set Real Time Clock

This Command Message sets the real time clock to the specified 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.
This Command Message sets the real time clock to the specified count of milliseconds since `11-15-2001 00:00:00 UTC`, represented in hex, with the least significant byte being first. This code is identical to the original Xbox Real Time Clock (RTC) code.

The maximum value that the clock can be set to is `FFFFFFFFFF`, representing `09/17/2036 19:53:47 UTC`. After this, the clock will wrap around.

| | |
| -------- | ------------------------- |
| Message: | `85 XX XX XX XX XX YY ZZ` |
| | |
| -------- | ---------------------------- |
| Message: | `85 XX XX XX XX XX XX YY ZZ` |

| | Meaning |
| -- | ----------------------------------- |
Expand Down