Linux MS DOS discussions
 help / color / mirror / Atom feed
* Problem with function 68h - Please Help
@ 2005-01-12 23:37 Alain
  0 siblings, 0 replies; only message in thread
From: Alain @ 2005-01-12 23:37 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-12 23:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-12 23:37 Problem with function 68h - Please Help Alain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox