h6. [[OS SWI Calls]] h6(. » OS_ReadPoint h2. OS_ReadPoint h5. (SWI &32) |_<^{width:4em}. Entry | | |<^. R0 |<^. X co-ordinate | |<^. R1 |<^. Y co-ordinate | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Preserved | |<^. R2 |<^. Colour | |<^. R3 |<^. Tint | |<^. R4 |<^. -1 if point was off screen, else 0 | h4. Use The purpose of this call is to return the colour and tint of a point. h4. Notes If in a 16 or 32 bpp mode, this will return the 15 or 24 bit colour number in R2 and tint will be 0.