A data processing system comprising a central processing unit (CPU), a main memory, a first input/output controller (IOC), and a peripheral device, said CPU coupled to said main memory for the bidirectional transfer of data units therebetween, said CPU coupled to said first IOC by means of a common bus for the bidirectional transfer of data units therebetween, said first IOC coupled to said peripheral device, said CPU including backspace operation logic comprising:
- A. first means, included in said CPU, for receiving a backspace interrupt signal from said first IOC via said common bus, said backspace interrupt signal indicating that said first IOC has received a backspace data unit from said peripheral device connected to said first IOC and that said CPU is to effectively remove the last data unit in an input buffer in said main memory associated with said first IOC;
- and
- B. second means, coupled to said first means and included in said CPU, for effectively removing the last data unit in said input buffer in response to said backspace interrupt signal;
- wherein said second means further comprises:
- A. third means for maintaining an input buffer pointer to a next data unit location in said input buffer for storing a next data unit received from said first IOC;
- B. fourth means, coupled to said third means and said first means, for adjusting said third means to point to a data unit location in said input buffer preceding said next data unit location in said input buffer in response to said first means receiving said backspace interrupt signal;
- C. fifth means for maintaining an input buffer range counter of the number of data units remaining to be transferred to said input buffer;
- and
- D. sixth means, coupled to said fifth means and said first means, for adjusting said input buffer range counter of said fifth means to compensate for the effective removal of one data unit from said input buffer;
- whereby the detection of a backspace operation is performed by said first IOC and/or said peripheral device and adjustment of said input buffer is performed by said CPU.