Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 1999 10:59:56 -0800 (PST)
From:      sakauchi@yamame.to
To:        freebsd-gnats-submit@freebsd.org
Subject:   i386/15531: doscmd DOS function 0a fail when DL is 0
Message-ID:  <19991217185956.1B48A15771@hub.freebsd.org>

index | next in thread | raw e-mail


>Number:         15531
>Category:       i386
>Synopsis:       doscmd DOS function 0a fail when DL is 0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 17 11:10:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Atushi Sakauchi
>Release:        FreeBSD 3.3-Release
>Organization:
>Environment:
FreeBSD 3.3-Release
>Description:
doscmd

DOS function 0a( bufferd keyboard input ) will immediate return
when DL is 0.
>How-To-Repeat:
call function 0a with dx=0x100
>Fix:
--- dos.c.save	Mon Aug 30 00:26:58 1999
+++ dos.c	Sat Dec 18 03:46:51 1999
@@ -568,7 +568,7 @@
     int			n;
     
     /* pointer to buffer */
-    addr = (unsigned char *)N_GETPTR(R_DS, R_DL);
+    addr = (unsigned char *)N_GETPTR(R_DS, R_DX);
 
     /* capacity of buffer */
     avail = addr[0];


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991217185956.1B48A15771>