Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 |
Exit | |
---|---|
- | - |
The This purpose of this call is initiates to initiate a desktop shutdown. The actions preformed performed are controlled by the following shutdown flags. flags:
Bit | Meaning when set |
---|---|
0 | Exit to command prompt once shutdown is complete |
1 | Do not broadcast Message_PreQuit |
2 | Set flag in CMOS as portable PowerDown |
3 | Send a Message_Shutdown |
4 | Reject OS_UpCall 1 & 2 reason codes |
5 | Reboot machine once shutdown is complete1 |
6 | Power off machine once shutdown is complete2 |
7 | Skip running of PostDesk scripts3 |
8-31 | Must be 0 |
If bit 2 is set, then it is flagged in CMOS that the last shutdown was forced by a low battery, and a message stating this reason will be displayed upon next Desktop start.
1 TaskManager 1.10 (RISC OS 4.01) or TaskManager 1.36 (RISC OS 5.19) onwards
2 TaskManager 1.44 (RISC OS 4.39) or TaskManager 1.36 (RISC OS 5.19) onwards
3 TaskManager 1.37 (RISC OS 5.19) onwards