h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_BaseOfSprites h2. Wimp_BaseOfSprites h5. (SWI &400EA) |_<. Entry | | |- |- | |_<. Exit | | |R0 |Base of ROM Sprite Area | |R1 |Base of RMA Sprite Area | h4. Use The purpose of this call is to find the memory addresses of the ROM and RAM parts of the Wimp’s sprite pool. Note that the RMA area may move around (when sprites are added) and that Window Manager’s with version greater than 3.5 use a dynamic area instead of the RMA. You can use these addresses with [[OS_SpriteOp|OS_SpriteOp]], but you should always use [[Wimp_SpriteOp|Wimp_SpriteOp]]. The only real use for this SWI is for saving the ROM sprites to a file. An example code in BASIC is provided below. <pre> SYS "Wimp_BaseOfSprites" TO ROMBase%,RMABase% SYS "OS_SpriteOp",12,ROMBase%,”filename” </pre> h4. See also * [[Wimp_SpriteOp|Wimp_SpriteOp]] * [[OS_SpriteOp|OS_SpriteOp]]