Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | New size of current slot, or |
-1 to return size | |
R1 | New size of next slot, or |
-1 to return size |
Exit | |
---|---|
R0 | Size of current slot (bytes) |
R1 | Size of next slot (bytes) |
R2 | Size of free pool (bytes) |
The purpose of this call is to read or set the amount of memory allocated to the current, or next application to be loaded.
None. The use of 32bit integers means that the returned values may be incorrect on systems with over 2GB ofRAM (especially the free pool size). To avoid this, consider using Wimp_Extend (read slot size), which will return the values in units of pages.