h6. [[OS SWI Calls]] h6(. » [[OS_Byte]] h6((. » OS_Byte 16 h2. OS_Byte 16 h5. (SWI &06) |_<^{width:4em}. Entry | | |<^. R0|<^. 16 (&10) | |<^. R1|<^. Number of channels to be sampled (0 - 4)| |_<^{width:4em}. Exit|_<^. | |<^. R0|<^. Preserved | h4. Use The purpose of this call is to store the number of channels to be sampled by the ADC on the user port / I/O Podule. h4. Notes If the value passed is greater than 4, it is stored as 4. This stored value can be read using [[OS_Byte 189]]. (On the I/O Podule this call also set the number of channels to be sampled; but this is not possible on the joystick interface’s hardware.) h4. See also * [[Joystick]] * [[OS_Byte]] * [[OS_Byte 189]]