This document is an assembly language listing for "DTCSRN," a New Format Dectape Service sub-program for the PDP-6 computer, developed by Digital Equipment Corporation in June 1969.
The program provides a comprehensive set of functionalities for managing data on Dectapes, including:
- File and Directory Management: It handles operations such as looking up, creating, renaming, and deleting directory entries; allocating and deallocating tape blocks; and managing file metadata like block numbers, sizes, and extensions.
- Low-Level I/O: It performs single-block read/write operations, supporting both standard system-controlled I/O and direct I/O to user memory, potentially bypassing higher-level system checks. It also includes extensive buffer management routines.
- System Integration: Designed as a sub-program, it interfaces with various external system components, including a loader (for selective loading), system parameter files, and interrupt handling routines.
- Operational Modes: The service supports specific operational contexts like "dump mode" (likely for system memory dumps or direct data transfer) and "save mode" (for saving user data).
- Error Handling: It incorporates checks for a wide range of conditions, including invalid addresses, missing directory entries, tape full errors, block validity, and other I/O-related issues.
- Configuration: The code includes conditional assembly parameters, suggesting its adaptability to different system configurations.
In essence, DTCSRN is a core utility for the PDP-6 operating system, enabling detailed and flexible control over Dectape storage with a focus on efficient file system and I/O operations.