Changes

562 bytes added ,  02:37, 27 November 2023
Remove information on PTM Save to prevent duplicating dedicated page
Line 38: Line 38:  
|-
 
|-
 
| 0x000B00C2
 
| 0x000B00C2
| GetStepHistory
+
| [[PTM:GetStepHistory|GetStepHistory]]
 
|-
 
|-
 
| 0x000C0000
 
| 0x000C0000
Line 53: Line 53:  
|}
 
|}
   −
The above commands are available for all PTM services.
+
The above commands are available for all PTM services, except the SetSystemTime service.
    
=PlayHistory PTM Service "ptm:play" =
 
=PlayHistory PTM Service "ptm:play" =
Line 62: Line 62:  
|-
 
|-
 
| 0x08070082
 
| 0x08070082
| GetPlayHistory
+
| [[PTM:GetPlayHistory|GetPlayHistory]]
 
|-
 
|-
 
| 0x08080000
 
| 0x08080000
Line 102: Line 102:  
|-
 
|-
 
| 0x040700C0
 
| 0x040700C0
| ShutdownAsync
+
| [[PTM:ShutdownAsync|ShutdownAsync]]
 
|-
 
|-
 
| 0x04080000
 
| 0x04080000
Line 132: Line 132:  
|-
 
|-
 
| 0x08070082
 
| 0x08070082
| GetPlayHistory
+
| [[PTM:GetPlayHistory|GetPlayHistory]]
 
|-
 
|-
 
| 0x08080000
 
| 0x08080000
Line 156: Line 156:  
|-
 
|-
 
| 0x080F0000
 
| 0x080F0000
| IsLegacyPowerOff
+
| [[PTMSYSM:GetSoftwareClosedFlag|GetSoftwareClosedFlag]]
 
|-
 
|-
 
| 0x08100000
 
| 0x08100000
| ClearLegacyPowerOff
+
| [[PTMSYSM:ClearSoftwareClosedFlag|ClearSoftwareClosedFlag]]
 
|-
 
|-
 
| 0x08110000
 
| 0x08110000
Line 172: Line 172:  
| 0x08140000
 
| 0x08140000
 
| GetLegacyJumpProhibitedFlag
 
| GetLegacyJumpProhibitedFlag
|-
  −
| 0x0814...
  −
| unknown
   
|-  
 
|-  
| 0x0815...
+
| 0x08150040
| unknown
+
| SetPlayHistoryRecordingMode
 
|-
 
|-
| 0x0816
+
| 0x0816....
| unknown
+
| Abstraction for mcu::RTC::GetSystemClock
 
|-
 
|-
| 0x0817
+
| 0x0817....
| unknown
+
| Abstraction for mcu::RTC::SetSystemClock
 
|-
 
|-
| 0x0818
+
| 0x08180040
| unknown
+
| [[PTMSYSM:ConfigureNew3DSCPU|ConfigureNew3DSCPU]]
 
|-
 
|-
 
|}
 
|}
Line 201: Line 198:  
|}
 
|}
   −
=SetSystemTime? PTM Service "ptm:sets"=
+
=SetSystemTime PTM Service "ptm:sets"=
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Command Header
 +
!  Description
 +
|-
 +
| 0x00010080
 +
| SetSystemTime
 +
|-
 +
|}
    
=PTM [[System_SaveData]]=
 
=PTM [[System_SaveData]]=
During system boot PTM attempts to open the PTM savedata, if this fails it will repeatedly keep trying to open the archive. When opening the archive is failing due to savedata corruption, PTM eventually(during system boot) deletes the savedata then creates it again.
+
''Main article: [[PTM Savegame]]''
 +
 
 +
During system boot PTM attempts to open the [[PTM Savegame|PTM savedata]], if this fails it will repeatedly keep trying to open the archive. When opening the archive is failing due to savedata corruption, PTM eventually (during system boot) deletes the savedata then creates it again.
 +
 
 +
Savedata contents:
 +
* "/Pedometer.dat"
 +
* "/PlayHistory.dat" Filesize is 0xD5DE8.
2

edits