Fix for zombie task preventing desktop exit after shutdown
Robert Sprowson authored
When the last task closes down have the clipboard manager task go dormant rather
than pending. Otherwise, we get stuck in a race condition wanting to start back
up again when the Task Manager's shutdown dialogue quits (Ctrl-Shift-F12 then
Ctrl-Shift-F12).

Wimp01.s:
Define symbolic names for the special values if clipboard_taskhandle for states
pending/run now/dormant.
Wimp02.s:
When the final task closes down, *now* it is safe to go to the pending state.
Wimp07.s:
Tidy up runthetask, and use Wimp version of 200 for the temporary task initialised
rather than pass an undefined R3 to Wimp_Initialise. Share a common OS_CLI tail.
CBTask.s:
When asked to quit via user message 0, set the state to dormant.

Version 5.85. Tagged as 'Wimp-5_85'
5ea3f800
Name Last commit Last update
..
!Palette Import from cleaned 360 CD
AutoScroll Add copy & paste and drag & drop operations to the Wimp
CBTask Fix for zombie task preventing desktop exit after shutdown
Clipboard Add copy & paste and drag & drop operations to the Wimp
CnPCaret Fix crash on closing menu containing a writeable icon with focus as part of the menu tree
Iconbar Fix invalid AMB node handle being used when low on memory
Memory Slacken pointer checks
NewSWIs Add Wimp_Extend 15, "read slot size"
Notes Spinner branch merged.
ProgErrs Import from cleaned 360 CD
RosMod Adapted assembly process so that the choice of Options file (previously based purely on the "System" variable) can be overridden by passing "OPTIONS=foo" as an argument to either MkRom, or to amu/amu_machine directly, or indirectly, by specifying it in the components file for a build. To accomplish this, it was necessary to switch from using aasm to objasm - hence the large number of source files affected in this commit.
Tiling Implement sprite translation table caching
Tiling3D Fix to invalidate entire tile cache
Trace Add support for wide translation tables for window tool furniture
Watchdog Replace OS_SpriteOp reason code magic numbers with definitions. Add support for new screen modes.
Wimp Add copy & paste and drag & drop operations to the Wimp
Wimp01 Fix for zombie task preventing desktop exit after shutdown
Wimp02 Fix for zombie task preventing desktop exit after shutdown
Wimp03 [509] Fix abort autoscrolling off a window with no icons
Wimp04 [378] Extra switches to set button true colours
Wimp05 Fix abort error with ^K and ^X in writable icons
Wimp06 Slacken pointer checks
Wimp07 Fix for zombie task preventing desktop exit after shutdown
Wimp08 Slacken pointer checks
Wimp08s Fix invalid AMB node handle being used when low on memory
Wimp09
Wimp10