# 2.1.7 Scheduler

The biggest job of the Scheduler is to coordinate between audio and graphics processing.

## RSP Scheduling

The RSP executes both graphics and audio processes. A graphics process sometimes extends over one frame, but an audio process must be provided in each frame to prevent inappropriate pausing. Therefore, in each frame, if the graphics task is executing, the Scheduler suspends it and saves the task state. Then it starts the audio task executing and prepares the RSP for the restart of the graphics task execution when the audio task finishes. This series of breaks and process restarts is called the yield process.

## Other Scheduler Jobs

Other jobs managed by the Scheduler include:

- Scheduling graphics.
- Sending a message to a client (a thread waiting for the message) by using the timing of a VI retrace.
- Processing messages for hardware events.

Nintendo® Confidential
Copyright © 1999
Nintendo of America Inc. All Rights Reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated March, 1999