From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alain Subject: Problem with function 68h - Please Help Date: Wed, 12 Jan 2005 21:37:43 -0200 Message-ID: <41E5B4C7.8030407@pobox.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Dosemu I sent this to FreeDOS kernel list but got no answer. It is probabli more related do Dosemu and the redirector: Is there a known problem / fix for int21 function 68h ?? I am getting an error return under Dosemu 1.2.2 + FreeDOS kernel 2035 in a CODEBASE function file4lowFlush() The code is (OpenWatcom 1.3, 386 mode): dosFlush.h.ah = 0x68 ; dosFlush.x.bx = (unsigned int)file->hand ; intdos( &dosFlush, &dosFlush ) ; if ( dosFlush.x.cflag != 0 ) ... From RBIL --------D-2168------------------------------- INT 21 - DOS 3.3+ - "FFLUSH" - COMMIT FILE AH = 68h BX = file handle Return: CF clear if successful all data still in DOS disk buffers is written to disk immediately, and the file's directory entry is updated CF set on error AX = error code (see #01680 at AH=59h/BX=0000h) SeeAlso: AX=5D01h,AH=6Ah,INT 2F/AX=1107h ----------------------------------------- Alain