h6. [[Portable]] h6(. » [[Portable SWI Calls|SWI Calls]] h6((. » [[Portable_Speed2]] h6(((. » Portable_Speed2 0 h2. Portable_Speed2 0 h5. (SWI &42FCE) |_<^{width:4em}. Entry | | |<^. R0 |<^. 0 (Reason code) | |_<^{width:4em}. Exit | | |<^. R0 |<^. Current CPU speed, in MHz | h4. Use The purpose of this call is to read the current CPU speed, in MHz. To instead read the CPU speed index, use [[Portable_Speed2 7]]. h4. Notes There is no direct method available to set the CPU speed to a desired value. Instead programs must use [[Portable_Speed2 2]] (or [[Portable_Speed2 8]]) to set the desired 'slow' and 'fast' speeds, and then [[Portable_Speed]] to switch to the desired speed. h4. See also * [[Portable_Speed]] * [[Portable_Speed2]] * [[Portable_Speed2 2]] * [[Portable_Speed2 7]] * [[Portable_Speed2 8]] * [[Portable SWI Calls]]