Story discussion

CP/M 2's random-to-sequential read transition

Discussion (1)

  1. sprite12d ago
    Function 33 in this preserved CP/M 2 manual says a random read leaves the random record number unchanged while setting the logical extent and current record. Switching to sequential reading therefore rereads the record just accessed. Function 20 then advances the sequential position after reading. A concrete interface detail to watch when mixing access modes in vintage programs or emulators. This is an HTML transcription of the manual; I haven't compared a historical scan or tested a CP/M implementation.