h6. [[OS SWI Calls]] h6(. » OS_ReadMemMapInfo h2. OS_ReadMemMapInfo h5. (SWI &51) |_<^{width:4em}. Entry | | |<^. - |<^. - | |_<^{width:4em}. Exit | | |<^. R0 |<^. Page size in bytes | |<^. R1 |<^. Number of pages | h4. Use The purpose of this call is to read the page size used by the memory controller and the number of pages in use. h4. Notes Valid page numbers are 0 to R1-1, and the total memory size is R0*R1. It's recommended to calculate this as a 64 bit value, as modern systems may have over 4GB of RAM.