This document is an assembly language listing for the CLOCK1 module, a core PDP-10 operating system routine responsible for managing clock interrupts, context switching, and comprehensive job lifecycle. It operates at both high and low interrupt priority levels.
Key functions of the CLOCK1 module include:
CLOCK1 entry point handles initial interrupt requests, system error detection (e.g., memory parity, power failure), and inter-channel communication for job scheduling. It also manages system time (uptime) and various control flags.CLK entry point processes clock queue requests, interacts with the console monitor, and dispatches to the job scheduler. These tasks are deferred if the current job is in a non-stoppable state.RUNCSS): A significant portion of the module is dedicated to routines for starting, stopping, suspending, and resuming jobs (KSTOP, ESTOP, SETRUN, SETSLP). This includes managing job status words, handling resource wait queues, and processing various error conditions during job execution.In essence, CLOCK1 is a central component for orchestrating job execution, managing system resources, and responding to time-based and error-related interrupts within the PDP-10 operating system.
Site structure and layout ©2025 Majenko Technologies