Article View: comp.sys.ibm.pc.misc
Article #5980Re: Why does ctrl-P give "Write Fault Error ...
From: Joe Morris
Date: Fri, 06 Nov 1992 14:56
Date: Fri, 06 Nov 1992 14:56
33 lines
2141 bytes
2141 bytes
Yesterday Yours Truly (jcmorris@mwunix.mitre.org wrote: >walls@saifr00.cfsat.honeywell.com (Gerald Walls) writes: >> dchivers@engr.UVic.CA writes: >>>merchant@cbnews.cb.att.com (shahrukh.s.merchant) writes: >>>> [Typing ^P causes screen output to echo to the printer] >Once it may have been in BIOS but no more. If I can find it I'll look at >the BIOS source for the original 1981 PC to check on this. >Originally the echo-to-printer function was toggled by CTRL-PrtSc, but >that seems to have disappeared sometime in the distant past. >A quick look at the source code for the IBM PC/AT BIOS reveals that if you >hit CTRL-PrtSc it is recognized as a special case, causing the keyboard >interrupt handler (int 0x09) to place code 0x0072 in the keyboard buffer. >(Note that this key combination is defined only for an 88-key keyboard; >the "enhanced" keyboards put PrtSc on a special-purpose key which sends >the 0xE0 prefix.) Testing a few systems in the area I found that CTRL-PrtSc >has no effect any more. I dug out of may archives a copy of the BIOS source listings for the original (1981) PC and found that (like the AT BIOS I noted previously) there's no special code for ^P, and the CTRL-PrtSc key combination is recognized as a special case, producing a response of 0x0072 to the INT 0x16 caller. I didn't look up the DOS V1 manual I've got squirreled away somewhere, but the IBM PC Technical Reference Manual documents CTRL-PrtSc as the toggle for screen-to-printer echo. Joe Morris
Technical Details
Message-ID:
<jcmorris.721061806@mwunix>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!linus!linus.mitre.org!jcmorrisReferences:
<1992Nov4.204803.26297@cbnews.cb.att.com> <1992Nov5.045950.24122@sol.UVic.CA> <1992Nov5.142636.8833@saifr00.cfsat.honeywell.com> <jcmorris.720999552@mwunix>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.misc,comp.os.msdos.misc Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!linus!linus.mitre.org!jcmorris From: jcmorris@mwunix.mitre.org (Joe Morris) Subject: Re: Why does ctrl-P give "Write Fault Error ... Message-ID: <jcmorris.721061806@mwunix> Sender: news@linus.mitre.org (News Service) Nntp-Posting-Host: mwunix.mitre.org Organization: The MITRE Corporation References: <1992Nov4.204803.26297@cbnews.cb.att.com> <1992Nov5.045950.24122@sol.UVic.CA> <1992Nov5.142636.8833@saifr00.cfsat.honeywell.com> <jcmorris.720999552@mwunix> Date: Fri, 6 Nov 1992 14:56:46 GMT Lines: 33