h6. [[BufferManager]] h6(. » [[BufferManager SWI Calls|SWI Calls]] h6((. » Buffer_Create h2. Buffer_Create h5. (SWI &42940) |_<^{width:3em}. Entry | | |<^. R0 |<^. Buffer's [[Buffer Flags Word|flags]] | |<^. R1 |<^. Size of buffer to be created | |<^. R2 |<^. Preferred handle for the buffer, or -1 to get the Buffer Manager to generate one | |_<^{width:3em}. Exit || |<. R0|<^. Buffer handle | h4. Use This call claims an area of the RMA and registers it as a buffer. It can hold R1 - 1 bytes at most. If R2 <> - 1, the given number is checked for uniqueness, if it already exists, a new one is generated. h4. Notes Note that you do not need any complicated calculations to write data into the buffer - it's a simply a block of memory. Get the address with [[Buffer_GetInfo]] and write to the buffer. h4. See also * [[Buffer_GetInfo]] * [[Buffer Flags Word]]