h6. [[OS SWI Calls]] h6(. » OS_ChangeDynamicArea h2. OS_ChangeDynamicArea h5. (SWI &2A) |_<^{width:3em}. Entry | | |<^. R0 |<^. [[Dynamic Area Numbers|Area]] to alter | |<^. R1|<^. Amount to move in bytes (signed integer) | |_<^{width:3em}. Exit | | |<^. R0|<^. Preserved| |<^. R1|<^. Amount the area has changed in bytes (unsigned) | h4. Use The purpose of this call is change the size of a dynamic area. h4. Notes Let you enlarge (R1 positive) or shrink (R1 negative) the selected area. If you need to release as much space as possible from an area, try to reduce its size by 16 MBytes. Note, that normally this cannot be used while the application work area is being used; main purpose is for the OS, modules and utilities. This SWI issues [[OS_UpCall 257]] (moving memory); if the upcall is claimed when an application is running in the application workspace then the memory movement is allowed. h4. See also * [[Dynamic Area Numbers]] * [[OS_ReadDynamicArea]] * [[OS_UpCall 257]]