h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_NVMemoryWrite h2. HAL_NVMemoryWrite h5. (HAL entry #30) <pre> int HAL_NVMemoryWrite(unsigned int addr, void *buffer, unsigned int n) </pre> |_<. Entry | | |addr |Address inside NVRAM to start writing to | |buffer |Buffer to transfer data from | |n |Number of bytes to write | |_<. Exit | | |- |Returns the number of bytes successfully written. | h4. Use This is an internal call for OS use only and should not be used by user software. Write _n_ bytes of memory into address _addr_ onwards from the buffer supplied. Returns the number of bytes successfully written. Under all normal circumstances the return value will be _n_ - if it is not, a hardware failure is implied. Behaviour is undefined if the address range specified is outside the NVMemory. Writes inside the protected region should be ignored. h4. See also * [[HAL NVRAM API]] h6. Information source: Kernel.Docs.HAL.HAL_API in CVS