From: "Rafał Cygnarowski" <zswi@pers.pl>
To: linux-msdos@vger.kernel.org
Subject: Re: documentation for fs redirector
Date: Thu, 15 Nov 2007 17:26:42 +0100 [thread overview]
Message-ID: <200711151726.57487.zswi@pers.pl> (raw)
In-Reply-To: <c3d607cc0711121451h515d161eg2321bcba833307b6@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]
Hi!
> int21/ah=6c 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.
<quotation>
INT 2F CU - NETWORK REDIRECTOR (DOS 4.0+) - EXTENDED OPEN/CREATE FILE
AX = 112Eh
SS = DS = 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.
</quotation>
and:
<quotation>
INT 21 - DOS 4.0+ - EXTENDED OPEN/CREATE
AX = 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=112Eh):
- CX (attribute) is not passed to the redirector if DL=11h,
- CX does not return the status, it is returned unchanged because
DOS does a PUSH CX/POP CX when calling the redirector.
</quotation>
I wanted make workaround for this while I use DOS versions affected by this
bug. I found CX value on the stack and changed this value so int21 could pop
it. Unfortunately CX still contains file attribute instead of my replaced
result. Why? Is my idea completely wrong or I just missed sth? Maybe I should
use some TSR witch could catch int21 inside DOS and do the thing? - I'm not
an assembler guru and I really don't know what if and what I can do more...
Regards,
--
Rafał Cygnarowski
rafi@pers.pl
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-11-15 16:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 22:00 documentation for fs redirector Rafał Cygnarowski
2007-11-12 22:51 ` Bart Oldeman
2007-11-15 16:26 ` Rafał Cygnarowski [this message]
2007-11-15 17:34 ` Mike McCarty
2007-11-15 18:52 ` Rafał Cygnarowski
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=200711151726.57487.zswi@pers.pl \
--to=zswi@pers.pl \
--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