Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mhuxi.UUCP Path: utzoo!watmath!clyde!floyd!vax135!houxz!houxm!ihnp4!mhuxl!aluxe!mhuxi!crose From: crose@mhuxi.UUCP (rose) Newsgroups: net.micro.pc Subject: Bug in DOS 2.0 INT 25 call Message-ID: <179@mhuxi.UUCP> Date: Thu, 21-Jun-84 11:50:53 EDT Article-I.D.: mhuxi.179 Posted: Thu Jun 21 11:50:53 1984 Date-Received: Fri, 22-Jun-84 07:29:16 EDT Organization: AT&T Bell Laboratories, Murray Hill Lines: 16 I have discovered a bug in the DOS 2.0 INT 25 system call. It may exist on other calls also. It is that the direction bit in the flags register must be set to UP when the INT is executed.If it is not, DOS returns an error and does not perform the operation. The error code returned is "Unknown operation". This bit is freely manipulated by the movmem() subroutine of Lattice C and maybe other routines as well. The symptom in my programs was that after a movmem call, calls to my logical read routine (using INT 25) would fail. Adding a CLD instruction (to set the direction to UP) in the logical read routine solved the problem. I have not tested any of the other DOS interrupts to see if they have the same problem. Carl Rose ...mhuxi!crose