Add Wimp_Extend 15, "read slot size"
Jeffrey Lee authored
Wimp_Extend 15 is equivalent to Wimp_SlotSize,-1,-1, with the exception
that the sizes returned in R0-R2 are now measured in pages instead of
bytes. This allows code to accurately read the amount of free memory on
machines with >2GB of RAM, and provides some future-proofing should we
ever wish to support tasks with >2GB of RAM (e.g. via a future
super-jumbo wimpslot, or more likely via sparse/PMP wimpslots, where
the physical size is larger than the logical size).

Currently there's no need to provide a page-based call to set the slot
size (~2GB is fine for the forseeable future), so this call only
focuses on reading the sizes.

Version 5.67. Tagged as 'Wimp-5_67'
4610877c
Name Last commit Last update
..
!Palette Import from cleaned 360 CD
AutoScroll Add copy & paste and drag & drop operations to the Wimp
CBTask Clipboard caret/task fixes
Clipboard Add copy & paste and drag & drop operations to the Wimp
CnPCaret Clipboard caret/task fixes
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 for missing window backgrounds/scroll bars when tiled sprite op not supported
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 Add Wimp_Extend 15, "read slot size"
Wimp02 Add copy & paste and drag & drop operations to the Wimp
Wimp03 Add copy & paste and drag & drop operations to the Wimp
Wimp04 Add copy & paste and drag & drop operations to the Wimp
Wimp05 Clipboard caret/task fixes
Wimp06 Slacken pointer checks
Wimp07 Add copy & paste and drag & drop operations to the Wimp
Wimp08 Slacken pointer checks
Wimp08s Fix invalid AMB node handle being used when low on memory
Wimp09
Wimp10