From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?q?Rafa=C5=82_Cygnarowski?= Subject: Re: documentation for fs redirector Date: Thu, 15 Nov 2007 17:26:42 +0100 Message-ID: <200711151726.57487.zswi@pers.pl> References: <200711122300.05659.zswi@pers.pl> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1541700.chyGAs8se5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-msdos-owner@vger.kernel.org List-Id: To: linux-msdos@vger.kernel.org --nextPart1541700.chyGAs8se5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi! > int21/ah=3D6c is the one to use for a DOS app. IIRC DJGPP programs use > this one for straight C programs; otherwise you'd have to call it > manually. INT 2F CU - NETWORK REDIRECTOR (DOS 4.0+) - EXTENDED OPEN/CREATE FILE AX =3D 112Eh SS =3D DS =3D DOS DS [cut] BUG: this function is not called correctly under some DOS versions (at least 5.0 and 6.2): the file attribute on the stack is not correct if the action code is 11h, the result code in CX is not passed back to the application. and: INT 21 - DOS 4.0+ - EXTENDED OPEN/CREATE AX =3D 6C00h [cut] BUG: this function has bugs (at least in DOS 5.0 and 6.2) when used with drives handled via the network redirector (INT 2F/AX=3D112Eh): - CX (attribute) is not passed to the redirector if DL=3D11h, - CX does not return the status, it is returned unchanged becau= se DOS does a PUSH CX/POP CX when calling the redirector. I wanted make workaround for this while I use DOS versions affected by this= =20 bug. I found CX value on the stack and changed this value so int21 could po= p=20 it. Unfortunately CX still contains file attribute instead of my replaced=20 result. Why? Is my idea completely wrong or I just missed sth? Maybe I shou= ld=20 use some TSR witch could catch int21 inside DOS and do the thing? - I'm not= =20 an assembler guru and I really don't know what if and what I can do more... Regards, =2D-=20 Rafa=C5=82 Cygnarowski rafi@pers.pl --nextPart1541700.chyGAs8se5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) iD8DBQBHPHNRiTbqoF5x7W4RAiKrAKCL22+kwMhtaaBhIKjAIGMcGZKd/gCfRNEO skbzD5usLb+aNGvU/sSjCxs= =IiXY -----END PGP SIGNATURE----- --nextPart1541700.chyGAs8se5--