Linux MS DOS discussions
 help / color / mirror / Atom feed
From: Alain <alainm@pobox.com>
To: Dosemu <linux-msdos@vger.kernel.org>
Subject: Problem with function 68h - Please Help
Date: Wed, 12 Jan 2005 21:37:43 -0200	[thread overview]
Message-ID: <41E5B4C7.8030407@pobox.com> (raw)

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

                 reply	other threads:[~2005-01-12 23:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41E5B4C7.8030407@pobox.com \
    --to=alainm@pobox.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox