h6. [[OS SWI Calls]] h6(. » [[OS_ChangeEnvironment]] h6((. » Application Space Handler h2. Application Space Handler h4. Use The application space environment handler is not a code entry point. Instead, the value specified in R1 to [[OS_ChangeEnvironment]] corresponds to the real size of application space, disregarding any soft limit set via the [[Memory Limit Handler]]. h4. Notes The value in this handler is an absolute address, i.e. &8000 corresponds to 0 bytes of application space. Software *must not* use this environment handler to set the size of application space - setting a value to this handler does not actually cause any memory to be moved, and will cause the size of the dynamic area to become inconsistent with the actual memory map. Instead, [[OS_ChangeDynamicArea]] (for single-tasking programs) or [[Wimp_SlotSize]] (for multi-tasking programs) should be used to resize application space. h4. See also * [[Memory Limit Handler]] * [[OS_ChangeDynamicArea]] * [[Wimp_SlotSize]]