h6. [[TerritoryManager]] h6(. » [[Territory SWI Calls|SWI Calls]] h6((. » [[Territory_DaylightSaving]] h6(((. » Territory_DaylightSaving 1 h2. Territory_DaylightSaving 1 h5. (SWI &43077) |_<^{width:4em}. Entry | | |<^. R0 |<^. -1, or current [[Territory Numbers|territory number]] | |<^. R1 |<^. 1 (reason code) | |/4<^. R2 |<^. DST state flags: | |<^. Bit 0: DST on/off flag | |<^. Bit 1: Automatic DST switching on/off flag | |<^. Other bits reserved, should be zero | |_<^{width:4em}. Exit | | |<^. - |<^. All registers preserved | h4. Use This SWI can be used to set the current DST status. It is equivalent to the following [[*Configure]] commands: |_<^. DST flags |_<^. Command | |<^. 00 |<^. [[*Configure NoDST]] | |<^. 01 |<^. [[*Configure DST]] | |<^. 1x |<^. [[*Configure AutoDST]] (bit 0 is ignored if bit 1 is set) | h4. Notes Unlike most [[Territory_DaylightSaving]] reason codes, this call only supports the current territory. Thus R0 must either be -1 or the number of the current territory. This SWI was introduced in TerritoryManager 0.47 h4. See also * [[Territory_DaylightSaving]] * [[Territory_DaylightSaving 0]] * [[Service_TimeZoneChanged]]