Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site mips.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!harvard!talcott!panda!genrad!decvax!decwrl!glacier!mips!kim From: kim@mips.UUCP (Kim DeVaughn) Newsgroups: net.micro.pc Subject: Re: HELP: need MS-DOS interrupt params. Message-ID: <239@mips.UUCP> Date: Sun, 24-Nov-85 07:38:19 EST Article-I.D.: mips.239 Posted: Sun Nov 24 07:38:19 1985 Date-Received: Wed, 27-Nov-85 05:45:04 EST References: <10300008@uiucuxa> <24700116@uiucdcs> Organization: mips ... where RISC is a way of life Lines: 22 [ ... go ahead, eat my bits ... ] > INT 5H is print screen. Probably not what you want. > INT 17H, AH=0 prints a character (AL) to printer (0-2, DX) > on return, AH=status > INT 17H, AH=1 initializes printer (0-2, DX) > INT 17H, AH=2 reads printer status (printer number in DX) Those rupts are for PC-DOS, *not* MS-DOS (though some machines may ^^ ^^ support them in their own BIOS). What's needed for the MS-DOS function is a call to Int 21h, with AH = 05h, and the character to be printed in DL. There *are* other things in life besides Blue! /kim -- UUCP: {decvax,ucbvax,ihnp4}!decwrl!mips!kim DDD: 415-960-1200 USPS: MIPS Computer Systems Inc, 1330 Charleston Rd, Mt View, CA 94043