gtpm1m49 | TPF V4R1 Migration Guide: 3.1 to 4.1 |
Programming in the TPF 4.1 system requires address space awareness, which is knowing in which address space you are, and what storage you can access. Address space switching should be minimized because the associated performance overhead is substantial.
Use the new MOVEC macro to move data between the ECB virtual memory and system virtual memory address spaces. The MOVEC macro allows an E-type program to read or modify storage that is not part of its own address space. You can move data with the MOVEC macro in any combination of directions between address spaces. In other words, you can move data from ECB virtual memory (EVM) to EVM, from EVM to system virtual memory (SVM), from SVM to SVM, and from SVM to EVM.