On 11/11/2026 03:00, Alexander Schreiber wrote:
> Does not compare. In the PC case, the controller with DMA handles simple
> requests such as "fetch X blocks of data from address Y on block device
> Z". For mainframe channel systems, while they also do this, they can do
> a lot more since they can run dedicated programs send to them as part of
> the request - including processing the data beyond "get me some bytes".
>
> Other folks already mentioned examples like telling the channel controller
> to go grab a specific file from the filesystem on an attached block device.
>
> On a PC, only the actual fetching of disk blocks would be offloaded to
> the controller and the filesystem handling (reading the start of the file-
> system, traversing the file system structures to find the list of blocks
> occupied by the file and its size) would have been done by the CPU.
I never did channel programming at the SIO instruction level, but a colleague who did, told me that once mounted, you could copy one tape to another with a single SIO instruction, including backspace-retry on read and write errors.
My direct experience with channel programming relates to programming a Z80 on a UNIBUS card to simulate reads and writes on a selector channel in order for a VAX to drive a line printer (really a Xerox 9700 laser printer - Paul Kyzivat of DEC write the VMS symbiont for it).
--
Lars Poulsen - an old geek in Santa Barbara, California