Path: utzoo!utgpu!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!megatek!spot!hollen From: hollen@spot.megatek.uucp (Dion Hollenbeck) Newsgroups: comp.sys.ibm.pc Subject: Re: DOS device driver problem Message-ID: <395@megatek.UUCP> Date: 7 Nov 88 15:56:58 GMT References: <712@inuxh.UUCP> Sender: news@megatek.UUCP Lines: 19 From article <712@inuxh.UUCP>, by blp@inuxh.UUCP (Bruce Paramore): > I am having a problem with a DOS device driver I have written. All it has > to do for my present application is to write a byte to a register on a custom > board. This seems to work fine for all values except 0x1a (^Z). I have > written a small print routine to tell me when I enter my driver, and when > I pass the 0x1a to DOS, my driver is not entered, and a value of 0 is > returned for the bytes written. I am using MS-DOS 3.3. > DOS is looking at ^Z and saying "Oh, he means end of file, don't send this". You might be able to get around this by picking any other control character (or maybe a sequence) and having your device driver translate it into the register as ^Z, otherwise, DOS will continue to eat it for you. Dion Hollenbeck (619) 455-5590 x2814 Megatek Corporation, 9645 Scranton Road, San Diego, CA 92121 seismo!s3sun!megatek!hollen ames!scubed/